FairRoot/PandaRoot
PndEmcAbsPulseshape.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 #pragma once
13 #ifndef PNDEMCABSPULSESHAPE_H
14 #define PNDEMCABSPULSESHAPE_H
15 
16 #include "TObject.h"
17 // Collaborating Class Headers -------
18 
19 // Collaborating Class Declarations --
20 
25 class PndEmcAbsPulseshape : public TObject
26 {
27 public:
28 
29  // Constructors/Destructors ---------
31  virtual ~PndEmcAbsPulseshape(){;}
32 
33  // Operators
34 
35  virtual double operator() (const double t,
36  const double amp, const double toffset) const = 0;
37  virtual double value(const double t,
38  const double amp, const double toffset) const
39  {return operator()(t,amp,toffset);}
40 
41  ClassDef(PndEmcAbsPulseshape,1)
42 };
43 
44 #endif
virtual double value(const double t, const double amp, const double toffset) const
pulseshape interface
TTree * t
Definition: bump_analys.C:13
virtual double operator()(const double t, const double amp, const double toffset) const =0