#include <HcalSignalGenerator.h>
Public Types | |
typedef HCALDIGITIZERTRAITS::DigiCollection | COLLECTION |
typedef HCALDIGITIZERTRAITS::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... | |
virtual | ~HcalSignalGenerator () |
Public Member Functions inherited from HcalBaseSignalGenerator | |
HcalBaseSignalGenerator () | |
void | setElectronicsSim (HcalElectronicsSim *electronicsSim) |
void | setParameterMap (HcalSimParameterMap *map) |
virtual | ~HcalBaseSignalGenerator () |
Public Member Functions inherited from CaloVNoiseSignalGenerator | |
CaloVNoiseSignalGenerator () | |
bool | contains (const DetId &detId) const |
void | fillEvent (CLHEP::HepRandomEngine *) |
fill theNoiseSignals with one event's worth of noise, in units of pe More... | |
void | fillEvent () |
void | getNoiseSignals (std::vector< CaloSamples > &noiseSignals) |
void | setNoiseSignals (const std::vector< CaloSamples > &noiseSignals) |
virtual | ~CaloVNoiseSignalGenerator () |
Private Member Functions | |
virtual void | fillNoiseSignals (CLHEP::HepRandomEngine *) override |
virtual void | fillNoiseSignals () 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 29 of file HcalSignalGenerator.h.
typedef HCALDIGITIZERTRAITS::DigiCollection HcalSignalGenerator< HCALDIGITIZERTRAITS >::COLLECTION |
Definition at line 33 of file HcalSignalGenerator.h.
typedef HCALDIGITIZERTRAITS::Digi HcalSignalGenerator< HCALDIGITIZERTRAITS >::DIGI |
Definition at line 32 of file HcalSignalGenerator.h.
|
inline |
Definition at line 35 of file HcalSignalGenerator.h.
|
inline |
Definition at line 37 of file HcalSignalGenerator.h.
|
inlinevirtual |
Definition at line 41 of file HcalSignalGenerator.h.
|
inlinevirtual |
Definition at line 59 of file HcalSignalGenerator.h.
Referenced by edm::DataMixingHcalDigiWorkerProd::addHcalPileups().
|
inlineoverrideprivatevirtual |
if you want to fill signals on demand, override this subclass is responsible for clearing theNoiseSignals before adding
Implements CaloVNoiseSignalGenerator.
Definition at line 114 of file HcalSignalGenerator.h.
|
inlineoverrideprivatevirtual |
|
inline |
Definition at line 44 of file HcalSignalGenerator.h.
Referenced by edm::DataMixingHcalDigiWorkerProd::addHcalPileups().
|
inline |
some users use EventPrincipals, not Events. We support both
Definition at line 52 of file HcalSignalGenerator.h.
|
inlineprivate |
Definition at line 127 of file HcalSignalGenerator.h.
Referenced by HcalSignalGenerator< HBHEDigitizerTraits >::fill().
|
inlineprivate |
Definition at line 117 of file HcalSignalGenerator.h.
Referenced by HcalSignalGenerator< HBHEDigitizerTraits >::fill().
|
private |
Definition at line 178 of file HcalSignalGenerator.h.
Referenced by HcalSignalGenerator< HBHEDigitizerTraits >::initializeEvent(), and HcalSignalGenerator< HBHEDigitizerTraits >::samplesInPE().
|
private |
these fields are set in initializeEvent()
Definition at line 176 of file HcalSignalGenerator.h.
Referenced by HcalSignalGenerator< HBHEDigitizerTraits >::fill(), and HcalSignalGenerator< HBHEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 177 of file HcalSignalGenerator.h.
Referenced by HcalSignalGenerator< HBHEDigitizerTraits >::fill(), and HcalSignalGenerator< HBHEDigitizerTraits >::initializeEvent().
|
private |
these come from the ParameterSet
Definition at line 180 of file HcalSignalGenerator.h.
Referenced by HcalSignalGenerator< HBHEDigitizerTraits >::fill().
|
private |
Definition at line 181 of file HcalSignalGenerator.h.
Referenced by HcalSignalGenerator< HBHEDigitizerTraits >::fill().