All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DriftEstimatorBase.hh
Go to the documentation of this file.
1 ///////////////////////////////////////////////////////////////////////
2 /// File: DriftEstimatorBase.hh
3 ///
4 /// Interface class for drift coordinate estimation from
5 /// reco objects
6 ///
7 /// Created by Fran Nicolas, June 2022
8 ////////////////////////////////////////////////////////////////////////
9 
10 #ifndef SBND_DRIFTESTIMATORBASE_H
11 #define SBND_DRIFTESTIMATORBASE_H
12 
13 namespace lightana
14 {
16 
17  public:
18  // Default destructor
19  virtual ~DriftEstimatorBase() noexcept = default;
20 
21  // Method giving the estimated drift coordinate
22  virtual double GetDriftPosition(std::vector<double> PE_v) = 0;
23 
24  // Method giving the photon propagation
25  virtual double GetPropagationTime(double drift) = 0;
26 
27 
28  };
29 }
30 
31 #endif
virtual double GetDriftPosition(std::vector< double > PE_v)=0
virtual double GetPropagationTime(double drift)=0
virtual ~DriftEstimatorBase() noexcept=default