1 #ifndef CaloSimAlgos_CaloHitRespoNew_h
2 #define CaloSimAlgos_CaloHitRespoNew_h
29 class HepRandomEngine ;
36 typedef std::vector< CaloSamples >
VecSam ;
37 typedef std::vector< unsigned int >
VecInd ;
void setupSamples(const DetId &detId)
void setHitFilter(const CaloVHitFilter *filter)
virtual void run(MixCollection< PCaloHit > &hits, CLHEP::HepRandomEngine *)
double analogSignalAmplitude(const DetId &id, float energy, CLHEP::HepRandomEngine *) const
void setHitCorrection(const CaloVHitCorrection *hitCorrection)
const CaloVPECorrection * m_PECorrection
double timeOfFlight(const DetId &detId) const
Creates electronics signals from hits.
virtual void add(const PCaloHit &hit, CLHEP::HepRandomEngine *)
const CaloVShape * shape() const
void setBunchRange(int minBunch, int maxBunch)
Electronic response of the preamp.
const CaloVHitFilter * hitFilter() const
bool withinBunchRange(int bunchCrossing) const
virtual void finalizeHits()
Main class for Parameters in different subdetectors.
void blankOutUsedSamples()
CaloSamples * findSignal(const DetId &detId)
double phaseShift() const
void setGeometry(const CaloSubdetectorGeometry *geometry)
const CaloSubdetectorGeometry * geometry() const
const CaloVSimParameterMap * m_parameterMap
std::vector< CaloSamples > VecSam
void setPECorrection(const CaloVPECorrection *peCorrection)
void setPhaseShift(double phaseShift)
const CaloSamples & operator[](unsigned int i) const
CaloHitRespoNew(const CaloVSimParameterMap *parameterMap, const CaloVShape *shape, const DetId detId)
virtual ~CaloHitRespoNew()
const CaloSubdetectorGeometry * m_geometry
std::vector< unsigned int > VecInd
unsigned int samplesSize() const
const CaloSimParameters * params(const DetId &detId) const
const CaloVShape * m_shape
virtual void initializeHits()
virtual void putAnalogSignal(const PCaloHit &inputHit, CLHEP::HepRandomEngine *)
const CaloVHitCorrection * m_hitCorrection
const CaloVHitFilter * m_hitFilter