LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
FlashHypothesisCreator.h
Go to the documentation of this file.
1 #ifndef FLASHHYPOTHESISCREATOR_H
2 #define FLASHHYPOTHESISCREATOR_H
3 
13 #include <vector>
14 
15 namespace detinfo {
16  class LArProperties;
17 }
18 namespace recob {
19  class Track;
20 }
21 namespace sim {
22  class MCTrack;
23 }
24 namespace geo {
25  class GeometryCore;
26 }
27 namespace opdet {
28  class OpDigiProperties;
29 }
30 namespace phot {
31  class PhotonVisibilityService;
32 }
33 
35 
36 #include "TVector3.h"
37 
38 #include "FlashHypothesis.h"
40 
41 namespace opdet {
42 
44 
45  public:
48 
50 
51  FlashHypothesisCollection GetFlashHypothesisCollection(recob::Track const& track,
52  std::vector<float> const& dEdxVector,
53  Providers_t providers,
55  opdet::OpDigiProperties const& opdigip,
56  float XOffset = 0);
57 
58  FlashHypothesisCollection GetFlashHypothesisCollection(sim::MCTrack const& mctrack,
59  std::vector<float> const& dEdxVector,
60  Providers_t providers,
62  opdet::OpDigiProperties const& opdigip,
63  float XOffset = 0);
64 
65  FlashHypothesisCollection GetFlashHypothesisCollection(std::vector<TVector3> const& trajVector,
66  std::vector<float> const& dEdxVector,
67  Providers_t providers,
69  opdet::OpDigiProperties const& opdigip,
70  float XOffset = 0);
71 
72  FlashHypothesisCollection GetFlashHypothesisCollection(TVector3 const& pt1,
73  TVector3 const& pt2,
74  float const& dEdx,
75  Providers_t providers,
77  opdet::OpDigiProperties const& opdigip,
78  float XOffset = 0);
79 
80  private:
81  FlashHypothesisCollection CreateFlashHypothesesFromSegment(
82  TVector3 const& pt1,
83  TVector3 const& pt2,
84  float const& dEdx,
85  Providers_t providers,
87  opdet::OpDigiProperties const& opdigip,
88  float XOffset);
89 
91  };
92 
93 }
94 
95 #endif
Reconstruction base classes.
FlashHypothesisCalculator _calc
TText * pt2
Definition: plot.C:64
General LArSoft Utilities.
Monte Carlo Simulation.
float dEdx(detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, TP3D &tp3d)
Definition: PFPUtils.cxx:2675
General LArSoft Utilities.
Container for a list of pointers to providers.
Definition: ProviderPack.h:111
Data structure containing constant pointers to classes.
TText * pt1
Definition: plot.C:61
Namespace collecting geometry-related classes utilities.
Float_t track
Definition: plot.C:35
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track:
Definition: Track.h:49