60 : EBPileInputTag_(ps.getParameter<edm::
InputTag>(
"EBPileInputTag")),
61 EEPileInputTag_(ps.getParameter<edm::
InputTag>(
"EEPileInputTag")),
62 ESPileInputTag_(ps.getParameter<edm::
InputTag>(
"ESPileInputTag")),
63 m_EBs25notCont(ps.getParameter<double>(
"EBs25notContainment")),
64 m_EEs25notCont(ps.getParameter<double>(
"EEs25notContainment")),
65 m_peToABarrel(ps.getParameter<double>(
"photoelectronsToAnalogBarrel")),
66 m_peToAEndcap(ps.getParameter<double>(
"photoelectronsToAnalogEndcap")),
67 m_timeDependent(ps.getParameter<bool>(
"timeDependent")),
69 iC, EBPileInputTag_, m_EBs25notCont, m_EEs25notCont, m_peToABarrel, m_peToAEndcap, m_timeDependent),
71 iC, EEPileInputTag_, m_EBs25notCont, m_EEs25notCont, m_peToABarrel, m_peToAEndcap, m_timeDependent),
72 theESSignalGenerator(iC, ESPileInputTag_, m_EBs25notCont, m_EEs25notCont, m_peToABarrel, m_peToAEndcap),
73 myEcalDigitizer_(ps, iC) {
96 LogDebug(
"PreMixingEcalWorker") <<
"\n===============> adding pileups from event " << pep.
principal().
id()
111 std::vector<PileupSummaryInfo>
const &ps,
int bunchCrossing() const
const double m_EBs25notCont
const double m_EEs25notCont
void initializeEvent(edm::Event const &e, edm::EventSetup const &ES) override
virtual void fill(edm::ModuleCallingContext const *mcc)
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
EventID const & id() const
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override
std::string EEDigiCollectionDM_
void addPileups(PileUpEventPrincipal const &pep, edm::EventSetup const &es) override
void addSignals(edm::Event const &e, edm::EventSetup const &ES) override
void setEENoiseSignalGenerator(EcalBaseSignalGenerator *noiseGenerator)
void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
std::string ESDigiCollectionDM_
ESSignalGenerator theESSignalGenerator
edm::EventPrincipal const & principal()
void setEBNoiseSignalGenerator(EcalBaseSignalGenerator *noiseGenerator)
void setESNoiseSignalGenerator(EcalBaseSignalGenerator *noiseGenerator)
std::string EBDigiCollectionDM_
void accumulate(edm::Event const &e, edm::EventSetup const &c) override
PreMixingEcalWorker(const edm::ParameterSet &ps, edm::ProducesCollector, edm::ConsumesCollector &&iC)
void initializeEvent(const edm::Event *event, const edm::EventSetup *eventSetup)
edm::InputTag ESPileInputTag_
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override
EcalDigiProducer myEcalDigitizer_
EESignalGenerator theEESignalGenerator
~PreMixingEcalWorker() override=default
T getParameter(std::string const &) const
PreMixingEcalWorker & operator=(const PreMixingEcalWorker &)=delete
edm::InputTag EBPileInputTag_
edm::ModuleCallingContext const * moduleCallingContext() const
edm::InputTag EEPileInputTag_
const double m_peToABarrel
const bool m_timeDependent
const double m_peToAEndcap
void put(edm::Event &e, edm::EventSetup const &iSetup, std::vector< PileupSummaryInfo > const &ps, int bs) override
#define DEFINE_PREMIXING_WORKER(TYPE)
void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
EBSignalGenerator theEBSignalGenerator