#include <HcalSiPMHitResponse.h>
Public Member Functions | |
HcalSiPMHitResponse (const CaloVSimParameterMap *parameterMap, const CaloVShape *shape) | |
virtual void | run (MixCollection< PCaloHit > &hits) |
Complete cell digitization. More... | |
virtual void | setRandomEngine (CLHEP::HepRandomEngine &engine) |
virtual | ~HcalSiPMHitResponse () |
Public Member Functions inherited from CaloHitResponse | |
virtual void | add (const PCaloHit &hit) |
process a single SimHit More... | |
void | add (const CaloSamples &signal) |
add a signal, in units of pe More... | |
void | addHit (const PCaloHit *hit, CaloSamples &frame) const |
adds the amplitude for a single hit to the frame More... | |
double | analogSignalAmplitude (const PCaloHit &hit, const CaloSimParameters ¶meters) const |
CaloHitResponse (const CaloVSimParameterMap *parameterMap, const CaloVShape *shape) | |
void | clear () |
frees up memory More... | |
CaloSamples * | findSignal (const DetId &detId) |
users can look for the signal for a given cell More... | |
virtual bool | keepBlank () const |
virtual CaloSamples | makeAnalogSignal (const PCaloHit &inputHit) const |
creates the signal corresponding to this hit More... | |
CaloSamples | makeBlankSignal (const DetId &detId) const |
creates an empty signal for this DetId More... | |
int | nSignals () const |
number of signals in the current cache More... | |
void | setBunchRange (int minBunch, int maxBunch) |
tells it which pileup bunches to do More... | |
void | setGeometry (const CaloGeometry *geometry) |
geometry needed for time-of-flight More... | |
void | setHitCorrection (const CaloVHitCorrection *hitCorrection) |
If you want to correct hits, for attenuation or delay, set this. More... | |
void | setHitFilter (const CaloVHitFilter *filter) |
if you want to reject hits, for example, from a certain subdetector, set this More... | |
void | setPECorrection (const CaloVPECorrection *peCorrection) |
if you want to correct the photoelectrons More... | |
void | setPhaseShift (const double &thePhaseShift) |
setting the phase shift for asynchronous trigger (e.g. test beams) More... | |
double | timeOfFlight (const DetId &detId) const |
virtual | ~CaloHitResponse () |
doesn't delete the pointers passed in More... | |
Protected Member Functions | |
virtual CaloSamples | makeSiPMSignal (const PCaloHit &inHit, int &integral) const |
Protected Attributes | |
double | theRecoveryTime |
HcalSiPM * | theSiPM |
Protected Attributes inherited from CaloHitResponse | |
AnalogSignalMap | theAnalogSignalMap |
const CaloGeometry * | theGeometry |
const CaloVHitCorrection * | theHitCorrection |
const CaloVHitFilter * | theHitFilter |
int | theMaxBunch |
int | theMinBunch |
const CaloVSimParameterMap * | theParameterMap |
const CaloVPECorrection * | thePECorrection |
double | thePhaseShift_ |
CLHEP::RandPoissonQ * | theRandPoisson |
const CaloVShape * | theShape |
Additional Inherited Members | |
Public Types inherited from CaloHitResponse | |
enum | { BUNCHSPACE =25 } |
typedef std::map< DetId, CaloSamples > | AnalogSignalMap |
Definition at line 9 of file HcalSiPMHitResponse.h.
HcalSiPMHitResponse::HcalSiPMHitResponse | ( | const CaloVSimParameterMap * | parameterMap, |
const CaloVShape * | shape | ||
) |
Definition at line 24 of file HcalSiPMHitResponse.cc.
References theSiPM.
|
virtual |
|
protectedvirtual |
Definition at line 77 of file HcalSiPMHitResponse.cc.
References CaloHitResponse::analogSignalAmplitude(), newFWLiteAna::bin, CaloHitResponse::BUNCHSPACE, CaloVHitCorrection::correct(), HcalSiPM::hitCells(), PCaloHit::id(), ExpressReco_HICollisions_FallBack::id, CaloHitResponse::makeBlankSignal(), ExpressReco_HICollisions_FallBack::photons, query::result, HcalSiPM::setNCells(), CaloVSimParameterMap::simParameters(), CaloSamples::size(), CaloHitResponse::theHitCorrection, CaloHitResponse::theParameterMap, CaloHitResponse::thePhaseShift_, theSiPM, PCaloHit::time(), CaloHitResponse::timeOfFlight(), and tzero.
Referenced by run().
|
virtual |
Complete cell digitization.
Reimplemented from CaloHitResponse.
Definition at line 35 of file HcalSiPMHitResponse.cc.
References CaloVHitFilter::accepts(), CaloHitResponse::add(), HcalSiPMRecovery::addToHistory(), MixCollection< T >::begin(), HcalSiPMRecovery::clearHistory(), MixCollection< T >::end(), HcalSiPMRecovery::getIntegral(), i, ExpressReco_HICollisions_FallBack::id, edm::detail::isnan(), makeSiPMSignal(), CaloHitResponse::theHitFilter, CaloHitResponse::theMaxBunch, CaloHitResponse::theMinBunch, theRecoveryTime, and PCaloHit::time().
|
virtual |
Reimplemented from CaloHitResponse.
Definition at line 70 of file HcalSiPMHitResponse.cc.
References HcalSiPM::initRandomEngine(), CaloHitResponse::setRandomEngine(), and theSiPM.
|
protected |
Definition at line 26 of file HcalSiPMHitResponse.h.
Referenced by run().
|
protected |
Definition at line 25 of file HcalSiPMHitResponse.h.
Referenced by HcalSiPMHitResponse(), makeSiPMSignal(), setRandomEngine(), and ~HcalSiPMHitResponse().