#include <EEHitResponse.h>
Public Types | |
typedef CaloTSamples< float, 10 > | EESamples |
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 | |
EEHitResponse (const CaloVSimParameterMap *parameterMap, const CaloVShape *shape) | |
virtual bool | keepBlank () const |
const EcalSamples * | operator[] (unsigned int i) const override |
EcalSamples * | operator[] (unsigned int i) override |
unsigned int | samplesSize () const override |
~EEHitResponse () override | |
Public Member Functions inherited from EcalHitResponse | |
virtual void | add (const CaloSamples &hit) |
void | add (const EcalSamples *pSam) |
virtual void | add (const PCaloHit &hit, CLHEP::HepRandomEngine *) |
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 |
const EcalSamples * | vSamAll (unsigned int i) const override |
EcalSamples * | vSamAll (unsigned int i) 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< EESamples > | 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 EEHitResponse.h.
typedef CaloTSamples<float, 10> EEHitResponse::EESamples |
Definition at line 9 of file EEHitResponse.h.
EEHitResponse::EEHitResponse | ( | const CaloVSimParameterMap * | parameterMap, |
const CaloVShape * | shape | ||
) |
Definition at line 10 of file EEHitResponse.cc.
References DetId::det(), EEDetId::detIdFromDenseIndex(), mps_fire::i, EEDetId::kSizeForDenseIndexing, m_vSam, CaloVSimParameterMap::simParameters(), findQualityFiles::size, and DetId::subdetId().
|
override |
Definition at line 29 of file EEHitResponse.cc.
|
inlinevirtual |
Definition at line 15 of file EEHitResponse.h.
|
overridevirtual |
Implements EcalHitResponse.
Definition at line 35 of file EEHitResponse.cc.
References mps_fire::i, and m_vSam.
|
overridevirtual |
Implements EcalHitResponse.
Definition at line 37 of file EEHitResponse.cc.
References mps_fire::i, and m_vSam.
|
overridevirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 39 of file EEHitResponse.cc.
References mps_fire::i, and m_vSam.
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 43 of file EEHitResponse.cc.
References mps_fire::i, and m_vSam.
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 41 of file EEHitResponse.cc.
References mps_fire::i, and m_vSam.
|
private |
Definition at line 33 of file EEHitResponse.h.
Referenced by EEHitResponse(), operator[](), samplesSize(), samplesSizeAll(), vSam(), and vSamAll().