//----------------------------------------------------------- // File and Version Information: // $Id:$ // // Description: // EMC Digitization // abstract Base class for Pulseshapes // Author List: // Sebastian Neubert TUM (original author) // //----------------------------------------------------------- #ifndef EMCABSPULSESHAPE_HH #define EMCABSPULSESHAPE_HH // Collaborating Class Headers ------- #include "TObject.h" // Collaborating Class Declarations -- class EmcAbsPulseshape: public TObject { public: // Constructors/Destructors --------- EmcAbsPulseshape(){;} virtual ~EmcAbsPulseshape(){;} // Operators virtual double operator() (const double t, const double amp, const double toffset) const = 0; virtual double value(const double t, const double amp, const double toffset) const {return operator()(t,amp,toffset);} ClassDef(EmcAbsPulseshape,1) }; #endif