#include <EcalHitResponse.h>
Public Types | |
enum | { BUNCHSPACE = 25 } |
typedef CaloTSamplesBase< float > | EcalSamples |
typedef std::vector< unsigned int > | VecInd |
Public Member Functions | |
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 EcalSamples * | operator[] (unsigned int i)=0 |
virtual const EcalSamples * | operator[] (unsigned int i) const =0 |
virtual void | run (MixCollection< PCaloHit > &hits, CLHEP::HepRandomEngine *) |
virtual unsigned int | samplesSize () const =0 |
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 | |
double | analogSignalAmplitude (const DetId &id, float energy, CLHEP::HepRandomEngine *) const |
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 *) |
virtual unsigned int | samplesSizeAll () const =0 |
const CaloVShape * | shape () const |
double | timeOfFlight (const DetId &detId) const |
virtual EcalSamples * | vSam (unsigned int i)=0 |
virtual EcalSamples * | vSamAll (unsigned int i)=0 |
virtual const EcalSamples * | vSamAll (unsigned int i) const =0 |
Private Attributes | |
const CaloSubdetectorGeometry * | m_geometry |
const CaloVHitCorrection * | m_hitCorrection |
const CaloVHitFilter * | m_hitFilter |
VecInd | m_index |
edm::TimeValue_t | m_iTime |
const EcalLaserDbService * | m_lasercals |
int | m_maxBunch |
int | m_minBunch |
const CaloVSimParameterMap * | m_parameterMap |
const CaloVPECorrection * | m_PECorrection |
double | m_phaseShift |
const CaloVShape * | m_shape |
bool | m_useLCcorrection |
Definition at line 28 of file EcalHitResponse.h.
typedef CaloTSamplesBase<float> EcalHitResponse::EcalSamples |
Definition at line 32 of file EcalHitResponse.h.
typedef std::vector< unsigned int > EcalHitResponse::VecInd |
Definition at line 34 of file EcalHitResponse.h.
anonymous enum |
Enumerator | |
---|---|
BUNCHSPACE |
Definition at line 36 of file EcalHitResponse.h.
EcalHitResponse::EcalHitResponse | ( | const CaloVSimParameterMap * | parameterMap, |
const CaloVShape * | shape | ||
) |
Definition at line 22 of file EcalHitResponse.cc.
|
virtual |
Definition at line 39 of file EcalHitResponse.cc.
void EcalHitResponse::add | ( | const EcalSamples * | pSam | ) |
Definition at line 283 of file EcalHitResponse.cc.
Referenced by counter.Counter::register().
|
virtual |
Reimplemented in EBHitResponse.
Definition at line 135 of file EcalHitResponse.cc.
Referenced by counter.Counter::register().
|
virtual |
Definition at line 143 of file EcalHitResponse.cc.
Referenced by counter.Counter::register().
|
protected |
Definition at line 250 of file EcalHitResponse.cc.
|
protected |
Definition at line 122 of file EcalHitResponse.cc.
|
virtual |
Reimplemented in EBHitResponse.
Definition at line 177 of file EcalHitResponse.cc.
const EcalHitResponse::EcalSamples * EcalHitResponse::findDetId | ( | const DetId & | detId | ) | const |
Definition at line 320 of file EcalHitResponse.cc.
|
protected |
Definition at line 234 of file EcalHitResponse.cc.
|
protected |
Definition at line 241 of file EcalHitResponse.cc.
|
protected |
Definition at line 58 of file EcalHitResponse.cc.
|
protected |
Definition at line 314 of file EcalHitResponse.cc.
|
protected |
Definition at line 302 of file EcalHitResponse.cc.
Referenced by ESHitResponse::operator[](), ESHitResponse::samplesSize(), and ESHitResponse::vSam().
|
protected |
Definition at line 308 of file EcalHitResponse.cc.
|
virtual |
Reimplemented in EBHitResponse.
Definition at line 171 of file EcalHitResponse.cc.
|
protected |
Definition at line 296 of file EcalHitResponse.cc.
|
protected |
Definition at line 290 of file EcalHitResponse.cc.
|
pure virtual |
Implemented in EBHitResponse, EEHitResponse, and ESHitResponse.
|
pure virtual |
Implemented in EBHitResponse, EEHitResponse, and ESHitResponse.
|
protected |
Definition at line 44 of file EcalHitResponse.cc.
|
protected |
Definition at line 85 of file EcalHitResponse.cc.
|
protectedvirtual |
Definition at line 199 of file EcalHitResponse.cc.
|
virtual |
Reimplemented in EBHitResponse.
Definition at line 182 of file EcalHitResponse.cc.
|
pure virtual |
Implemented in EBHitResponse, EEHitResponse, and ESHitResponse.
|
protectedpure virtual |
Implemented in EBHitResponse, EEHitResponse, and ESHitResponse.
void EcalHitResponse::setBunchRange | ( | int | minBunch, |
int | maxBunch | ||
) |
Definition at line 65 of file EcalHitResponse.cc.
void EcalHitResponse::setEventTime | ( | const edm::TimeValue_t & | iTime | ) |
Definition at line 109 of file EcalHitResponse.cc.
void EcalHitResponse::setGeometry | ( | const CaloSubdetectorGeometry * | geometry | ) |
Definition at line 73 of file EcalHitResponse.cc.
void EcalHitResponse::setHitCorrection | ( | const CaloVHitCorrection * | hitCorrection | ) |
Definition at line 97 of file EcalHitResponse.cc.
void EcalHitResponse::setHitFilter | ( | const CaloVHitFilter * | filter | ) |
Definition at line 91 of file EcalHitResponse.cc.
void EcalHitResponse::setLaserConstants | ( | const EcalLaserDbService * | laser, |
bool & | useLCcorrection | ||
) |
Definition at line 115 of file EcalHitResponse.cc.
void EcalHitResponse::setPECorrection | ( | const CaloVPECorrection * | peCorrection | ) |
Definition at line 103 of file EcalHitResponse.cc.
void EcalHitResponse::setPhaseShift | ( | double | phaseShift | ) |
Definition at line 79 of file EcalHitResponse.cc.
|
protected |
Definition at line 51 of file EcalHitResponse.cc.
|
protected |
Definition at line 275 of file EcalHitResponse.cc.
|
protectedpure virtual |
Implemented in EBHitResponse, EEHitResponse, and ESHitResponse.
|
protectedpure virtual |
Implemented in EBHitResponse, EEHitResponse, and ESHitResponse.
|
protectedpure virtual |
Implemented in EBHitResponse, EEHitResponse, and ESHitResponse.
bool EcalHitResponse::withinBunchRange | ( | int | bunchCrossing | ) | const |
Definition at line 165 of file EcalHitResponse.cc.
|
private |
Definition at line 129 of file EcalHitResponse.h.
|
private |
Definition at line 126 of file EcalHitResponse.h.
|
private |
Definition at line 128 of file EcalHitResponse.h.
|
private |
Definition at line 139 of file EcalHitResponse.h.
|
private |
Definition at line 136 of file EcalHitResponse.h.
|
private |
Definition at line 130 of file EcalHitResponse.h.
|
private |
Definition at line 133 of file EcalHitResponse.h.
|
private |
Definition at line 132 of file EcalHitResponse.h.
|
private |
Definition at line 124 of file EcalHitResponse.h.
|
private |
Definition at line 127 of file EcalHitResponse.h.
|
private |
Definition at line 134 of file EcalHitResponse.h.
|
private |
Definition at line 125 of file EcalHitResponse.h.
|
private |
Definition at line 137 of file EcalHitResponse.h.