#include <ESHitResponse.h>
Public Types | |
typedef CaloTSamples< float, 3 > | ESSamples |
Public Types inherited from EcalHitResponse | |
typedef std::unordered_map< uint32_t, double > | CalibCache |
typedef CaloTSamplesBase< float > | EcalSamples |
typedef std::vector< unsigned int > | VecInd |
Public Member Functions | |
ESHitResponse (const CaloVSimParameterMap *parameterMap, const CaloVShape *shape) | |
virtual bool | keepBlank () const |
EcalSamples * | operator[] (unsigned int i) override |
const EcalSamples * | operator[] (unsigned int i) const override |
unsigned int | samplesSize () const override |
~ESHitResponse () override | |
Public Member Functions inherited from EcalHitResponse | |
void | add (const EcalSamples *pSam) |
virtual void | add (const PCaloHit &hit, CLHEP::HepRandomEngine *) |
virtual void | add (const CaloSamples &hit) |
EcalHitResponse (const CaloVSimParameterMap *parameterMap, const CaloVShape *shape) | |
virtual void | finalizeHits () |
const EcalSamples * | findDetId (const DetId &detId) const |
virtual void | initializeHits () |
virtual void | run (MixCollection< PCaloHit > &hits, CLHEP::HepRandomEngine *) |
void | setBunchRange (int minBunch, int maxBunch) |
void | setEventTime (const edm::TimeValue_t &iTime) |
void | setGeometry (const CaloSubdetectorGeometry *geometry) |
void | setHitCorrection (const CaloVHitCorrection *hitCorrection) |
void | setHitFilter (const CaloVHitFilter *filter) |
void | setLaserConstants (const EcalLaserDbService *laser, bool &useLCcorrection) |
void | setPECorrection (const CaloVPECorrection *peCorrection) |
void | setPhaseShift (double phaseShift) |
bool | withinBunchRange (int bunchCrossing) const |
virtual | ~EcalHitResponse () |
Protected Member Functions | |
unsigned int | samplesSizeAll () const override |
EcalSamples * | vSam (unsigned int i) override |
EcalSamples * | vSamAll (unsigned int i) override |
const EcalSamples * | vSamAll (unsigned int i) const override |
Protected Member Functions inherited from EcalHitResponse | |
double | analogSignalAmplitude (const DetId &id, double energy, CLHEP::HepRandomEngine *) |
void | blankOutUsedSamples () |
double | findLaserConstant (const DetId &detId) const |
EcalSamples * | findSignal (const DetId &detId) |
const CaloSubdetectorGeometry * | geometry () const |
const CaloVHitFilter * | hitFilter () const |
VecInd & | index () |
const VecInd & | index () const |
int | maxBunch () const |
int | minBunch () const |
const CaloSimParameters * | params (const DetId &detId) const |
double | phaseShift () const |
virtual void | putAnalogSignal (const PCaloHit &inputHit, CLHEP::HepRandomEngine *) |
const CaloVShape * | shape () const |
double | timeOfFlight (const DetId &detId) const |
Private Attributes | |
std::vector< ESSamples > | m_vSam |
Additional Inherited Members | |
Public Attributes inherited from EcalHitResponse | |
const float | kSamplePeriod = ecalPh1::Samp_Period |
Protected Attributes inherited from EcalHitResponse | |
const CaloSubdetectorGeometry * | m_geometry |
const CaloVHitCorrection * | m_hitCorrection |
const CaloVHitFilter * | m_hitFilter |
const EcalLaserDbService * | m_lasercals |
const CaloVSimParameterMap * | m_parameterMap |
const CaloVPECorrection * | m_PECorrection |
const CaloVShape * | m_shape |
Definition at line 7 of file ESHitResponse.h.
typedef CaloTSamples<float, 3> ESHitResponse::ESSamples |
Definition at line 9 of file ESHitResponse.h.
ESHitResponse::ESHitResponse | ( | const CaloVSimParameterMap * | parameterMap, |
const CaloVShape * | shape | ||
) |
Definition at line 9 of file ESHitResponse.cc.
References cms::cuda::assert(), DetId::det(), ESDetId::detIdFromDenseIndex(), mps_fire::i, ESDetId::kSizeForDenseIndexing, m_vSam, EcalHitResponse::shape(), CaloVSimParameterMap::simParameters(), findQualityFiles::size, and DetId::subdetId().
|
override |
Definition at line 28 of file ESHitResponse.cc.
|
inlinevirtual |
Definition at line 15 of file ESHitResponse.h.
|
overridevirtual |
Implements EcalHitResponse.
Definition at line 36 of file ESHitResponse.cc.
References mps_fire::i, EcalHitResponse::index(), and m_vSam.
|
overridevirtual |
Implements EcalHitResponse.
Definition at line 34 of file ESHitResponse.cc.
References mps_fire::i, EcalHitResponse::index(), and m_vSam.
|
overridevirtual |
Implements EcalHitResponse.
Definition at line 30 of file ESHitResponse.cc.
References EcalHitResponse::index().
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 32 of file ESHitResponse.cc.
References ESDetId::kSizeForDenseIndexing.
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 38 of file ESHitResponse.cc.
References mps_fire::i, EcalHitResponse::index(), and m_vSam.
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 40 of file ESHitResponse.cc.
References mps_fire::i, and m_vSam.
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 42 of file ESHitResponse.cc.
References mps_fire::i, and m_vSam.
|
private |
Definition at line 33 of file ESHitResponse.h.
Referenced by ESHitResponse(), operator[](), vSam(), and vSamAll().