PandaRoot
BSEmcFittedPulseshape.h
Go to the documentation of this file.
1 //-----------------------------------------------------------
2 // Description:
3 // Experimentally derived Pulseshape of the form:
4 // f(x) = A * (t')^ N * exp(-N t')
5 //-----------------------------------------------------------
6 //#pragma once
7 #ifndef BSEMCFITTEDPULSESHAPE_HH
8 #define BSEMCFITTEDPULSESHAPE_HH
9 
10 #include "Rtypes.h"
11 #include "RtypesCore.h"
12 
13 #include "BSEmcAbsPulseshape.h"
14 
15 class TBuffer;
16 class TClass;
17 class TMemberInspector;
18 
27 
28  public:
30  BSEmcFittedPulseshape(Double_t t_tau, Double_t t_n);
32 
33  virtual Double_t operator()(const Double_t t_t, const Double_t t_amp, const Double_t t_toffset) const /*override*/;
34 
35  private:
36  Double_t fTau{0};
37  Double_t fN{0};
38 
39  ClassDef(BSEmcFittedPulseshape, 1)
40 };
41 
42 #endif /*BSEMCFITTEDPULSESHAPE_HH*/
virtual Double_t operator()(const Double_t t_t, const Double_t t_amp, const Double_t t_toffset) const
pulseshape interface
Experimentally derived Pulseshape.