#include <EcalSignalGenerator.h>
Public Types | |
typedef std::unordered_map< uint32_t, double > | CalibCache |
typedef ECALDIGITIZERTRAITS::DigiCollection | COLLECTION |
typedef ECALDIGITIZERTRAITS::Digi | DIGI |
Public Member Functions | |
EcalSignalGenerator () | |
EcalSignalGenerator (edm::ConsumesCollector &cc, const edm::InputTag &inputTag, const double EBs25notCont, const double EEs25notCont, const double peToABarrel, const double peToAEndcap, const bool timeDependent=false) | |
virtual void | fill (edm::ModuleCallingContext const *mcc) |
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... | |
~EcalSignalGenerator () override | |
Public Member Functions inherited from EcalBaseSignalGenerator | |
EcalBaseSignalGenerator () | |
~EcalBaseSignalGenerator () 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 | |
void | fillNoiseSignals () override |
void | fillNoiseSignals (CLHEP::HepRandomEngine *) override |
double | findLaserConstant_LC (const DetId &detId) const |
double | findLaserConstant_LC_prime (const DetId &detId) const |
double | fullScaleEnergy (const DetId &detId) const |
const std::vector< float > | GetGainRatios (const DetId &detid) |
double | peToAConversion (const DetId &detId) const |
CaloSamples | samplesInPE (const DIGI &digi) |
bool | validDigi (const DIGI &digi) |
Static Private Attributes | |
static constexpr int | ADCGAINSWITCH = 4079 |
static constexpr int | MAXADC = 4095 |
static constexpr int | NBITS = 12 |
static constexpr int | NGAINS = 3 |
Additional Inherited Members | |
Protected Attributes inherited from CaloVNoiseSignalGenerator | |
std::vector< CaloSamples > | theNoiseSignals |
Definition at line 55 of file EcalSignalGenerator.h.
typedef std::unordered_map<uint32_t, double> EcalSignalGenerator< ECALDIGITIZERTRAITS >::CalibCache |
Definition at line 60 of file EcalSignalGenerator.h.
typedef ECALDIGITIZERTRAITS::DigiCollection EcalSignalGenerator< ECALDIGITIZERTRAITS >::COLLECTION |
Definition at line 58 of file EcalSignalGenerator.h.
typedef ECALDIGITIZERTRAITS::Digi EcalSignalGenerator< ECALDIGITIZERTRAITS >::DIGI |
Definition at line 57 of file EcalSignalGenerator.h.
|
inline |
Definition at line 62 of file EcalSignalGenerator.h.
|
inline |
Definition at line 64 of file EcalSignalGenerator.h.
|
inlineoverride |
Definition at line 97 of file EcalSignalGenerator.h.
|
inlinevirtual |
Definition at line 201 of file EcalSignalGenerator.h.
Referenced by PreMixingEcalWorker::addPileups().
|
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 245 of file EcalSignalGenerator.h.
|
inlineprivate |
Definition at line 257 of file EcalSignalGenerator.h.
|
inlineprivate |
Definition at line 264 of file EcalSignalGenerator.h.
|
inlineprivate |
Definition at line 282 of file EcalSignalGenerator.h.
|
inlineprivate |
Definition at line 269 of file EcalSignalGenerator.h.
|
inline |
Definition at line 99 of file EcalSignalGenerator.h.
Referenced by PreMixingEcalWorker::addPileups().
|
inline |
some users use EventPrincipals, not Events. We support both
Definition at line 152 of file EcalSignalGenerator.h.
|
inlineprivate |
Definition at line 284 of file EcalSignalGenerator.h.
|
private |
Referenced by EcalSignalGenerator< EEDigitizerTraits >::fill().
|
inlineprivate |
Definition at line 235 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::fill().
|
staticprivate |
Definition at line 251 of file EcalSignalGenerator.h.
|
private |
Definition at line 322 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 307 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 310 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 308 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 309 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 311 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 323 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 290 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 313 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 314 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 293 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 295 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 294 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 301 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 288 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 289 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
|
private |
Definition at line 329 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::findLaserConstant_LC(), and EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 330 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::findLaserConstant_LC_prime(), and EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 292 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::EcalSignalGenerator(), and EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 291 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::EcalSignalGenerator(), and EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 319 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::fullScaleEnergy(), and EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 320 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::fullScaleEnergy(), and EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 316 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::peToAConversion().
|
private |
Definition at line 317 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::peToAConversion().
|
private |
Definition at line 325 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::EcalSignalGenerator(), and EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 305 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::fill().
|
private |
Definition at line 327 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 328 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
staticprivate |
Definition at line 250 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
staticprivate |
Definition at line 249 of file EcalSignalGenerator.h.
|
staticprivate |
Definition at line 252 of file EcalSignalGenerator.h.
|
private |
Definition at line 332 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::EcalSignalGenerator(), and EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
these fields are set in initializeEvent()
Definition at line 298 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::fill(), and EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 299 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::fill(), and EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
these come from the ParameterSet
Definition at line 304 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::fill().