#include <EBHitResponse.h>
Public Types | |
typedef CaloTSamples< float, constset::sampleSize > | EBSamples |
typedef std::vector< double > | VecD |
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 | |
void | add (const PCaloHit &hit, CLHEP::HepRandomEngine *) override |
EBHitResponseImpl (const CaloVSimParameterMap *parameterMap, const CaloVShape *shape, bool apdOnly, const APDSimParameters *apdPars=nullptr, const CaloVShape *apdShape=nullptr) | |
void | finalizeHits () override |
void | initialize (CLHEP::HepRandomEngine *) |
void | initializeHits () override |
virtual bool | keepBlank () const |
const EcalSamples * | operator[] (unsigned int i) const override |
EcalSamples * | operator[] (unsigned int i) override |
void | run (MixCollection< PCaloHit > &hits, CLHEP::HepRandomEngine *) override |
unsigned int | samplesSize () const override |
void | setIntercal (const EcalIntercalibConstantsMC *ical) |
~EBHitResponseImpl () override | |
Public Member Functions inherited from EcalHitResponse | |
virtual void | add (const CaloSamples &hit) |
void | add (const EcalSamples *pSam) |
EcalHitResponse (const CaloVSimParameterMap *parameterMap, const CaloVShape *shape) | |
const EcalSamples * | findDetId (const DetId &detId) const |
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 () |
Static Public Attributes | |
static constexpr size_t | kNOffsets = constset::kNOffsets |
static constexpr double | kSamplePeriod = constset::Samp_Period |
Protected Member Functions | |
void | putAnalogSignal (const PCaloHit &inputHit, CLHEP::HepRandomEngine *) override |
void | putAPDSignal (const DetId &detId, double npe, double time) |
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 |
const CaloVShape * | shape () const |
double | timeOfFlight (const DetId &detId) const |
Private Member Functions | |
const APDSimParameters * | apdParameters () const |
const CaloVShape * | apdShape () const |
double | apdSignalAmplitude (const PCaloHit &hit, CLHEP::HepRandomEngine *) const |
void | findIntercalibConstant (const DetId &detId, double &icalconst) const |
const double | nonlFunc (double enr) const |
const double | nonlFunc1 (double energy) const |
const VecD & | offsets () const |
Private Attributes | |
std::vector< double > | m_apdNpeVec |
const bool | m_apdOnly |
const APDSimParameters * | m_apdPars |
const CaloVShape * | m_apdShape |
std::vector< double > | m_apdTimeVec |
const EcalIntercalibConstantsMC * | m_intercal |
bool | m_isInitialized |
std::vector< double > | m_timeOffVec |
std::vector< EBSamples > | m_vSam |
const double | pasy |
const double | pcon |
const double | pcub |
const double | pehi |
const double | pelo |
const double | pext |
const double | pfac |
const double | plin |
const double | poff |
const double | pqua |
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 16 of file EBHitResponse.h.
typedef CaloTSamples<float, constset::sampleSize> EBHitResponseImpl< constset >::EBSamples |
Definition at line 18 of file EBHitResponse.h.
typedef std::vector<double> EBHitResponseImpl< constset >::VecD |
Definition at line 20 of file EBHitResponse.h.
EBHitResponseImpl< constset >::EBHitResponseImpl | ( | const CaloVSimParameterMap * | parameterMap, |
const CaloVShape * | shape, | ||
bool | apdOnly, | ||
const APDSimParameters * | apdPars = nullptr , |
||
const CaloVShape * | apdShape = nullptr |
||
) |
|
override |
|
overridevirtual |
Reimplemented from EcalHitResponse.
Referenced by counter.Counter::register().
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from EcalHitResponse.
|
private |
void EBHitResponseImpl< constset >::initialize | ( | CLHEP::HepRandomEngine * | ) |
|
overridevirtual |
Reimplemented from EcalHitResponse.
|
inlinevirtual |
Definition at line 36 of file EBHitResponse.h.
|
inlineprivate |
Definition at line 70 of file EBHitResponse.h.
References EBHitResponseImpl< constset >::nonlFunc1(), EBHitResponseImpl< constset >::pehi, EBHitResponseImpl< constset >::pelo, EBHitResponseImpl< constset >::pext, EBHitResponseImpl< constset >::pfac, and EBHitResponseImpl< constset >::poff.
|
inlineprivate |
Definition at line 74 of file EBHitResponse.h.
References HCALHighEnergyHPDFilter_cfi::energy, EBHitResponseImpl< constset >::pcon, EBHitResponseImpl< constset >::pcub, EBHitResponseImpl< constset >::plin, and EBHitResponseImpl< constset >::pqua.
Referenced by EBHitResponseImpl< constset >::nonlFunc().
|
inlineprivate |
Definition at line 68 of file EBHitResponse.h.
References EBHitResponseImpl< constset >::m_timeOffVec.
|
overridevirtual |
Implements EcalHitResponse.
|
overridevirtual |
Implements EcalHitResponse.
|
overrideprotectedvirtual |
Reimplemented from EcalHitResponse.
|
protected |
|
overridevirtual |
Reimplemented from EcalHitResponse.
|
overridevirtual |
Implements EcalHitResponse.
|
overrideprotectedvirtual |
Implements EcalHitResponse.
void EBHitResponseImpl< constset >::setIntercal | ( | const EcalIntercalibConstantsMC * | ical | ) |
|
overrideprotectedvirtual |
Implements EcalHitResponse.
|
overrideprotectedvirtual |
Implements EcalHitResponse.
|
overrideprotectedvirtual |
Implements EcalHitResponse.
|
staticconstexpr |
Definition at line 22 of file EBHitResponse.h.
|
staticconstexpr |
Definition at line 24 of file EBHitResponse.h.
|
private |
Definition at line 95 of file EBHitResponse.h.
|
private |
Definition at line 88 of file EBHitResponse.h.
|
private |
Definition at line 89 of file EBHitResponse.h.
|
private |
Definition at line 90 of file EBHitResponse.h.
|
private |
Definition at line 96 of file EBHitResponse.h.
|
private |
Definition at line 91 of file EBHitResponse.h.
|
private |
Definition at line 102 of file EBHitResponse.h.
|
private |
Definition at line 93 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::offsets().
|
private |
Definition at line 100 of file EBHitResponse.h.
|
private |
Definition at line 98 of file EBHitResponse.h.
|
private |
Definition at line 98 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc1().
|
private |
Definition at line 98 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc1().
|
private |
Definition at line 98 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc().
|
private |
Definition at line 98 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc().
|
private |
Definition at line 98 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc().
|
private |
Definition at line 98 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc().
|
private |
Definition at line 98 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc1().
|
private |
Definition at line 98 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc().
|
private |
Definition at line 98 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc1().