#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 (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 | fillDigis (const COLLECTION *digis) |
void | fillNoiseSignals (CLHEP::HepRandomEngine *) override |
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 31 of file HcalSignalGenerator.h.
typedef Traits::DigiCollection HcalSignalGenerator< Traits >::COLLECTION |
Definition at line 35 of file HcalSignalGenerator.h.
typedef Traits::Digi HcalSignalGenerator< Traits >::DIGI |
Definition at line 34 of file HcalSignalGenerator.h.
|
inline |
Definition at line 37 of file HcalSignalGenerator.h.
|
inline |
Definition at line 39 of file HcalSignalGenerator.h.
|
inlineoverride |
Definition at line 43 of file HcalSignalGenerator.h.
|
inlinevirtual |
Definition at line 61 of file HcalSignalGenerator.h.
Referenced by edm::DataMixingHcalDigiWorkerProd::addHcalPileups(), and PreMixingHcalWorker::addPileups().
|
inlineprivatevirtual |
Definition at line 97 of file HcalSignalGenerator.h.
|
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 46 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 54 of file HcalSignalGenerator.h.
|
inlineprivate |
Definition at line 125 of file HcalSignalGenerator.h.
|
inlineprivate |
Definition at line 117 of file HcalSignalGenerator.h.
|
private |
Definition at line 174 of file HcalSignalGenerator.h.
|
private |
these fields are set in initializeEvent()
Definition at line 172 of file HcalSignalGenerator.h.
|
private |
Definition at line 173 of file HcalSignalGenerator.h.
|
private |
these come from the ParameterSet
Definition at line 176 of file HcalSignalGenerator.h.
|
private |
Definition at line 177 of file HcalSignalGenerator.h.