#include <EBHitResponse.h>
Public Types | |
enum | { kNOffsets = 2000 } |
typedef CaloTSamples< float, 10 > | EBSamples |
typedef std::vector< double > | VecD |
Public Types inherited from EcalHitResponse | |
enum | { BUNCHSPACE = 25 } |
typedef CaloTSamplesBase< float > | EcalSamples |
typedef std::vector< unsigned int > | VecInd |
Public Member Functions | |
virtual void | add (const PCaloHit &hit, CLHEP::HepRandomEngine *) override |
EBHitResponse (const CaloVSimParameterMap *parameterMap, const CaloVShape *shape, bool apdOnly, const APDSimParameters *apdPars, const CaloVShape *apdShape) | |
virtual void | finalizeHits () override |
void | initialize (CLHEP::HepRandomEngine *) |
virtual void | initializeHits () override |
virtual bool | keepBlank () const |
virtual EcalSamples * | operator[] (unsigned int i) override |
virtual const EcalSamples * | operator[] (unsigned int i) const override |
virtual void | run (MixCollection< PCaloHit > &hits, CLHEP::HepRandomEngine *) override |
virtual unsigned int | samplesSize () const override |
void | setIntercal (const EcalIntercalibConstantsMC *ical) |
virtual | ~EBHitResponse () |
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 () |
Protected Member Functions | |
void | putAPDSignal (const DetId &detId, double npe, double time) |
virtual unsigned int | samplesSizeAll () const override |
virtual EcalSamples * | vSam (unsigned int i) override |
virtual EcalSamples * | vSamAll (unsigned int i) override |
virtual const EcalSamples * | vSamAll (unsigned int i) const override |
Protected Member Functions inherited from EcalHitResponse | |
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 *) |
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 |
Definition at line 14 of file EBHitResponse.h.
typedef CaloTSamples<float,10> EBHitResponse::EBSamples |
Definition at line 18 of file EBHitResponse.h.
typedef std::vector<double> EBHitResponse::VecD |
Definition at line 20 of file EBHitResponse.h.
anonymous enum |
EBHitResponse::EBHitResponse | ( | const CaloVSimParameterMap * | parameterMap, |
const CaloVShape * | shape, | ||
bool | apdOnly, | ||
const APDSimParameters * | apdPars = 0 , |
||
const CaloVShape * | apdShape = 0 |
||
) |
Definition at line 15 of file EBHitResponse.cc.
|
virtual |
Definition at line 56 of file EBHitResponse.cc.
|
overridevirtual |
Reimplemented from EcalHitResponse.
Definition at line 228 of file EBHitResponse.cc.
Referenced by counter.Counter::register().
|
private |
Definition at line 72 of file EBHitResponse.cc.
|
private |
Definition at line 79 of file EBHitResponse.cc.
|
private |
Definition at line 125 of file EBHitResponse.cc.
|
overridevirtual |
Reimplemented from EcalHitResponse.
Definition at line 206 of file EBHitResponse.cc.
|
private |
Definition at line 163 of file EBHitResponse.cc.
void EBHitResponse::initialize | ( | CLHEP::HepRandomEngine * | engine | ) |
Definition at line 61 of file EBHitResponse.cc.
|
overridevirtual |
Reimplemented from EcalHitResponse.
Definition at line 193 of file EBHitResponse.cc.
|
inlinevirtual |
|
inlineprivate |
Definition at line 69 of file EBHitResponse.h.
References nonlFunc1(), pehi, pelo, pext, pfac, and poff.
|
inlineprivate |
Definition at line 74 of file EBHitResponse.h.
References pcon, pcub, plin, and pqua.
Referenced by nonlFunc().
|
inlineprivate |
|
overridevirtual |
Implements EcalHitResponse.
Definition at line 327 of file EBHitResponse.cc.
|
overridevirtual |
Implements EcalHitResponse.
Definition at line 321 of file EBHitResponse.cc.
|
protected |
Definition at line 86 of file EBHitResponse.cc.
|
overridevirtual |
Reimplemented from EcalHitResponse.
Definition at line 249 of file EBHitResponse.cc.
|
overridevirtual |
Implements EcalHitResponse.
Definition at line 309 of file EBHitResponse.cc.
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 315 of file EBHitResponse.cc.
void EBHitResponse::setIntercal | ( | const EcalIntercalibConstantsMC * | ical | ) |
Definition at line 157 of file EBHitResponse.cc.
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 333 of file EBHitResponse.cc.
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 339 of file EBHitResponse.cc.
|
overrideprotectedvirtual |
Implements EcalHitResponse.
Definition at line 345 of file EBHitResponse.cc.
|
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 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 nonlFunc1().
|
private |
Definition at line 98 of file EBHitResponse.h.
Referenced by nonlFunc1().
|
private |
Definition at line 98 of file EBHitResponse.h.
Referenced by nonlFunc().
|
private |
Definition at line 98 of file EBHitResponse.h.
Referenced by nonlFunc().
|
private |
Definition at line 98 of file EBHitResponse.h.
Referenced by nonlFunc().
|
private |
Definition at line 98 of file EBHitResponse.h.
Referenced by nonlFunc().
|
private |
Definition at line 98 of file EBHitResponse.h.
Referenced by nonlFunc1().
|
private |
Definition at line 98 of file EBHitResponse.h.
Referenced by nonlFunc().
|
private |
Definition at line 98 of file EBHitResponse.h.
Referenced by nonlFunc1().