PandaRoot
BSEmcAbsPulseshape.h
Go to the documentation of this file.
1 //-----------------------------------------------------------
2 // File and Version Information:
3 // $Id:$
4 //
5 // Description:
6 // EMC Digitization
7 // abstract Base class for Pulseshapes
8 // Author List:
9 // Sebastian Neubert TUM (original author)
10 //
11 //-----------------------------------------------------------
12 #ifndef BSEMCABSPULSESHAPE_HH
13 #define BSEMCABSPULSESHAPE_HH
14 
15 #include "TObject.h"
16 
22 class BSEmcAbsPulseshape : public TObject {
23  public:
25  virtual ~BSEmcAbsPulseshape() { ; }
26 
27  virtual Double_t operator()(const Double_t t_t, const Double_t t_amp, const Double_t t_toffset) const = 0;
28  virtual Double_t value(const Double_t t_t, const Double_t t_amp, const Double_t t_toffset) const { return operator()(t_t, t_amp, t_toffset); }
29 
30  ClassDef(BSEmcAbsPulseshape, 1)
31 };
32 
33 #endif /*BSEMCABSPULSESHAPE_HH*/
virtual Double_t value(const Double_t t_t, const Double_t t_amp, const Double_t t_toffset) const
pulseshape interface
virtual Double_t operator()(const Double_t t_t, const Double_t t_amp, const Double_t t_toffset) const =0