All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FlashHypothesisCreator.h
Go to the documentation of this file.
1 #ifndef FLASHHYPOTHESISCREATOR_H
2 #define FLASHHYPOTHESISCREATOR_H
3 
4 /*!
5  * Title: FlashHypothesis Creator Class
6  * Author: Wes Ketchum (wketchum@lanl.gov)
7  *
8  * Description: class that produces a flash hypothesis for a trajectory.
9  * Input: Trajectory (std::vector<TVector3> objects)
10  * Output: FlashHypotheses
11 */
12 
13 #include <vector>
14 
15 namespace detinfo { class LArProperties; }
16 namespace recob { class Track; }
17 namespace sim { class MCTrack; }
18 namespace geo { class GeometryCore; }
19 namespace opdet { class OpDigiProperties; }
20 namespace phot { class PhotonVisibilityService; }
21 
23 
24 #include "TVector3.h"
25 
26 #include "FlashHypothesis.h"
28 
29 namespace opdet{
30 
32 
33  public:
34 
35  /// Set of service providers used in the common(est) interface
37 
39 
41  std::vector<float> const& dEdxVector,
42  Providers_t providers,
44  opdet::OpDigiProperties const& opdigip,
45  float XOffset=0);
46 
48  std::vector<float> const& dEdxVector,
49  Providers_t providers,
51  opdet::OpDigiProperties const& opdigip,
52  float XOffset=0);
53 
54  FlashHypothesisCollection GetFlashHypothesisCollection(std::vector<TVector3> const& trajVector,
55  std::vector<float> const& dEdxVector,
56  Providers_t providers,
58  opdet::OpDigiProperties const& opdigip,
59  float XOffset=0);
60 
61  FlashHypothesisCollection GetFlashHypothesisCollection(TVector3 const& pt1, TVector3 const& pt2,
62  float const& dEdx,
63  Providers_t providers,
65  opdet::OpDigiProperties const& opdigip,
66  float XOffset=0);
67 
68  private:
69  FlashHypothesisCollection CreateFlashHypothesesFromSegment(TVector3 const& pt1, TVector3 const& pt2,
70  float const& dEdx,
71  Providers_t providers,
73  opdet::OpDigiProperties const& opdigip,
74  float XOffset);
75 
77 
78  };
79 
80 }
81 
82 #endif
Class def header for a class FlashHypothesis.
FlashHypothesisCollection GetFlashHypothesisCollection(recob::Track const &track, std::vector< float > const &dEdxVector, Providers_t providers, phot::PhotonVisibilityService const &pvs, opdet::OpDigiProperties const &opdigip, float XOffset=0)
FlashHypothesisCalculator _calc
process_name use argoneut_mc_hitfinder track
Definition: Data.h:7
float dEdx(detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, TP3D &tp3d)
Definition: PFPUtils.cxx:2687
Container for a list of pointers to providers.
Definition: ProviderPack.h:114
lar::ProviderPack< geo::GeometryCore, detinfo::LArProperties > Providers_t
Set of service providers used in the common(est) interface.
Data structure containing constant pointers to classes.
FlashHypothesisCollection CreateFlashHypothesesFromSegment(TVector3 const &pt1, TVector3 const &pt2, float const &dEdx, Providers_t providers, phot::PhotonVisibilityService const &pvs, opdet::OpDigiProperties const &opdigip, float XOffset)
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a &quot;fitted&quot; track: