#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, bool doComponent, const APDSimParameters *apdPars=nullptr, const CaloVShape *apdShape=nullptr, const ComponentSimParameterMap *componentPars=nullptr, const ComponentShapeCollection *componentShapes=nullptr) | |
void | finalizeHits () override |
void | initialize (CLHEP::HepRandomEngine *) |
void | initializeHits () override |
virtual bool | keepBlank () const |
EcalSamples * | operator[] (unsigned int i) override |
const EcalSamples * | operator[] (unsigned int i) const 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 | |
void | add (const EcalSamples *pSam) |
virtual void | add (const CaloSamples &hit) |
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) |
void | putComponentSignal (const DetId &detId, double npe, double time) |
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 |
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 |
const ComponentSimParameterMap * | componentParameters () 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 |
const ComponentShapeCollection * | shapes () 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 ComponentSimParameterMap * | m_componentPars |
const ComponentShapeCollection * | m_componentShapes |
const EcalIntercalibConstantsMC * | m_intercal |
const bool | m_isComponentShapeBased |
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 18 of file EBHitResponse.h.
typedef CaloTSamples<float, constset::sampleSize> EBHitResponseImpl< constset >::EBSamples |
Definition at line 20 of file EBHitResponse.h.
typedef std::vector<double> EBHitResponseImpl< constset >::VecD |
Definition at line 22 of file EBHitResponse.h.
EBHitResponseImpl< constset >::EBHitResponseImpl | ( | const CaloVSimParameterMap * | parameterMap, |
const CaloVShape * | shape, | ||
bool | apdOnly, | ||
bool | doComponent, | ||
const APDSimParameters * | apdPars = nullptr , |
||
const CaloVShape * | apdShape = nullptr , |
||
const ComponentSimParameterMap * | componentPars = nullptr , |
||
const ComponentShapeCollection * | componentShapes = nullptr |
||
) |
|
override |
|
overridevirtual |
Reimplemented from EcalHitResponse.
Referenced by counter.Counter::register().
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from EcalHitResponse.
|
private |
void EBHitResponseImpl< constset >::initialize | ( | CLHEP::HepRandomEngine * | ) |
|
overridevirtual |
Reimplemented from EcalHitResponse.
|
inlinevirtual |
Definition at line 41 of file EBHitResponse.h.
|
inlineprivate |
Definition at line 77 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 81 of file EBHitResponse.h.
References HBHEDarkening_cff::energy, EBHitResponseImpl< constset >::pcon, EBHitResponseImpl< constset >::pcub, EBHitResponseImpl< constset >::plin, and EBHitResponseImpl< constset >::pqua.
Referenced by EBHitResponseImpl< constset >::nonlFunc().
|
inlineprivate |
Definition at line 75 of file EBHitResponse.h.
References EBHitResponseImpl< constset >::m_timeOffVec.
|
overridevirtual |
Implements EcalHitResponse.
|
overridevirtual |
Implements EcalHitResponse.
|
overrideprotectedvirtual |
Reimplemented from EcalHitResponse.
|
protected |
|
protected |
|
overridevirtual |
Reimplemented from EcalHitResponse.
|
overridevirtual |
Implements EcalHitResponse.
|
overrideprotectedvirtual |
Implements EcalHitResponse.
void EBHitResponseImpl< constset >::setIntercal | ( | const EcalIntercalibConstantsMC * | ical | ) |
|
private |
|
overrideprotectedvirtual |
Implements EcalHitResponse.
|
overrideprotectedvirtual |
Implements EcalHitResponse.
|
overrideprotectedvirtual |
Implements EcalHitResponse.
|
static |
Definition at line 24 of file EBHitResponse.h.
|
static |
Definition at line 26 of file EBHitResponse.h.
|
private |
Definition at line 108 of file EBHitResponse.h.
|
private |
Definition at line 98 of file EBHitResponse.h.
|
private |
Definition at line 100 of file EBHitResponse.h.
|
private |
Definition at line 101 of file EBHitResponse.h.
|
private |
Definition at line 109 of file EBHitResponse.h.
|
private |
Definition at line 102 of file EBHitResponse.h.
|
private |
Definition at line 103 of file EBHitResponse.h.
|
private |
Definition at line 104 of file EBHitResponse.h.
|
private |
Definition at line 99 of file EBHitResponse.h.
|
private |
Definition at line 115 of file EBHitResponse.h.
|
private |
Definition at line 106 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::offsets().
|
private |
Definition at line 113 of file EBHitResponse.h.
|
private |
Definition at line 111 of file EBHitResponse.h.
|
private |
Definition at line 111 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc1().
|
private |
Definition at line 111 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc1().
|
private |
Definition at line 111 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc().
|
private |
Definition at line 111 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc().
|
private |
Definition at line 111 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc().
|
private |
Definition at line 111 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc().
|
private |
Definition at line 111 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc1().
|
private |
Definition at line 111 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc().
|
private |
Definition at line 111 of file EBHitResponse.h.
Referenced by EBHitResponseImpl< constset >::nonlFunc1().