#include <ESHitResponse.h>
Public Types | |
typedef CaloTSamples< float, 3 > | ESSamples |
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 | |
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 |
Definition at line 7 of file ESHitResponse.h.
typedef CaloTSamples<float,3> ESHitResponse::ESSamples |
Definition at line 11 of file ESHitResponse.h.
ESHitResponse::ESHitResponse | ( | const CaloVSimParameterMap * | parameterMap, |
const CaloVShape * | shape | ||
) |
Definition at line 10 of file ESHitResponse.cc.
References DetId::det(), ESDetId::detIdFromDenseIndex(), mps_fire::i, ESDetId::kSizeForDenseIndexing, m_vSam, metProducer_cfi::parameters, CaloVSimParameterMap::simParameters(), findQualityFiles::size, and DetId::subdetId().
|
override |
Definition at line 34 of file ESHitResponse.cc.
|
inlinevirtual |
Definition at line 18 of file ESHitResponse.h.
References funct::false, mps_fire::i, operator[](), samplesSize(), samplesSizeAll(), vSam(), and vSamAll().
|
overridevirtual |
Implements EcalHitResponse.
Definition at line 57 of file ESHitResponse.cc.
References mps_fire::i, EcalHitResponse::index(), and m_vSam.
Referenced by keepBlank().
|
overridevirtual |
Implements EcalHitResponse.
Definition at line 51 of file ESHitResponse.cc.
References mps_fire::i, EcalHitResponse::index(), and m_vSam.
|
overridevirtual |
Implements EcalHitResponse.
Definition at line 39 of file ESHitResponse.cc.
References EcalHitResponse::index().
Referenced by keepBlank().
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 45 of file ESHitResponse.cc.
References ESDetId::kSizeForDenseIndexing.
Referenced by keepBlank().
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 63 of file ESHitResponse.cc.
References mps_fire::i, EcalHitResponse::index(), and m_vSam.
Referenced by keepBlank().
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 69 of file ESHitResponse.cc.
References mps_fire::i, and m_vSam.
Referenced by keepBlank().
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 75 of file ESHitResponse.cc.
References mps_fire::i, and m_vSam.
|
private |
Definition at line 38 of file ESHitResponse.h.
Referenced by ESHitResponse(), operator[](), vSam(), and vSamAll().