All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GraphClusterAlg.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // GraphClusterAlg.h
3 //
4 // GraphClusterAlg class
5 //
6 // Andrzej Szelc (andrzej.szelc@yale.edu)
7 //
8 ////////////////////////////////////////////////////////////////////////
9 #ifndef GRAPHCLUSTERALG_H
10 #define GRAPHCLUSTERALG_H
11 
12 #include <vector>
13 
14 namespace art { class Event; }
15 #include "canvas/Persistency/Common/PtrVector.h"
16 
17 namespace fhicl { class ParameterSet; }
18 
19 namespace util {
20  class PxLine;
21 }
22 
23 namespace recob {
24  class Hit;
25 }
26 
27 namespace evd {
28 
30 
31  public:
32 
33  GraphClusterAlg(fhicl::ParameterSet const& pset);
34 
35  void reconfigure(fhicl::ParameterSet const& pset);
36 
37 // void GetStartEndHits(unsigned int plane, recob::Hit * starthit,recob::Hit * endhit);
38 // void GetStartEndHits(unsigned int plane);
39  void GetStartEndHits(unsigned int plane,util::PxLine &startendpoints);
40 
41 
42 
43  //void GetHitList(unsigned int plane,std::vector< art::Ptr <recob::Hit> > ptrhitlist);
44  void GetHitList(unsigned int plane, art::PtrVector <recob::Hit> &ptrhitlist);
45 
46  void GetHitListAndEndPoints(unsigned int plane, art::PtrVector <recob::Hit> &ptrhitlist,util::PxLine &startendpoints);
47 
48  int CheckValidity(art::Event& evt);
49 
50  private:
51  std::vector < util::PxLine > GetSeedLines();
52 
53 
54 
55  unsigned int fNPlanes;
56 
57  int TestFlag;
58  int fRun;
59  int fSubRun;
60  int fEvent;
61 
62 
63 
64  /*
65  std::vector< recob::Hit * > starthit;
66  std::vector< recob::Hit * > endhit;
67  */
68 // std::vector < std::vector< recob::Hit * > > hitlist;
69 
70 // std::vector < util::PxLine > plines;
71 //
72 // std::vector <unsigned int> swire;
73 // std::vector <unsigned int> ewire;
74 // std::vector <double> stime;
75 // std::vector <double> etime;
76 //
77 
78 
79 
80  }; //class GraphClusterAlg
81 
82 } //namespace evd
83 
84 
85 
86 
87 
88 #endif
GraphClusterAlg(fhicl::ParameterSet const &pset)
std::vector< util::PxLine > GetSeedLines()
int CheckValidity(art::Event &evt)
void GetHitListAndEndPoints(unsigned int plane, art::PtrVector< recob::Hit > &ptrhitlist, util::PxLine &startendpoints)
void GetStartEndHits(unsigned int plane, util::PxLine &startendpoints)
void GetHitList(unsigned int plane, art::PtrVector< recob::Hit > &ptrhitlist)
TCEvent evt
Definition: DataStructs.cxx:8
void reconfigure(fhicl::ParameterSet const &pset)