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 
17 #include "fhiclcpp/fwd.h"
18 
19 namespace util {
20  class PxLine;
21  class PxPoint;
22 }
23 
24 namespace recob {
25  class Hit;
26  class Cluster;
27 }
28 
29 namespace evd {
30 
32 
33  public:
34 
36 
37  void reconfigure(fhicl::ParameterSet const& pset);
38 
39 // void GetStartEndHits(unsigned int plane, recob::Hit * starthit,recob::Hit * endhit);
40 // void GetStartEndHits(unsigned int plane);
41  void GetStartEndHits(unsigned int plane,util::PxLine &startendpoints);
42 
43 
44 
45  //void GetHitList(unsigned int plane,std::vector< art::Ptr <recob::Hit> > ptrhitlist);
46  void GetHitList(unsigned int plane, art::PtrVector <recob::Hit> &ptrhitlist);
47 
48  void GetHitListAndEndPoints(unsigned int plane, art::PtrVector <recob::Hit> &ptrhitlist,util::PxLine &startendpoints);
49 
50  int CheckValidity(art::Event& evt);
51 
52  private:
53  std::vector < util::PxLine > GetSeedLines();
54 
55 
56 
57  unsigned int fNPlanes;
58 
59  int TestFlag;
60  int fRun;
61  int fSubRun;
62  int fEvent;
63 
64 
65 
66  /*
67  std::vector< recob::Hit * > starthit;
68  std::vector< recob::Hit * > endhit;
69  */
70 // std::vector < std::vector< recob::Hit * > > hitlist;
71 
72 // std::vector < util::PxLine > plines;
73 //
74 // std::vector <unsigned int> swire;
75 // std::vector <unsigned int> ewire;
76 // std::vector <double> stime;
77 // std::vector <double> etime;
78 //
79 
80 
81 
82  }; //class GraphClusterAlg
83 
84 } //namespace evd
85 
86 
87 
88 
89 
90 #endif
Namespace for general, non-LArSoft-specific utilities.
Reconstruction base classes.
LArSoft includes.
Definition: InfoTransfer.h:33
virtual void reconfigure(fhicl::ParameterSet const &pset)
TCEvent evt
Definition: DataStructs.cxx:7