#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 |
virtual EcalSamples * | operator[] (unsigned int i) |
virtual const EcalSamples * | operator[] (unsigned int i) const |
virtual unsigned int | samplesSize () const |
virtual | ~EEHitResponse () |
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 | |
virtual unsigned int | samplesSizeAll () const |
virtual EcalSamples * | vSam (unsigned int i) |
virtual EcalSamples * | vSamAll (unsigned int i) |
virtual const EcalSamples * | vSamAll (unsigned int i) const |
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(), i, EEDetId::kSizeForDenseIndexing, m_vSam, metProducer_cfi::parameters, CaloVSimParameterMap::simParameters(), findQualityFiles::size, and DetId::subdetId().
|
virtual |
Definition at line 33 of file EEHitResponse.cc.
|
inlinevirtual |
Definition at line 18 of file EEHitResponse.h.
References funct::false, i, operator[](), samplesSize(), samplesSizeAll(), vSam(), and vSamAll().
|
virtual |
Implements EcalHitResponse.
Definition at line 56 of file EEHitResponse.cc.
Referenced by keepBlank().
|
virtual |
|
virtual |
Implements EcalHitResponse.
Definition at line 38 of file EEHitResponse.cc.
References m_vSam.
Referenced by keepBlank().
|
protectedvirtual |
Implements EcalHitResponse.
Definition at line 44 of file EEHitResponse.cc.
References m_vSam.
Referenced by keepBlank().
|
protectedvirtual |
Implements EcalHitResponse.
Definition at line 62 of file EEHitResponse.cc.
Referenced by keepBlank().
|
protectedvirtual |
Implements EcalHitResponse.
Definition at line 68 of file EEHitResponse.cc.
Referenced by keepBlank().
|
protectedvirtual |
|
private |
Definition at line 38 of file EEHitResponse.h.
Referenced by EEHitResponse(), operator[](), samplesSize(), samplesSizeAll(), vSam(), and vSamAll().