#include <HGCDigitizer.h>
Public Member Functions | |
void | accumulate (edm::Event const &e, edm::EventSetup const &c, CLHEP::HepRandomEngine *) |
handle SimHit accumulation More... | |
void | accumulate (PileUpEventPrincipal const &e, edm::EventSetup const &c, CLHEP::HepRandomEngine *) |
void | accumulate (edm::Handle< edm::PCaloHitContainer > const &hits, int bxCrossing, const edm::ESHandle< HGCalGeometry > &geom, CLHEP::HepRandomEngine *) |
void | beginRun (const edm::EventSetup &es) |
actions at the start/end of run More... | |
std::string | digiCollection () |
void | endRun () |
void | finalizeEvent (edm::Event &e, edm::EventSetup const &c, CLHEP::HepRandomEngine *) |
HGCDigitizer (const edm::ParameterSet &ps, edm::ConsumesCollector &iC) | |
void | initializeEvent (edm::Event const &e, edm::EventSetup const &c) |
actions at the start/end of event More... | |
bool | producesEEDigis () |
bool | producesHEbackDigis () |
bool | producesHEfrontDigis () |
~HGCDigitizer () | |
Private Member Functions | |
void | resetSimHitDataAccumulator () |
Private Attributes | |
int | bxTime_ |
bool | checkValidDetIds_ |
std::string | digiCollection_ |
int | digitizationType_ |
std::string | hitCollection_ |
int | maxSimHitsAccTime_ |
ForwardSubdetector | mySubDet_ |
float | refSpeed_ |
std::unique_ptr < HGCSimHitDataAccumulator > | simHitAccumulator_ |
std::unique_ptr< HGCEEDigitizer > | theHGCEEDigitizer_ |
std::unique_ptr < HGCHEbackDigitizer > | theHGCHEbackDigitizer_ |
std::unique_ptr < HGCHEfrontDigitizer > | theHGCHEfrontDigitizer_ |
float | tofDelay_ |
bool | useAllChannels_ |
int | verbosity_ |
Definition at line 34 of file HGCDigitizer.h.
|
explicit |
Definition at line 20 of file HGCDigitizer.cc.
References bxTime_, edm::ConsumesCollector::consumes(), digiCollection_, digitizationType_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HGCEE, HGCHEB, HGCHEF, hitCollection_, HLT_25ns14e33_v1_cff::InputTag, maxSimHitsAccTime_, mySubDet_, AlCaHLTBitMon_QueryRunRegistry::string, theHGCEEDigitizer_, theHGCHEbackDigitizer_, theHGCHEfrontDigitizer_, tofDelay_, useAllChannels_, and verbosity_.
|
inline |
Definition at line 39 of file HGCDigitizer.h.
void HGCDigitizer::accumulate | ( | edm::Event const & | e, |
edm::EventSetup const & | c, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
handle SimHit accumulation
Definition at line 80 of file HGCDigitizer.cc.
References relativeConstraints::geom, edm::EventSetup::get(), edm::Event::getByLabel(), hitCollection_, edm::HandleBase::isValid(), producesEEDigis(), producesHEbackDigis(), and producesHEfrontDigis().
Referenced by accumulate().
void HGCDigitizer::accumulate | ( | PileUpEventPrincipal const & | e, |
edm::EventSetup const & | c, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 101 of file HGCDigitizer.cc.
References accumulate(), PileUpEventPrincipal::bunchCrossing(), relativeConstraints::geom, edm::EventSetup::get(), PileUpEventPrincipal::getByLabel(), hitCollection_, edm::HandleBase::isValid(), producesEEDigis(), producesHEbackDigis(), and producesHEfrontDigis().
void HGCDigitizer::accumulate | ( | edm::Handle< edm::PCaloHitContainer > const & | hits, |
int | bxCrossing, | ||
const edm::ESHandle< HGCalGeometry > & | geom, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 122 of file HGCDigitizer.cc.
References bxTime_, checkValidDetIds_, gather_cfg::cout, HGCalTopology::dddConstants(), HGCalTopology::detectorType(), hitCollection_, edm::ESHandleBase::isValid(), mySubDet_, producesEEDigis(), refSpeed_, simHitAccumulator_, HGCalDDDConstants::simToReco(), tofDelay_, useAllChannels_, and verbosity_.
void HGCDigitizer::beginRun | ( | const edm::EventSetup & | es | ) |
|
inline |
Definition at line 59 of file HGCDigitizer.h.
References digiCollection_.
Referenced by finalizeEvent().
void HGCDigitizer::endRun | ( | void | ) |
Definition at line 206 of file HGCDigitizer.cc.
void HGCDigitizer::finalizeEvent | ( | edm::Event & | e, |
edm::EventSetup const & | c, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 58 of file HGCDigitizer.cc.
References digiCollection(), digitizationType_, producesEEDigis(), producesHEbackDigis(), producesHEfrontDigis(), edm::Event::put(), simHitAccumulator_, theHGCEEDigitizer_, theHGCHEbackDigitizer_, and theHGCHEfrontDigitizer_.
void HGCDigitizer::initializeEvent | ( | edm::Event const & | e, |
edm::EventSetup const & | c | ||
) |
actions at the start/end of event
Definition at line 53 of file HGCDigitizer.cc.
References resetSimHitDataAccumulator().
|
inline |
Definition at line 56 of file HGCDigitizer.h.
References HGCEE, and mySubDet_.
Referenced by accumulate(), and finalizeEvent().
|
inline |
Definition at line 58 of file HGCDigitizer.h.
References HGCHEB, and mySubDet_.
Referenced by accumulate(), and finalizeEvent().
|
inline |
Definition at line 57 of file HGCDigitizer.h.
References HGCHEF, and mySubDet_.
Referenced by accumulate(), and finalizeEvent().
|
private |
Definition at line 209 of file HGCDigitizer.cc.
References simHitAccumulator_.
Referenced by initializeEvent().
|
private |
Definition at line 80 of file HGCDigitizer.h.
Referenced by accumulate(), and HGCDigitizer().
|
private |
Definition at line 70 of file HGCDigitizer.h.
Referenced by accumulate().
|
private |
Definition at line 73 of file HGCDigitizer.h.
Referenced by digiCollection(), and HGCDigitizer().
|
private |
Definition at line 76 of file HGCDigitizer.h.
Referenced by finalizeEvent(), and HGCDigitizer().
|
private |
Definition at line 73 of file HGCDigitizer.h.
Referenced by accumulate(), and HGCDigitizer().
|
private |
Definition at line 79 of file HGCDigitizer.h.
Referenced by HGCDigitizer().
|
private |
Definition at line 90 of file HGCDigitizer.h.
Referenced by accumulate(), HGCDigitizer(), producesEEDigis(), producesHEbackDigis(), and producesHEfrontDigis().
|
private |
Definition at line 97 of file HGCDigitizer.h.
Referenced by accumulate().
|
private |
Definition at line 81 of file HGCDigitizer.h.
Referenced by accumulate(), finalizeEvent(), and resetSimHitDataAccumulator().
|
private |
Definition at line 85 of file HGCDigitizer.h.
Referenced by finalizeEvent(), and HGCDigitizer().
|
private |
Definition at line 86 of file HGCDigitizer.h.
Referenced by finalizeEvent(), and HGCDigitizer().
|
private |
Definition at line 87 of file HGCDigitizer.h.
Referenced by finalizeEvent(), and HGCDigitizer().
|
private |
Definition at line 100 of file HGCDigitizer.h.
Referenced by accumulate(), and HGCDigitizer().
|
private |
Definition at line 93 of file HGCDigitizer.h.
Referenced by accumulate(), and HGCDigitizer().
|
private |
Definition at line 94 of file HGCDigitizer.h.
Referenced by accumulate(), and HGCDigitizer().