LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
GraphClusterAlg.h
Go to the documentation of this file.
1 // GraphClusterAlg.h
3 //
4 // GraphClusterAlg class
5 //
6 // Andrzej Szelc (andrzej.szelc@yale.edu)
7 //
9 #ifndef GRAPHCLUSTERALG_H
10 #define GRAPHCLUSTERALG_H
11 
12 #include <vector>
13 
14 namespace art {
15  class Event;
16 }
18 
19 namespace fhicl {
20  class ParameterSet;
21 }
22 
23 namespace util {
24  class PxLine;
25 }
26 
27 namespace recob {
28  class Hit;
29 }
30 
31 namespace evd {
32 
34 
35  public:
37 
38  void reconfigure(fhicl::ParameterSet const& pset);
39 
40  // void GetStartEndHits(unsigned int plane, recob::Hit * starthit,recob::Hit * endhit);
41  // void GetStartEndHits(unsigned int plane);
42  void GetStartEndHits(unsigned int plane, util::PxLine& startendpoints);
43 
44  //void GetHitList(unsigned int plane,std::vector< art::Ptr <recob::Hit> > ptrhitlist);
45  void GetHitList(unsigned int plane, art::PtrVector<recob::Hit>& ptrhitlist);
46 
47  void GetHitListAndEndPoints(unsigned int plane,
48  art::PtrVector<recob::Hit>& ptrhitlist,
49  util::PxLine& startendpoints);
50 
51  int CheckValidity(art::Event& evt);
52 
53  private:
54  std::vector<util::PxLine> GetSeedLines();
55 
56  unsigned int fNPlanes;
57 
58  int TestFlag;
59  int fRun;
60  int fSubRun;
61  int fEvent;
62 
63  /*
64  std::vector< recob::Hit * > starthit;
65  std::vector< recob::Hit * > endhit;
66  */
67  // std::vector < std::vector< recob::Hit * > > hitlist;
68 
69  // std::vector < util::PxLine > plines;
70  //
71  // std::vector <unsigned int> swire;
72  // std::vector <unsigned int> ewire;
73  // std::vector <double> stime;
74  // std::vector <double> etime;
75  //
76 
77  }; //class GraphClusterAlg
78 
79 } //namespace evd
80 
81 #endif
Namespace for general, non-LArSoft-specific utilities.
Definition: PIDAAlg.h:26
Reconstruction base classes.
LArSoft includes.
parameter set interface
Definition: MVAAlg.h:12
TCEvent evt
Definition: DataStructs.cxx:8