LArSoft  v10_04_05
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 
16 #include "fhiclcpp/fwd.h"
17 
18 namespace util {
19  class PxLine;
20 }
21 
22 namespace recob {
23  class Hit;
24 }
25 
26 namespace evd {
27 
29  public:
31 
32  void GetStartEndHits(unsigned int plane, util::PxLine& startendpoints);
33 
34  //void GetHitList(unsigned int plane,std::vector< art::Ptr <recob::Hit> > ptrhitlist);
35  void GetHitList(unsigned int plane, art::PtrVector<recob::Hit>& ptrhitlist);
36 
37  void GetHitListAndEndPoints(unsigned int plane,
38  art::PtrVector<recob::Hit>& ptrhitlist,
39  util::PxLine& startendpoints);
40 
41  int CheckValidity(art::Event& evt);
42 
43  private:
44  std::vector<util::PxLine> GetSeedLines();
45 
46  unsigned int fNPlanes;
47 
48  int TestFlag;
49  int fRun;
50  int fSubRun;
51  int fEvent;
52  }; //class GraphClusterAlg
53 
54 } //namespace evd
55 
56 #endif
Namespace for general, non-LArSoft-specific utilities.
Definition: PIDAAlg.h:26
Reconstruction base classes.
LArSoft includes.
TCEvent evt
Definition: DataStructs.cxx:8