Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaVDCAnalyticTTDConv.h
Go to the documentation of this file.
1#ifndef Podd_VDC_AnalyticTTDConv_h_
2#define Podd_VDC_AnalyticTTDConv_h_
3
5// //
6// THaVDCAnalyticTTDConv //
7// //
8// Uses a drift velocity (um/ns) to convert time (ns) into distance (cm) //
9// //
11
13
14namespace VDC {
15
17
18 public:
20 virtual ~AnalyticTTDConv() = default;
21
23 Double_t* ddist=0 ) const;
24 virtual Double_t GetParameter( UInt_t i ) const;
25 virtual Int_t SetParameters( const std::vector<double>& param );
26
27protected:
28
29 // Coefficients for a polynomial yielding correction parameters
32
33 Double_t fdtime; // uncertainty in the measured time
34
35 ClassDef(AnalyticTTDConv,0) // VDC Analytic TTD Conv class
36 };
37}
38
40
41#endif
int Int_t
unsigned int UInt_t
uint32_t time
double Double_t
#define ClassDef(name, id)
virtual Double_t ConvertTimeToDist(Double_t time, Double_t tanTheta, Double_t *ddist=0) const
virtual Double_t GetParameter(UInt_t i) const
virtual Int_t SetParameters(const std::vector< double > &param)
virtual ~AnalyticTTDConv()=default