1 #ifndef EcalSimAlgos_EcalShapeBase_h 2 #define EcalSimAlgos_EcalShapeBase_h 16 typedef std::vector<double>
DVec ;
22 double operator() (
double aTime )
const override ;
43 unsigned int timeIndex(
double aTime )
const ;
47 virtual void fillShape( DVec& aVec )
const = 0 ;
double derivative(double time) const
Electronic response of the preamp.
virtual double threshold() const =0
static const double qNSecPerBin
EcalShapeBase(bool aSaveDerivative)
~EcalShapeBase() override
std::vector< double > DVec
unsigned int timeIndex(double aTime) const
double m_firstTimeOverThreshold
virtual void fillShape(DVec &aVec) const =0
double operator()(double aTime) const override
unsigned int m_indexOfMax
unsigned int m_firstIndexOverThreshold
double timeToRise() const override