71 m_peToABarrel(ps.getParameter<double>(
"photoelectronsToAnalogBarrel")),
72 m_peToAEndcap(ps.getParameter<double>(
"photoelectronsToAnalogEndcap")),
99 LogDebug(
"PreMixingEcalWorker") <<
"\n===============> adding pileups from event " << pep.
principal().
id()
114 std::vector<PileupSummaryInfo>
const &ps,
BranchAliasSetterT< ProductType > produces()
declare what type of product will make and with which optional label
int bunchCrossing() const
T getParameter(std::string const &) 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)
edm::EDGetTokenT< EBDigitizerTraits::DigiCollection > tok_eb_
EventID const & id() const
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override
std::string EEDigiCollectionDM_
edm::EDGetTokenT< EEDigitizerTraits::DigiCollection > tok_ee_
def setup(process, global_tag, zero_tesla=False)
void addPileups(PileUpEventPrincipal const &pep, edm::EventSetup const &es) override
PreMixingEcalWorker(const edm::ParameterSet &ps, edm::ProducerBase &producer, edm::ConsumesCollector &&iC)
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
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
edm::EDGetTokenT< ESDigitizerTraits::DigiCollection > tok_es_
PreMixingEcalWorker & operator=(const PreMixingEcalWorker &)=delete
edm::InputTag EBPileInputTag_
edm::ModuleCallingContext const * moduleCallingContext() const
edm::InputTag EEPileInputTag_
const double m_peToABarrel
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