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 
17 
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
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
Data structure containing constant pointers to classes.
double dEdx(float dqdx, float Efield)
Definition: doAna.cpp:21
Class def header for mctrack data container.
Container for a list of pointers to providers.
Definition: ProviderPack.h:114
Provides recob::Track data product.
Access the description of detector geometry.
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 "fitted" track:
Definition: Track.h:49