1 #ifndef EcalSimAlgos_EBHitResponse_h
2 #define EcalSimAlgos_EBHitResponse_h
16 typedef std::vector<double>
VecD ;
59 pfac*atan( log10( enr -
pehi + 0.00001 ) ) +
poff ) ) ; }
62 const double enr ( log10(energy) ) ;
63 const double enr2 ( enr*enr ) ;
64 const double enr3 ( enr2*enr ) ;
73 double& icalconst )
const ;
const CaloVShape * shape() const
std::vector< EBSamples > m_vSam
const CaloVShape * m_apdShape
void putAPDSignal(const DetId &detId, double npe, double time)
virtual void run(MixCollection< PCaloHit > &hits)
Electronic response of the preamp.
std::vector< double > VecD
const APDSimParameters * apdParameters() const
const APDSimParameters * m_apdPars
virtual EcalSamples * vSamAll(unsigned int i)
void findIntercalibConstant(const DetId &detId, double &icalconst) const
CaloTSamples< float, 10 > EBSamples
void setIntercal(const EcalIntercalibConstantsMC *ical)
virtual EcalSamples * operator[](unsigned int i)
const VecD & offsets() const
virtual unsigned int samplesSizeAll() const
const EcalIntercalibConstantsMC * m_intercal
std::vector< double > m_timeOffVec
const double nonlFunc1(double energy) const
CaloTSamplesBase< float > EcalSamples
EBHitResponse(const CaloVSimParameterMap *parameterMap, const CaloVShape *shape, bool apdOnly, const APDSimParameters *apdPars, const CaloVShape *apdShape)
const double nonlFunc(double enr) const
virtual EcalSamples * vSam(unsigned int i)
virtual bool keepBlank() const
double apdSignalAmplitude(const PCaloHit &hit) const
std::vector< double > m_apdTimeVec
std::vector< double > m_apdNpeVec
virtual unsigned int samplesSize() const
const CaloVShape * apdShape() const