LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
FlashHypothesisCalculator.h
Go to the documentation of this file.
1 #ifndef FLASHHYPOTHESISCALCULATOR_H
2 #define FLASHHYPOTHESISCALCULATOR_H
3 
11 #include <vector>
12 
13 #include "larsim/PhotonPropagation/PhotonVisibilityTypes.h" // phot::MappedCounts_t
14 
15 class TVector3;
16 
17 namespace opdet {
18 
19  class FlashHypothesis;
20 
22 
23  public:
25 
26  std::vector<double> SegmentMidpoint(const TVector3& pt1,
27  const TVector3& pt2,
28  float XOffset = 0);
29  void FillFlashHypothesis(const float& yield,
30  const float& dEdx,
31  const TVector3& pt1,
32  const TVector3& pt2,
33  const std::vector<float>& qe_vector,
34  phot::MappedCounts_t const& vis_vector,
35  FlashHypothesis& hyp);
36  };
37 
38 }
39 
40 #endif
void FillFlashHypothesis(const float &yield, const float &dEdx, const TVector3 &pt1, const TVector3 &pt2, const std::vector< float > &qe_vector, phot::MappedCounts_t const &vis_vector, FlashHypothesis &hyp)
TText * pt2
Definition: plot.C:64
float dEdx(detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, TP3D &tp3d)
Definition: PFPUtils.cxx:2675
A container for photon visibility mapping data.
Declaration of types related to photon visibility.
std::vector< double > SegmentMidpoint(const TVector3 &pt1, const TVector3 &pt2, float XOffset=0)
TText * pt1
Definition: plot.C:61