|
|
Go to the documentation of this file.
64 : EBPileInputTag_(ps.getParameter<
edm::
InputTag>(
"EBPileInputTag")),
65 EEPileInputTag_(ps.getParameter<
edm::
InputTag>(
"EEPileInputTag")),
66 ESPileInputTag_(ps.getParameter<
edm::
InputTag>(
"ESPileInputTag")),
70 m_EBs25notCont(ps.getParameter<double>(
"EBs25notContainment")),
71 m_EEs25notCont(ps.getParameter<double>(
"EEs25notContainment")),
72 m_peToABarrel(ps.getParameter<double>(
"photoelectronsToAnalogBarrel")),
73 m_peToAEndcap(ps.getParameter<double>(
"photoelectronsToAnalogEndcap")),
74 m_timeDependent(ps.getParameter<
bool>(
"timeDependent")),
76 EBPileInputTag_, tok_eb_, m_EBs25notCont, m_EEs25notCont, m_peToABarrel, m_peToAEndcap, m_timeDependent),
78 EEPileInputTag_, tok_ee_, m_EBs25notCont, m_EEs25notCont, m_peToABarrel, m_peToAEndcap, m_timeDependent),
79 theESSignalGenerator(ESPileInputTag_, tok_es_, m_EBs25notCont, m_EEs25notCont, m_peToABarrel, m_peToAEndcap),
80 myEcalDigitizer_(ps, iC) {
103 LogDebug(
"PreMixingEcalWorker") <<
"\n===============> adding pileups from event " << pep.
principal().
id()
118 std::vector<PileupSummaryInfo>
const &ps,
void accumulate(edm::Event const &e, edm::EventSetup const &c) override
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override
void addPileups(PileUpEventPrincipal const &pep, edm::EventSetup const &es) override
void put(edm::Event &e, edm::EventSetup const &iSetup, std::vector< PileupSummaryInfo > const &ps, int bs) override
void initializeEvent(edm::Event const &e, edm::EventSetup const &ES) override
EcalDigiProducer myEcalDigitizer_
std::string ESDigiCollectionDM_
EBSignalGenerator theEBSignalGenerator
edm::InputTag EEPileInputTag_
int bunchCrossing() const
edm::InputTag ESPileInputTag_
edm::EDGetTokenT< EEDigitizerTraits::DigiCollection > tok_ee_
EventID const & id() const
const double m_EBs25notCont
edm::InputTag EBPileInputTag_
edm::ModuleCallingContext const * moduleCallingContext() const
const double m_peToAEndcap
const double m_EEs25notCont
void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
~PreMixingEcalWorker() override=default
const bool m_timeDependent
edm::EventPrincipal const & principal()
edm::EDGetTokenT< EBDigitizerTraits::DigiCollection > tok_eb_
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override
virtual void fill(edm::ModuleCallingContext const *mcc)
PreMixingEcalWorker(const edm::ParameterSet &ps, edm::ProducesCollector, edm::ConsumesCollector &&iC)
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
ESSignalGenerator theESSignalGenerator
void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
T getParameter(std::string const &) const
PreMixingEcalWorker & operator=(const PreMixingEcalWorker &)=delete
edm::EDGetTokenT< ESDigitizerTraits::DigiCollection > tok_es_
void setESNoiseSignalGenerator(EcalBaseSignalGenerator *noiseGenerator)
void addSignals(edm::Event const &e, edm::EventSetup const &ES) override
#define DEFINE_PREMIXING_WORKER(TYPE)
std::string EBDigiCollectionDM_
EESignalGenerator theEESignalGenerator
void initializeEvent(const edm::Event *event, const edm::EventSetup *eventSetup)
void setEENoiseSignalGenerator(EcalBaseSignalGenerator *noiseGenerator)
std::string EEDigiCollectionDM_
const double m_peToABarrel
void setEBNoiseSignalGenerator(EcalBaseSignalGenerator *noiseGenerator)