Go to the documentation of this file. 1 #ifndef EcalSimAlgos_EcalHitResponse_h
2 #define EcalSimAlgos_EcalHitResponse_h
12 #include <unordered_map>
25 class HepRandomEngine;
32 typedef std::vector<unsigned int>
VecInd;
void setBunchRange(int minBunch, int maxBunch)
virtual ~EcalHitResponse()
virtual unsigned int samplesSizeAll() const =0
bool withinBunchRange(int bunchCrossing) const
const EcalSamples * findDetId(const DetId &detId) const
std::unordered_map< uint32_t, double > CalibCache
void blankOutUsedSamples()
const CaloVHitFilter * m_hitFilter
double timeOfFlight(const DetId &detId) const
void setEventTime(const edm::TimeValue_t &iTime)
virtual void putAnalogSignal(const PCaloHit &inputHit, CLHEP::HepRandomEngine *)
CaloTSamplesBase< float > EcalSamples
double phaseShift() const
unsigned long long TimeValue_t
const CaloVShape * m_shape
void setPhaseShift(double phaseShift)
void setLaserConstants(const EcalLaserDbService *laser, bool &useLCcorrection)
const EcalLaserDbService * m_lasercals
virtual EcalSamples * operator[](unsigned int i)=0
void setHitCorrection(const CaloVHitCorrection *hitCorrection)
Main class for Parameters in different subdetectors.
double findLaserConstant(const DetId &detId) const
virtual EcalSamples * vSam(unsigned int i)=0
void setPECorrection(const CaloVPECorrection *peCorrection)
const CaloSimParameters * params(const DetId &detId) const
void setHitFilter(const CaloVHitFilter *filter)
virtual EcalSamples * vSamAll(unsigned int i)=0
virtual unsigned int samplesSize() const =0
void setGeometry(const CaloSubdetectorGeometry *geometry)
EcalHitResponse(const CaloVSimParameterMap *parameterMap, const CaloVShape *shape)
const CaloVSimParameterMap * m_parameterMap
const CaloVHitCorrection * m_hitCorrection
const CaloSubdetectorGeometry * geometry() const
Electronic response of the preamp.
EcalSamples * findSignal(const DetId &detId)
virtual void initializeHits()
void add(const EcalSamples *pSam)
const CaloVPECorrection * m_PECorrection
std::vector< unsigned int > VecInd
const CaloVShape * shape() const
const CaloVHitFilter * hitFilter() const
virtual void finalizeHits()
const CaloSubdetectorGeometry * m_geometry
virtual void run(MixCollection< PCaloHit > &hits, CLHEP::HepRandomEngine *)
CalibCache m_laserCalibCache
double analogSignalAmplitude(const DetId &id, double energy, CLHEP::HepRandomEngine *)
unsigned long long TimeValue_t