LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
HitSelector.h
Go to the documentation of this file.
1 
5 #ifndef EVD_HITSELECTOR_H
6 #define EVD_HITSELECTOR_H
7 
8 #include <vector>
9 
11 
13 
14 namespace recob {
15  class Hit;
16 }
17 
18 namespace util {
19  class PxLine;
20 }
21 
23 namespace evd {
24 
25  class HitSelector {
26  public:
27  HitSelector();
28 
29  void SaveHits(const art::Event& evt,
30  unsigned int plane,
31  double x,
32  double y,
33  double x1,
34  double y1,
35  double distance,
36  bool good_plane = true);
37 
38  double SaveSeedLines(const art::Event& evt,
39  std::vector<util::PxLine> seedline,
40  double distance);
41 
42  void ChangeHit(const art::Event& evt, unsigned int plane, double x, double y);
43 
44  std::vector<const recob::Hit*> GetSelectedHits(unsigned int plane);
45  std::vector<art::Ptr<recob::Hit>> GetSelectedHitPtrs(unsigned int plane);
46 
47  void ClearHitList(unsigned int plane);
48 
49  std::vector<recob::Seed>& SeedVector();
50 
51  private:
52  std::vector<recob::Seed> fSeedVector;
53 
54  std::vector<std::vector<double>> starthitout;
55  std::vector<std::vector<double>> endhitout;
56  };
57 }
58 
59 #endif
60 
Float_t x
Definition: compare.C:6
Namespace for general, non-LArSoft-specific utilities.
Definition: PIDAAlg.h:26
Reconstruction base classes.
Float_t y1[n_points_granero]
Definition: compare.C:5
Float_t x1[n_points_granero]
Definition: compare.C:5
Float_t y
Definition: compare.C:6
std::vector< std::vector< double > > starthitout
Definition: HitSelector.h:54
std::vector< art::Ptr< recob::Seed > > SeedVector
LArSoft includes.
std::vector< recob::Seed > fSeedVector
Definition: HitSelector.h:52
TCEvent evt
Definition: DataStructs.cxx:8
std::vector< std::vector< double > > endhitout
Definition: HitSelector.h:55