#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 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.
|
inlineoverride |
Definition at line 69 of file EcalSignalGenerator.h.
|
inlinevirtual |
Definition at line 133 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 177 of file EcalSignalGenerator.h.
|
inlineprivate |
Definition at line 203 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EBDigitizerTraits >::samplesInPE(), and EcalSignalGenerator< EEDigitizerTraits >::samplesInPE().
|
inlineprivate |
Definition at line 190 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EBDigitizerTraits >::samplesInPE(), and EcalSignalGenerator< EEDigitizerTraits >::samplesInPE().
|
inline |
Definition at line 71 of file EcalSignalGenerator.h.
Referenced by PreMixingEcalWorker::addPileups().
|
inline |
some users use EventPrincipals, not Events. We support both
Definition at line 103 of file EcalSignalGenerator.h.
|
inlineprivate |
Definition at line 205 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EBDigitizerTraits >::samplesInPE(), and EcalSignalGenerator< EEDigitizerTraits >::samplesInPE().
|
private |
|
inlineprivate |
Definition at line 167 of file EcalSignalGenerator.h.
|
private |
Definition at line 240 of file EcalSignalGenerator.h.
|
private |
Definition at line 225 of file EcalSignalGenerator.h.
|
private |
Definition at line 228 of file EcalSignalGenerator.h.
|
private |
Definition at line 226 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< ESDigitizerTraits >::samplesInPE().
|
private |
Definition at line 227 of file EcalSignalGenerator.h.
|
private |
Definition at line 229 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< ESDigitizerTraits >::samplesInPE().
|
private |
Definition at line 213 of file EcalSignalGenerator.h.
|
private |
Definition at line 221 of file EcalSignalGenerator.h.
|
private |
Definition at line 223 of file EcalSignalGenerator.h.
|
private |
Definition at line 222 of file EcalSignalGenerator.h.
|
private |
Definition at line 241 of file EcalSignalGenerator.h.
Referenced by EcalSignalGenerator< EBDigitizerTraits >::samplesInPE(), and EcalSignalGenerator< EEDigitizerTraits >::samplesInPE().
|
private |
Definition at line 231 of file EcalSignalGenerator.h.
|
private |
Definition at line 232 of file EcalSignalGenerator.h.
|
private |
Definition at line 237 of file EcalSignalGenerator.h.
|
private |
Definition at line 238 of file EcalSignalGenerator.h.
|
private |
Definition at line 234 of file EcalSignalGenerator.h.
|
private |
Definition at line 235 of file EcalSignalGenerator.h.
|
private |
Definition at line 215 of file EcalSignalGenerator.h.
|
private |
Definition at line 214 of file EcalSignalGenerator.h.
|
private |
Definition at line 243 of file EcalSignalGenerator.h.
|
private |
these fields are set in initializeEvent()
Definition at line 210 of file EcalSignalGenerator.h.
|
private |
Definition at line 211 of file EcalSignalGenerator.h.
|
private |
these come from the ParameterSet
Definition at line 218 of file EcalSignalGenerator.h.
|
private |
Definition at line 219 of file EcalSignalGenerator.h.