#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... | |
~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 Types | |
enum | { NBITS = 12, MAXADC = 4095, ADCGAINSWITCH = 4079, NGAINS = 3 } |
Private Member Functions | |
void | fillNoiseSignals () override |
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 46 of file EcalSignalGenerator.h.
typedef ECALDIGITIZERTRAITS::DigiCollection EcalSignalGenerator< ECALDIGITIZERTRAITS >::COLLECTION |
Definition at line 50 of file EcalSignalGenerator.h.
typedef ECALDIGITIZERTRAITS::Digi EcalSignalGenerator< ECALDIGITIZERTRAITS >::DIGI |
Definition at line 49 of file EcalSignalGenerator.h.
|
private |
|
inline |
Definition at line 52 of file EcalSignalGenerator.h.
|
inline |
Definition at line 54 of file EcalSignalGenerator.h.
|
inlineoverride |
Definition at line 71 of file EcalSignalGenerator.h.
|
inlinevirtual |
Definition at line 130 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 213 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EBDigitizerTraits >::samplesInPE(), and EcalSignalGenerator< EEDigitizerTraits >::samplesInPE().
|
inlineprivate |
Definition at line 198 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EBDigitizerTraits >::samplesInPE(), and EcalSignalGenerator< EEDigitizerTraits >::samplesInPE().
|
inline |
Definition at line 74 of file EcalSignalGenerator.h.
Referenced by edm::DataMixingEcalDigiWorkerProd::addEcalPileups().
|
inline |
some users use EventPrincipals, not Events. We support both
Definition at line 103 of file EcalSignalGenerator.h.
|
inlineprivate |
Definition at line 219 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EBDigitizerTraits >::samplesInPE(), and EcalSignalGenerator< EEDigitizerTraits >::samplesInPE().
|
private |
|
inlineprivate |
Definition at line 177 of file EcalSignalGenerator.h.
|
private |
Definition at line 256 of file EcalSignalGenerator.h.
|
private |
Definition at line 241 of file EcalSignalGenerator.h.
|
private |
Definition at line 244 of file EcalSignalGenerator.h.
|
private |
Definition at line 242 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< ESDigitizerTraits >::samplesInPE().
|
private |
Definition at line 243 of file EcalSignalGenerator.h.
|
private |
Definition at line 245 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< ESDigitizerTraits >::samplesInPE().
|
private |
Definition at line 229 of file EcalSignalGenerator.h.
|
private |
Definition at line 237 of file EcalSignalGenerator.h.
|
private |
Definition at line 239 of file EcalSignalGenerator.h.
|
private |
Definition at line 238 of file EcalSignalGenerator.h.
|
private |
Definition at line 257 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EBDigitizerTraits >::samplesInPE(), and EcalSignalGenerator< EEDigitizerTraits >::samplesInPE().
|
private |
Definition at line 247 of file EcalSignalGenerator.h.
|
private |
Definition at line 248 of file EcalSignalGenerator.h.
|
private |
Definition at line 253 of file EcalSignalGenerator.h.
|
private |
Definition at line 254 of file EcalSignalGenerator.h.
|
private |
Definition at line 250 of file EcalSignalGenerator.h.
|
private |
Definition at line 251 of file EcalSignalGenerator.h.
|
private |
Definition at line 231 of file EcalSignalGenerator.h.
|
private |
Definition at line 230 of file EcalSignalGenerator.h.
|
private |
Definition at line 259 of file EcalSignalGenerator.h.
|
private |
these fields are set in initializeEvent()
Definition at line 226 of file EcalSignalGenerator.h.
|
private |
Definition at line 227 of file EcalSignalGenerator.h.
|
private |
these come from the ParameterSet
Definition at line 234 of file EcalSignalGenerator.h.
|
private |
Definition at line 235 of file EcalSignalGenerator.h.