FlashHypothesisCalculator.h
Go to the documentation of this file.
1 #ifndef FLASHHYPOTHESISCALCULATOR_H
2 #define FLASHHYPOTHESISCALCULATOR_H
3 
4 /*!
5  * Title: FlashHypothesis Calculator Class
6  * Author: Wes Ketchum (wketchum@lanl.gov)
7  *
8  * Description: Simple class for calculating flash hypotheses
9 */
10 
11 #include<vector>
12 
13 #include "larsim/PhotonPropagation/PhotonVisibilityTypes.h" // phot::MappedCounts_t
14 
15 #include "TVector3.h"
16 
17 namespace opdet{
18 
19  class FlashHypothesis;
20 
22 
23  public:
24 
26 
27  std::vector<double> SegmentMidpoint(const TVector3 &pt1, const TVector3 &pt2, float XOffset=0);
28  void FillFlashHypothesis(const float& yield,
29  const float& dEdx,
30  const TVector3& pt1,
31  const TVector3& pt2,
32  const std::vector<float>& qe_vector,
33  phot::MappedCounts_t const& vis_vector,
34  FlashHypothesis& hyp);
35 
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)
double dEdx(float dqdx, float Efield)
Definition: doAna.cpp:21
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)