LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 
12 
13 #ifdef __ROOTCLING__
14 namespace art {
15  class Event;
16 }
17 namespace trkf
18 {
19  class HitPtrVec;
20 }
21 #else
23 #endif
24 
26 
27 class TH1F;
28 namespace evdb {
29  class View2D;
30  class View3D;
31 }
32 
33 namespace recob {
34  class Hit;
35  class Cluster;
36  class Seed;
37 }
38 
39  namespace util {
40  class PxPoint;
41  class PxLine;
42  }
43 
45 namespace evd {
46 
47  class HitSelector {
48  public:
49  HitSelector();
50  ~HitSelector();
51 
52  void SaveHits(const art::Event& evt,
53  evdb::View2D* view,
54  unsigned int plane,
55  double x, double y,
56  double x1, double y1,
57  double distance,
58  bool good_plane=true
59  );
60 
61  double SaveSeedLines(const art::Event& evt,
62  evdb::View2D* view,
63  std::vector < util::PxLine > seedline,
64  double distance
65  );
66 
67 
68  void ChangeHit(const art::Event& evt,
69  evdb::View2D* view,
70  unsigned int plane,
71  double x, double y
72  );
73 
74  std::vector< const recob::Hit*> GetSelectedHits(unsigned int plane);
75  trkf::HitPtrVec GetSelectedHitPtrs(unsigned int plane);
76 
77  void ClearHitList(unsigned int plane);
78 
79  std::vector<recob::Seed>& SeedVector();
80 
81  private:
82  //int test;
83  std::vector<recob::Seed> fSeedVector;
84 
85  std::vector < std::vector <double > > starthitout;
86  std::vector < std::vector <double > > endhitout;
87 
88  };
89 }
90 
91 #endif
92 
Float_t x
Definition: compare.C:6
Namespace for general, non-LArSoft-specific utilities.
Definition: PIDAAlg.h:17
std::vector< art::Ptr< recob::Seed > > SeedVector
Reconstruction base classes.
Define OrthoProj_t enum for selecting orthographic view.
Float_t y1[n_points_granero]
Definition: compare.C:5
std::vector< std::vector< double > > endhitout
Definition: HitSelector.h:86
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:85
Manage all things related to colors for the event display.
LArSoft includes.
std::vector< recob::Seed > fSeedVector
Definition: HitSelector.h:83
HLT enums.
TCEvent evt
Definition: DataStructs.cxx:5