#include <EcalSignalGenerator.h>
Public Types | |
typedef ECALDIGITIZERTRAITS::DigiCollection | COLLECTION |
typedef ECALDIGITIZERTRAITS::Digi | DIGI |
Public Member Functions | |
EcalSignalGenerator () | |
EcalSignalGenerator (const edm::InputTag &inputTag, const edm::EDGetTokenT< COLLECTION > &t, const double EBs25notCont, const double EEs25notCont, const double peToABarrel, const double peToAEndcap) | |
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... | |
virtual | ~EcalSignalGenerator () |
Public Member Functions inherited from EcalBaseSignalGenerator | |
EcalBaseSignalGenerator () | |
virtual | ~EcalBaseSignalGenerator () |
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 Types | |
enum | { NBITS = 12, MAXADC = 4095, ADCGAINSWITCH = 4079, NGAINS = 3 } |
Private Member Functions | |
virtual void | fillNoiseSignals () override |
virtual void | fillNoiseSignals (CLHEP::HepRandomEngine *) override |
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) |
Private Attributes | |
const EcalADCToGeVConstant * | agc |
const ESGain * | esgain |
int | ESgain |
const ESIntercalibConstants * | esmips |
const ESMIPToGeVConstant * | esMipToGeV |
double | ESMIPToGeV |
edm::ESHandle< EcalGainRatios > | grHandle |
edm::ESHandle< ESGain > | hesgain |
edm::ESHandle < ESIntercalibConstants > | hesMIPs |
edm::ESHandle< ESMIPToGeVConstant > | hesMIPToGeV |
const EcalIntercalibConstantsMC * | ical |
double | m_EBs25notCont |
double | m_EEs25notCont |
double | m_maxEneEB |
double | m_maxEneEE |
double | m_peToABarrel |
double | m_peToAEndcap |
edm::ESHandle < EcalADCToGeVConstant > | pAgc |
edm::ESHandle < EcalIntercalibConstantsMC > | pIcal |
double | theDefaultGains [NGAINS] |
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 Attributes inherited from CaloVNoiseSignalGenerator | |
std::vector< CaloSamples > | theNoiseSignals |
Definition at line 45 of file EcalSignalGenerator.h.
typedef ECALDIGITIZERTRAITS::DigiCollection EcalSignalGenerator< ECALDIGITIZERTRAITS >::COLLECTION |
Definition at line 49 of file EcalSignalGenerator.h.
typedef ECALDIGITIZERTRAITS::Digi EcalSignalGenerator< ECALDIGITIZERTRAITS >::DIGI |
Definition at line 48 of file EcalSignalGenerator.h.
|
private |
|
inline |
Definition at line 51 of file EcalSignalGenerator.h.
|
inline |
Definition at line 53 of file EcalSignalGenerator.h.
|
inlinevirtual |
Definition at line 70 of file EcalSignalGenerator.h.
|
inlinevirtual |
Definition at line 129 of file EcalSignalGenerator.h.
Referenced by edm::DataMixingEcalDigiWorkerProd::addEcalPileups().
|
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 187 of file EcalSignalGenerator.h.
|
inlineprivate |
Definition at line 214 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EBDigitizerTraits >::samplesInPE(), and EcalSignalGenerator< EEDigitizerTraits >::samplesInPE().
|
inlineprivate |
Definition at line 199 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EBDigitizerTraits >::samplesInPE(), and EcalSignalGenerator< EEDigitizerTraits >::samplesInPE().
|
inline |
Definition at line 73 of file EcalSignalGenerator.h.
Referenced by edm::DataMixingEcalDigiWorkerProd::addEcalPileups().
|
inline |
some users use EventPrincipals, not Events. We support both
Definition at line 102 of file EcalSignalGenerator.h.
|
inlineprivate |
Definition at line 220 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EBDigitizerTraits >::samplesInPE(), and EcalSignalGenerator< EEDigitizerTraits >::samplesInPE().
|
private |
Referenced by EcalSignalGenerator< EEDigitizerTraits >::fill().
|
inlineprivate |
Definition at line 177 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::fill().
|
private |
Definition at line 255 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 240 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 243 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 241 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent(), and EcalSignalGenerator< ESDigitizerTraits >::samplesInPE().
|
private |
Definition at line 242 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 244 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent(), and EcalSignalGenerator< ESDigitizerTraits >::samplesInPE().
|
private |
Definition at line 229 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 236 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 238 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 237 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 256 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent(), EcalSignalGenerator< EEDigitizerTraits >::samplesInPE(), and EcalSignalGenerator< EBDigitizerTraits >::samplesInPE().
|
private |
Definition at line 246 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::EcalSignalGenerator(), and EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 247 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::EcalSignalGenerator(), and EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 252 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::fullScaleEnergy(), and EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 253 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::fullScaleEnergy(), and EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 249 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::EcalSignalGenerator(), and EcalSignalGenerator< EEDigitizerTraits >::peToAConversion().
|
private |
Definition at line 250 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::EcalSignalGenerator(), and EcalSignalGenerator< EEDigitizerTraits >::peToAConversion().
|
private |
Definition at line 231 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 230 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 258 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::EcalSignalGenerator(), and EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
these fields are set in initializeEvent()
Definition at line 227 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::fill(), and EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
Definition at line 228 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::fill(), and EcalSignalGenerator< EEDigitizerTraits >::initializeEvent().
|
private |
these come from the ParameterSet
Definition at line 233 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::fill().
|
private |
Definition at line 234 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EEDigitizerTraits >::fill().