#include <DataMixingEcalDigiWorkerProd.h>
Public Member Functions | |
void | addEcalPileups (const int bcr, const edm::EventPrincipal *, unsigned int EventId, const edm::EventSetup &ES, edm::ModuleCallingContext const *) |
void | addEcalSignals (const edm::Event &e, const edm::EventSetup &ES) |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) |
void | beginRun (const edm::EventSetup &ES) |
DataMixingEcalDigiWorkerProd (const edm::ParameterSet &ps, edm::ConsumesCollector &iC) | |
void | initializeEvent (const edm::Event &e, const edm::EventSetup &ES) |
void | putEcal (edm::Event &e, const edm::EventSetup &ES) |
void | setEBAccess (edm::EDGetTokenT< EBDigitizerTraits::DigiCollection > tok) |
void | setEEAccess (edm::EDGetTokenT< EEDigitizerTraits::DigiCollection > tok) |
void | setESAccess (edm::EDGetTokenT< ESDigitizerTraits::DigiCollection > tok) |
virtual | ~DataMixingEcalDigiWorkerProd () |
Private Attributes | |
std::string | EBDigiCollectionDM_ |
edm::InputTag | EBPileInputTag_ |
std::string | EEDigiCollectionDM_ |
edm::InputTag | EEPileInputTag_ |
std::string | ESDigiCollectionDM_ |
edm::InputTag | ESPileInputTag_ |
std::string | label_ |
const double | m_EBs25notCont |
const double | m_EEs25notCont |
const double | m_peToABarrel |
const double | m_peToAEndcap |
EcalDigiProducer * | myEcalDigitizer_ |
EBSignalGenerator | theEBSignalGenerator |
EESignalGenerator | theEESignalGenerator |
ESSignalGenerator | theESSignalGenerator |
edm::EDGetTokenT < EBDigitizerTraits::DigiCollection > | tok_eb_ |
edm::EDGetTokenT < EEDigitizerTraits::DigiCollection > | tok_ee_ |
edm::EDGetTokenT < ESDigitizerTraits::DigiCollection > | tok_es_ |
Definition at line 43 of file DataMixingEcalDigiWorkerProd.h.
|
explicit |
standard constructor
Definition at line 16 of file DataMixingEcalDigiWorkerProd.cc.
References EBDigiCollectionDM_, EBPileInputTag_, EEDigiCollectionDM_, EEPileInputTag_, ESDigiCollectionDM_, ESPileInputTag_, edm::ParameterSet::getParameter(), m_EBs25notCont, m_EEs25notCont, m_peToABarrel, m_peToAEndcap, myEcalDigitizer_, AlCaHLTBitMon_QueryRunRegistry::string, theEBSignalGenerator, theEESignalGenerator, theESSignalGenerator, tok_eb_, tok_ee_, and tok_es_.
|
virtual |
Default destructor
Definition at line 53 of file DataMixingEcalDigiWorkerProd.cc.
References myEcalDigitizer_.
void DataMixingEcalDigiWorkerProd::addEcalPileups | ( | const int | bcr, |
const edm::EventPrincipal * | ep, | ||
unsigned int | EventId, | ||
const edm::EventSetup & | ES, | ||
edm::ModuleCallingContext const * | mcc | ||
) |
Definition at line 70 of file DataMixingEcalDigiWorkerProd.cc.
References EcalSignalGenerator< ECALDIGITIZERTRAITS >::fill(), edm::EventPrincipal::id(), EcalSignalGenerator< ECALDIGITIZERTRAITS >::initializeEvent(), LogDebug, theEBSignalGenerator, theEESignalGenerator, and theESSignalGenerator.
void DataMixingEcalDigiWorkerProd::addEcalSignals | ( | const edm::Event & | e, |
const edm::EventSetup & | ES | ||
) |
Definition at line 64 of file DataMixingEcalDigiWorkerProd.cc.
References EcalDigiProducer::accumulate(), and myEcalDigitizer_.
void DataMixingEcalDigiWorkerProd::beginLuminosityBlock | ( | edm::LuminosityBlock const & | lumi, |
edm::EventSetup const & | setup | ||
) |
Definition at line 94 of file DataMixingEcalDigiWorkerProd.cc.
References EcalDigiProducer::beginLuminosityBlock(), and myEcalDigitizer_.
void DataMixingEcalDigiWorkerProd::beginRun | ( | const edm::EventSetup & | ES | ) |
Definition at line 57 of file DataMixingEcalDigiWorkerProd.cc.
void DataMixingEcalDigiWorkerProd::initializeEvent | ( | const edm::Event & | e, |
const edm::EventSetup & | ES | ||
) |
Definition at line 60 of file DataMixingEcalDigiWorkerProd.cc.
References EcalDigiProducer::initializeEvent(), and myEcalDigitizer_.
void DataMixingEcalDigiWorkerProd::putEcal | ( | edm::Event & | e, |
const edm::EventSetup & | ES | ||
) |
Definition at line 86 of file DataMixingEcalDigiWorkerProd.cc.
References EcalDigiProducer::finalizeEvent(), and myEcalDigitizer_.
|
inline |
Definition at line 59 of file DataMixingEcalDigiWorkerProd.h.
References tok_eb_.
|
inline |
Definition at line 60 of file DataMixingEcalDigiWorkerProd.h.
References tok_ee_.
|
inline |
Definition at line 61 of file DataMixingEcalDigiWorkerProd.h.
References tok_es_.
|
private |
Definition at line 79 of file DataMixingEcalDigiWorkerProd.h.
Referenced by DataMixingEcalDigiWorkerProd().
|
private |
Definition at line 75 of file DataMixingEcalDigiWorkerProd.h.
Referenced by DataMixingEcalDigiWorkerProd().
|
private |
Definition at line 80 of file DataMixingEcalDigiWorkerProd.h.
Referenced by DataMixingEcalDigiWorkerProd().
|
private |
Definition at line 76 of file DataMixingEcalDigiWorkerProd.h.
Referenced by DataMixingEcalDigiWorkerProd().
|
private |
Definition at line 81 of file DataMixingEcalDigiWorkerProd.h.
Referenced by DataMixingEcalDigiWorkerProd().
|
private |
Definition at line 77 of file DataMixingEcalDigiWorkerProd.h.
Referenced by DataMixingEcalDigiWorkerProd().
|
private |
Definition at line 97 of file DataMixingEcalDigiWorkerProd.h.
|
private |
Definition at line 87 of file DataMixingEcalDigiWorkerProd.h.
Referenced by DataMixingEcalDigiWorkerProd().
|
private |
Definition at line 88 of file DataMixingEcalDigiWorkerProd.h.
Referenced by DataMixingEcalDigiWorkerProd().
|
private |
Definition at line 89 of file DataMixingEcalDigiWorkerProd.h.
Referenced by DataMixingEcalDigiWorkerProd().
|
private |
Definition at line 90 of file DataMixingEcalDigiWorkerProd.h.
Referenced by DataMixingEcalDigiWorkerProd().
|
private |
Definition at line 92 of file DataMixingEcalDigiWorkerProd.h.
Referenced by addEcalSignals(), beginLuminosityBlock(), DataMixingEcalDigiWorkerProd(), initializeEvent(), putEcal(), and ~DataMixingEcalDigiWorkerProd().
|
private |
Definition at line 93 of file DataMixingEcalDigiWorkerProd.h.
Referenced by addEcalPileups(), and DataMixingEcalDigiWorkerProd().
|
private |
Definition at line 94 of file DataMixingEcalDigiWorkerProd.h.
Referenced by addEcalPileups(), and DataMixingEcalDigiWorkerProd().
|
private |
Definition at line 95 of file DataMixingEcalDigiWorkerProd.h.
Referenced by addEcalPileups(), and DataMixingEcalDigiWorkerProd().
|
private |
Definition at line 83 of file DataMixingEcalDigiWorkerProd.h.
Referenced by DataMixingEcalDigiWorkerProd(), and setEBAccess().
|
private |
Definition at line 84 of file DataMixingEcalDigiWorkerProd.h.
Referenced by DataMixingEcalDigiWorkerProd(), and setEEAccess().
|
private |
Definition at line 85 of file DataMixingEcalDigiWorkerProd.h.
Referenced by DataMixingEcalDigiWorkerProd(), and setESAccess().