13 throw cms::Exception(
"EcalShapeBase:: DB conditions are not available, const edm::EventSetup* es == nullptr ");
17 aVec = esps.apd_shape;
18 time_interval = esps.time_interval;
24 const double m_tStart = 74.5;
25 const double m_tau = 40.5;
27 for (
unsigned int i(0);
i != 500; ++
i) {
28 const double ctime((1. *
i + 0.5 - m_tStart) / m_tau);
29 double val = 0 > ctime ? 0 : ctime *
exp(1. - ctime);
void fillShape(float &time_interval, double &m_thresh, EcalShapeBase::DVec &aVec, const edm::EventSetup *es) const override
std::vector< double > DVec
bool getData(T &iHolder) const
edm::ESGetToken< EcalSimPulseShape, EcalSimPulseShapeRcd > espsToken_