#include <EEHitResponse.h>
Public Types | |
typedef CaloTSamples< float, 10 > | EESamples |
Public Types inherited from EcalHitResponse | |
enum | { BUNCHSPACE = 25 } |
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 |
EcalSamples * | operator[] (unsigned int i) override |
const EcalSamples * | operator[] (unsigned int i) const override |
unsigned int | samplesSize () const override |
~EEHitResponse () 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< EESamples > | m_vSam |
Definition at line 7 of file EEHitResponse.h.
typedef CaloTSamples<float,10> EEHitResponse::EESamples |
Definition at line 11 of file EEHitResponse.h.
EEHitResponse::EEHitResponse | ( | const CaloVSimParameterMap * | parameterMap, |
const CaloVShape * | shape | ||
) |
Definition at line 11 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 33 of file EEHitResponse.cc.
|
inlinevirtual |
Definition at line 18 of file EEHitResponse.h.
References funct::false, mps_fire::i, operator[](), samplesSize(), samplesSizeAll(), vSam(), and vSamAll().
|
overridevirtual |
Implements EcalHitResponse.
Definition at line 56 of file EEHitResponse.cc.
References mps_fire::i, and m_vSam.
Referenced by keepBlank().
|
overridevirtual |
Implements EcalHitResponse.
Definition at line 50 of file EEHitResponse.cc.
References mps_fire::i, and m_vSam.
|
overridevirtual |
Implements EcalHitResponse.
Definition at line 38 of file EEHitResponse.cc.
References m_vSam.
Referenced by keepBlank().
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 44 of file EEHitResponse.cc.
References m_vSam.
Referenced by keepBlank().
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 62 of file EEHitResponse.cc.
References mps_fire::i, and m_vSam.
Referenced by keepBlank().
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 68 of file EEHitResponse.cc.
References mps_fire::i, and m_vSam.
Referenced by keepBlank().
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 74 of file EEHitResponse.cc.
References mps_fire::i, and m_vSam.
|
private |
Definition at line 38 of file EEHitResponse.h.
Referenced by EEHitResponse(), operator[](), samplesSize(), samplesSizeAll(), vSam(), and vSamAll().