#include <HcalSignalGenerator.h>
Public Types | |
typedef Traits::DigiCollection | COLLECTION |
typedef Traits::Digi | DIGI |
Public Member Functions | |
virtual void | fill (edm::ModuleCallingContext const *mcc) |
HcalSignalGenerator () | |
HcalSignalGenerator (const edm::InputTag &inputTag, const edm::EDGetTokenT< COLLECTION > &t) | |
void | initializeEvent (const edm::Event *event, const edm::EventSetup *eventSetup) |
void | initializeEvent (const edm::EventPrincipal *eventPrincipal, const edm::EventSetup *eventSetup) |
some users use EventPrincipals, not Events. We support both More... | |
~HcalSignalGenerator () override | |
Public Member Functions inherited from HcalBaseSignalGenerator | |
HcalBaseSignalGenerator () | |
void | setElectronicsSim (HcalElectronicsSim *electronicsSim) |
void | setParameterMap (HcalSimParameterMap *map) |
~HcalBaseSignalGenerator () override | |
Public Member Functions inherited from CaloVNoiseSignalGenerator | |
CaloVNoiseSignalGenerator () | |
bool | contains (const DetId &detId) const |
void | fillEvent () |
void | fillEvent (CLHEP::HepRandomEngine *) |
fill theNoiseSignals with one event's worth of noise, in units of pe More... | |
void | getNoiseSignals (std::vector< CaloSamples > &noiseSignals) |
void | setNoiseSignals (const std::vector< CaloSamples > &noiseSignals) |
virtual | ~CaloVNoiseSignalGenerator () |
Private Member Functions | |
virtual void | fillDigis (const COLLECTION *digis) |
void | fillNoiseSignals () override |
void | fillNoiseSignals (CLHEP::HepRandomEngine *) override |
CaloSamples | samplesInPE (const DIGI &digi) |
bool | validDigi (const DIGI &digi) |
Private Attributes | |
edm::ESHandle< HcalDbService > | theConditions |
const edm::Event * | theEvent |
these fields are set in initializeEvent() More... | |
const edm::EventPrincipal * | theEventPrincipal |
edm::InputTag | theInputTag |
these come from the ParameterSet More... | |
edm::EDGetTokenT< COLLECTION > | tok_ |
Additional Inherited Members | |
Protected Member Functions inherited from HcalBaseSignalGenerator | |
void | fC2pe (CaloSamples &samples) const |
Protected Attributes inherited from HcalBaseSignalGenerator | |
HcalElectronicsSim * | theElectronicsSim |
HcalSimParameterMap * | theParameterMap |
Protected Attributes inherited from CaloVNoiseSignalGenerator | |
std::vector< CaloSamples > | theNoiseSignals |
Definition at line 31 of file HcalSignalGenerator.h.
typedef Traits::DigiCollection HcalSignalGenerator< Traits >::COLLECTION |
Definition at line 34 of file HcalSignalGenerator.h.
typedef Traits::Digi HcalSignalGenerator< Traits >::DIGI |
Definition at line 33 of file HcalSignalGenerator.h.
|
inline |
Definition at line 36 of file HcalSignalGenerator.h.
|
inline |
Definition at line 38 of file HcalSignalGenerator.h.
|
inlineoverride |
Definition at line 41 of file HcalSignalGenerator.h.
|
inlinevirtual |
Definition at line 56 of file HcalSignalGenerator.h.
Referenced by edm::DataMixingHcalDigiWorkerProd::addHcalPileups(), and PreMixingHcalWorker::addPileups().
|
inlineprivatevirtual |
Definition at line 83 of file HcalSignalGenerator.h.
Referenced by HcalSignalGenerator< HBHEDigitizerTraits >::fill().
|
inlineoverrideprivatevirtual |
|
inlineoverrideprivatevirtual |
if you want to fill signals on demand, override this subclass is responsible for clearing theNoiseSignals before adding
Implements CaloVNoiseSignalGenerator.
Definition at line 98 of file HcalSignalGenerator.h.
|
inline |
Definition at line 43 of file HcalSignalGenerator.h.
Referenced by edm::DataMixingHcalDigiWorkerProd::addHcalPileups(), and PreMixingHcalWorker::addPileups().
|
inline |
some users use EventPrincipals, not Events. We support both
Definition at line 50 of file HcalSignalGenerator.h.
|
inlineprivate |
Definition at line 110 of file HcalSignalGenerator.h.
Referenced by HcalSignalGenerator< HBHEDigitizerTraits >::fillDigis().
|
inlineprivate |
Definition at line 101 of file HcalSignalGenerator.h.
Referenced by HcalSignalGenerator< HBHEDigitizerTraits >::fillDigis().
|
private |
Definition at line 159 of file HcalSignalGenerator.h.
Referenced by HcalSignalGenerator< HBHEDigitizerTraits >::initializeEvent(), and HcalSignalGenerator< HBHEDigitizerTraits >::samplesInPE().
|
private |
these fields are set in initializeEvent()
Definition at line 157 of file HcalSignalGenerator.h.
Referenced by HcalSignalGenerator< HBHEDigitizerTraits >::fill(), and HcalSignalGenerator< HBHEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 158 of file HcalSignalGenerator.h.
Referenced by HcalSignalGenerator< HBHEDigitizerTraits >::fill(), and HcalSignalGenerator< HBHEDigitizerTraits >::initializeEvent().
|
private |
these come from the ParameterSet
Definition at line 161 of file HcalSignalGenerator.h.
Referenced by HcalSignalGenerator< HBHEDigitizerTraits >::fill().
|
private |
Definition at line 162 of file HcalSignalGenerator.h.
Referenced by HcalSignalGenerator< HBHEDigitizerTraits >::fill().