17 EBPileInputTag_(ps.getParameter<edm::
InputTag>(
"EBPileInputTag")),
18 EEPileInputTag_(ps.getParameter<edm::
InputTag>(
"EEPileInputTag")),
19 ESPileInputTag_(ps.getParameter<edm::
InputTag>(
"ESPileInputTag")),
20 m_EBs25notCont(ps.getParameter<double>(
"EBs25notContainment") ) ,
21 m_EEs25notCont(ps.getParameter<double>(
"EEs25notContainment") ) ,
22 m_peToABarrel(ps.getParameter<double>(
"photoelectronsToAnalogBarrel") ) ,
23 m_peToAEndcap(ps.getParameter<double>(
"photoelectronsToAnalogEndcap") ) ,
24 label_(ps.getParameter<std::
string>(
"Label"))
73 LogDebug(
"DataMixingEcalDigiWorkerProd") <<
"\n===============> adding pileups from event "<<ep->
id()<<
" for bunchcrossing "<<bcr;
virtual void accumulate(edm::Event const &e, edm::EventSetup const &c)
T getParameter(std::string const &) const
const double m_peToAEndcap
EcalSignalGenerator< EBDigitizerTraits > EBSignalGenerator
edm::InputTag ESPileInputTag_
virtual void fill(edm::ModuleCallingContext const *mcc)
const double m_EEs25notCont
void putEcal(edm::Event &e, const edm::EventSetup &ES)
const double m_EBs25notCont
virtual ~DataMixingEcalDigiWorkerProd()
EBSignalGenerator theEBSignalGenerator
EventID const & id() const
const double m_peToABarrel
edm::EDGetTokenT< ESDigitizerTraits::DigiCollection > tok_es_
virtual void initializeEvent(edm::Event const &e, edm::EventSetup const &c)
std::string EEDigiCollectionDM_
EESignalGenerator theEESignalGenerator
edm::EDGetTokenT< EEDigitizerTraits::DigiCollection > tok_ee_
void initializeEvent(const edm::Event *event, const edm::EventSetup *eventSetup)
ESSignalGenerator theESSignalGenerator
edm::EDGetTokenT< EBDigitizerTraits::DigiCollection > tok_eb_
virtual void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override
EcalDigiProducer * myEcalDigitizer_
EcalSignalGenerator< ESDigitizerTraits > ESSignalGenerator
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &setup)
std::string ESDigiCollectionDM_
virtual void finalizeEvent(edm::Event &e, edm::EventSetup const &c)
void beginRun(const edm::EventSetup &ES)
std::string EBDigiCollectionDM_
EcalSignalGenerator< EEDigitizerTraits > EESignalGenerator
edm::InputTag EEPileInputTag_
void addEcalSignals(const edm::Event &e, const edm::EventSetup &ES)
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
void addEcalPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, const edm::EventSetup &ES, edm::ModuleCallingContext const *)
edm::InputTag EBPileInputTag_
void initializeEvent(const edm::Event &e, const edm::EventSetup &ES)