Go to the documentation of this file. 1 #ifndef EcalSimAlgos_EBHitResponse_h
2 #define EcalSimAlgos_EBHitResponse_h
11 class HepRandomEngine;
18 typedef std::vector<double>
VecD;
69 const double enr(log10(
energy));
70 const double enr2(enr * enr);
71 const double enr3(enr2 * enr);
void run(MixCollection< PCaloHit > &hits, CLHEP::HepRandomEngine *) override
CaloTSamples< float, 10 > EBSamples
std::vector< double > m_apdNpeVec
void add(const PCaloHit &hit, CLHEP::HepRandomEngine *) override
std::vector< double > m_timeOffVec
virtual bool keepBlank() const
double apdSignalAmplitude(const PCaloHit &hit, CLHEP::HepRandomEngine *) const
void initializeHits() override
CaloTSamplesBase< float > EcalSamples
const CaloVShape * apdShape() const
const double nonlFunc1(double energy) const
const EcalIntercalibConstantsMC * m_intercal
const CaloVShape * m_apdShape
void setIntercal(const EcalIntercalibConstantsMC *ical)
void putAPDSignal(const DetId &detId, double npe, double time)
const double nonlFunc(double enr) const
EBHitResponse(const CaloVSimParameterMap *parameterMap, const CaloVShape *shape, bool apdOnly, const APDSimParameters *apdPars, const CaloVShape *apdShape)
std::vector< double > VecD
const APDSimParameters * m_apdPars
unsigned int samplesSize() const override
EcalSamples * vSamAll(unsigned int i) override
Electronic response of the preamp.
std::vector< EBSamples > m_vSam
const VecD & offsets() const
void finalizeHits() override
const CaloVShape * shape() const
const APDSimParameters * apdParameters() const
void findIntercalibConstant(const DetId &detId, double &icalconst) const
std::vector< double > m_apdTimeVec
EcalSamples * operator[](unsigned int i) override
~EBHitResponse() override
void initialize(CLHEP::HepRandomEngine *)
EcalSamples * vSam(unsigned int i) override
unsigned int samplesSizeAll() const override