1 #ifndef EcalSimAlgos_EBHitResponse_h
2 #define EcalSimAlgos_EBHitResponse_h
16 typedef std::vector<double>
VecD ;
65 pfac*atan( log10( enr -
pehi + 0.00001 ) ) +
poff ) ) ; }
68 const double enr ( log10(energy) ) ;
69 const double enr2 ( enr*enr ) ;
70 const double enr3 ( enr2*enr ) ;
79 double& icalconst )
const ;
const CaloVShape * shape() const
std::vector< EBSamples > m_vSam
virtual void add(const PCaloHit &hit)
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
volatile std::atomic< bool > shutdown_flag false
double apdSignalAmplitude(const PCaloHit &hit) const
virtual void finalizeHits()
std::vector< double > m_apdTimeVec
std::vector< double > m_apdNpeVec
virtual unsigned int samplesSize() const
virtual void initializeHits()
const CaloVShape * apdShape() const