LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 
17 
18 #ifdef __ROOTCLING__
19 namespace art {
20  class Event;
21 }
22 
23 namespace fhicl {
24  class ParameterSet;
25 }
26 
27 namespace recob {
28  class Hit;
29 }
30 
31 
32 #else
35 #include "fhiclcpp/ParameterSet.h"
36 #endif
37 
38 
39 namespace util {
40  class PxLine;
41  class PxPoint;
42 }
43 
44 namespace geo {
45  class Geometry;
46 }
47 
48 
49 namespace recob {
50  class Hit;
51  class Cluster;
52 }
53 
54 namespace evd {
55 
56  class InfoTransfer;
57 
58 
60 
61  public:
62 
64 
65  void reconfigure(fhicl::ParameterSet const& pset);
66 
67 // void GetStartEndHits(unsigned int plane, recob::Hit * starthit,recob::Hit * endhit);
68 // void GetStartEndHits(unsigned int plane);
69  void GetStartEndHits(unsigned int plane,util::PxLine &startendpoints);
70 
71 
72 
73  //void GetHitList(unsigned int plane,std::vector< art::Ptr <recob::Hit> > ptrhitlist);
74  void GetHitList(unsigned int plane, art::PtrVector <recob::Hit> &ptrhitlist);
75 
76  void GetHitListAndEndPoints(unsigned int plane, art::PtrVector <recob::Hit> &ptrhitlist,util::PxLine &startendpoints);
77 
78  int CheckValidity(art::Event& evt);
79 
80  private:
81  std::vector < util::PxLine > GetSeedLines();
82 
83 
84 
85  unsigned int fNPlanes;
86 
87  int TestFlag;
88  int fRun;
89  int fSubRun;
90  int fEvent;
91 
92 
93 
94  /*
95  std::vector< recob::Hit * > starthit;
96  std::vector< recob::Hit * > endhit;
97  */
98 // std::vector < std::vector< recob::Hit * > > hitlist;
99 
100 // std::vector < util::PxLine > plines;
101 //
102 // std::vector <unsigned int> swire;
103 // std::vector <unsigned int> ewire;
104 // std::vector <double> stime;
105 // std::vector <double> etime;
106 //
107 
108 
109 
110  }; //class GraphClusterAlg
111 
112 } //namespace evd
113 
114 
115 
116 
117 
118 #endif
Namespace for general, non-LArSoft-specific utilities.
Definition: PIDAAlg.h:17
Reconstruction base classes.
LArSoft includes.
parameter set interface
HLT enums.
Namespace collecting geometry-related classes utilities.
art framework interface to geometry description