|
|
#include <DataMixingModule.h>
|
void | addSignals (const edm::Event &e, const edm::EventSetup &ES) override |
|
void | beginLuminosityBlock (LuminosityBlock const &l1, EventSetup const &c) override |
|
void | beginRun (edm::Run const &run, edm::EventSetup const &eventSetup) override |
|
void | checkSignal (const edm::Event &e) override |
|
void | createnewEDProduct () override |
|
| DataMixingModule (const edm::ParameterSet &ps, MixingCache::Config const *globalConf) |
|
void | doPileUp (edm::Event &e, const edm::EventSetup &ES) override |
|
void | endLuminosityBlock (LuminosityBlock const &l1, EventSetup const &c) override |
|
void | endRun (const edm::Run &r, const edm::EventSetup &setup) override |
|
void | initializeEvent (edm::Event const &e, edm::EventSetup const &eventSetup) override |
|
bool | pileWorker (const edm::EventPrincipal &, int bcr, int EventId, const edm::EventSetup &ES, ModuleCallingContext const *) |
|
void | put (edm::Event &e, const edm::EventSetup &ES) override |
|
| ~DataMixingModule () override |
|
virtual void | addPileups (const int bcr, EventPrincipal *ep, unsigned int eventId, unsigned int worker, const edm::EventSetup &c) |
|
double | averageNumber () const |
|
void | beginLuminosityBlock (const edm::LuminosityBlock &l, const edm::EventSetup &setup) override |
|
void | beginRun (const edm::Run &r, const edm::EventSetup &setup) override |
|
| BMixingModule (const edm::ParameterSet &ps, MixingCache::Config const *globalConf) |
|
void | endLuminosityBlock (const edm::LuminosityBlock &l, const edm::EventSetup &setup) override |
|
void | endRun (const edm::Run &r, const edm::EventSetup &setup) override |
|
virtual void | finalizeEvent (edm::Event &event, const edm::EventSetup &setup) |
|
bool | poisson () const |
|
void | produce (edm::Event &e1, const edm::EventSetup &c) override |
|
virtual void | reload (const edm::EventSetup &setup) |
|
virtual void | setBcrOffset () |
|
virtual void | setSourceOffset (const unsigned int s) |
|
| ~BMixingModule () override |
|
| EDProducer ()=default |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
Definition at line 45 of file DataMixingModule.h.
◆ DataMixingModule()
standard constructor
Definition at line 31 of file DataMixingModule.cc.
106 produces<HBHEDigiCollection>();
107 produces<HODigiCollection>();
108 produces<HFDigiCollection>();
109 produces<ZDCDigiCollection>();
111 produces<QIE10DigiCollection>(
"HFQIE10DigiCollection");
112 produces<QIE11DigiCollection>(
"HBHEQIE11DigiCollection");
115 produces<CaloSamplesCollection>(
"HcalSamples");
118 produces<edm::PCaloHitContainer>(
"HcalHits");
148 produces<DTDigiCollection>();
149 produces<RPCDigiCollection>();
189 produces<std::vector<PileupSummaryInfo>>();
190 produces<int>(
"bunchSpacing");
191 produces<CrossingFramePlaybackInfoNew>();
198 produces<std::vector<reco::GenParticle>>(it_InputTag->label());
References CSCComparatorDigiCollectionDM_, CSCStripDigiCollectionDM_, CSCWireDigiCollectionDM_, DTDigiCollectionDM_, EBDigiCollectionDM_, EBRecHitCollectionDM_, EEDigiCollectionDM_, EERecHitCollectionDM_, EMDigiWorker_, EMWorker_, ESDigiCollectionDM_, ESRecHitCollectionDM_, edm::ParameterSet::exists(), mixOne_sim_on_sim_cfi::GenPUProtonsInputTags, edm::ParameterSet::getParameter(), getSubdetectorNames(), HBHEDigiCollectionDM_, HBHEPileInputTag_, HBHERecHitCollectionDM_, HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, HFDigiCollectionDM_, HFPileInputTag_, HFRecHitCollectionDM_, HODigiCollectionDM_, HOPileInputTag_, HORecHitCollectionDM_, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MergePileup_, MergeTrackerDigis_, MuonWorker_, PixelDigiCollectionDM_, PUWorker_, QIE10DigiCollectionDM_, QIE10PileInputTag_, QIE11DigiCollectionDM_, QIE11PileInputTag_, RPCDigiCollectionDM_, SiPixelWorker_, SiStripDigiCollectionDM_, SiStripRawWorker_, SiStripWorker_, AlCaHLTBitMon_QueryRunRegistry::string, tok_hbhe_, tok_hf_, tok_ho_, tok_qie10_, tok_qie11_, tok_zdc_, useSiStripRawDigi_, ZDCDigiCollectionDM_, ZDCPileInputTag_, and ZDCRecHitCollectionDM_.
◆ ~DataMixingModule()
DataMixingModule::~DataMixingModule |
( |
| ) |
|
|
override |
Default destructor
Definition at line 253 of file DataMixingModule.cc.
References EMDigiWorker_, EMWorker_, HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MergePileup_, MuonWorker_, PUWorker_, SiPixelWorker_, SiStripRawWorker_, SiStripWorker_, and useSiStripRawDigi_.
◆ addSignals()
Reimplemented from edm::BMixingModule.
Definition at line 280 of file DataMixingModule.cc.
283 LogDebug(
"DataMixingModule") <<
"===============> adding MC signals for " <<
e.id();
References AddedPileup_, edm::DataMixingEMWorker::addEMSignals(), edm::DataMixingEMDigiWorker::addEMSignals(), edm::DataMixingHcalWorker::addHcalSignals(), edm::DataMixingHcalDigiWorker::addHcalSignals(), edm::DataMixingHcalDigiWorkerProd::addHcalSignals(), edm::DataMixingMuonWorker::addMuonSignals(), edm::DataMixingSiPixelWorker::addSiPixelSignals(), edm::DataMixingSiStripWorker::addSiStripSignals(), edm::DataMixingSiStripRawWorker::addSiStripSignals(), MillePedeFileConverter_cfg::e, EMDigiWorker_, EMWorker_, HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, LogDebug, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MuonWorker_, SiPixelWorker_, SiStripRawWorker_, SiStripWorker_, and useSiStripRawDigi_.
◆ beginLuminosityBlock()
◆ beginRun()
◆ checkSignal()
void edm::DataMixingModule::checkSignal |
( |
const edm::Event & |
e | ) |
|
|
inlineoverridevirtual |
◆ createnewEDProduct()
void edm::DataMixingModule::createnewEDProduct |
( |
| ) |
|
|
inlineoverridevirtual |
◆ doPileUp()
◆ endLuminosityBlock()
◆ endRun()
◆ getSubdetectorNames()
void DataMixingModule::getSubdetectorNames |
( |
| ) |
|
|
privatevirtual |
◆ initializeEvent()
◆ pileWorker()
Definition at line 317 of file DataMixingModule.cc.
319 InternalContext internalContext(
ep.id(), mcc);
320 ParentContext parentContext(&internalContext);
321 ModuleCallingContext moduleCallingContext(&moduleDescription());
322 ModuleContextSentry moduleContextSentry(&moduleCallingContext, parentContext);
324 LogDebug(
"DataMixingModule") <<
"\n===============> adding pileups from event " <<
ep.id() <<
" for bunchcrossing "
References AddedPileup_, edm::DataMixingEMWorker::addEMPileups(), edm::DataMixingEMDigiWorker::addEMPileups(), edm::DataMixingHcalWorker::addHcalPileups(), edm::DataMixingHcalDigiWorker::addHcalPileups(), edm::DataMixingHcalDigiWorkerProd::addHcalPileups(), edm::DataMixingMuonWorker::addMuonPileups(), edm::DataMixingPileupCopy::addPileupInfo(), edm::DataMixingSiPixelWorker::addSiPixelPileups(), edm::DataMixingSiStripWorker::addSiStripPileups(), edm::DataMixingSiStripRawWorker::addSiStripPileups(), EMDigiWorker_, EMWorker_, SiStripBadComponentsDQMServiceTemplate_cfg::ep, HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, LogDebug, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MergePileup_, MuonWorker_, PUWorker_, edm::BMixingModule::setupPileUpEvent(), SiPixelWorker_, SiStripRawWorker_, SiStripWorker_, and useSiStripRawDigi_.
Referenced by doPileUp().
◆ put()
Reimplemented from edm::BMixingModule.
Definition at line 417 of file DataMixingModule.cc.
422 std::vector<PileupSummaryInfo> ps;
References HLTEgPhaseIITestSequence_cff::bunchSpacing, MillePedeFileConverter_cfg::e, EMDigiWorker_, EMWorker_, edm::DataMixingPileupCopy::getPileupInfo(), HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MergePileup_, MuonWorker_, edm::DataMixingEMWorker::putEM(), edm::DataMixingEMDigiWorker::putEM(), edm::DataMixingHcalWorker::putHcal(), edm::DataMixingHcalDigiWorker::putHcal(), edm::DataMixingHcalDigiWorkerProd::putHcal(), edm::DataMixingMuonWorker::putMuon(), edm::DataMixingPileupCopy::putPileupInfo(), edm::DataMixingSiPixelWorker::putSiPixel(), edm::DataMixingSiStripWorker::putSiStrip(), edm::DataMixingSiStripRawWorker::putSiStrip(), PUWorker_, SiPixelWorker_, SiStripRawWorker_, SiStripWorker_, and useSiStripRawDigi_.
◆ AddedPileup_
bool edm::DataMixingModule::AddedPileup_ |
|
private |
◆ CSCComparatorDigiCollectionDM_
std::string edm::DataMixingModule::CSCComparatorDigiCollectionDM_ |
|
private |
◆ CSCStripDigiCollectionDM_
std::string edm::DataMixingModule::CSCStripDigiCollectionDM_ |
|
private |
◆ CSCWireDigiCollectionDM_
std::string edm::DataMixingModule::CSCWireDigiCollectionDM_ |
|
private |
◆ DTDigiCollectionDM_
std::string edm::DataMixingModule::DTDigiCollectionDM_ |
|
private |
◆ EBDigiCollectionDM_
std::string edm::DataMixingModule::EBDigiCollectionDM_ |
|
private |
◆ EBPileInputTag_
◆ EBRecHitCollectionDM_
std::string edm::DataMixingModule::EBRecHitCollectionDM_ |
|
private |
◆ EEDigiCollectionDM_
std::string edm::DataMixingModule::EEDigiCollectionDM_ |
|
private |
◆ EEPileInputTag_
◆ EERecHitCollectionDM_
std::string edm::DataMixingModule::EERecHitCollectionDM_ |
|
private |
◆ EMDigiWorker_
◆ EMWorker_
◆ ESDigiCollectionDM_
std::string edm::DataMixingModule::ESDigiCollectionDM_ |
|
private |
◆ ESPileInputTag_
◆ ESRecHitCollectionDM_
std::string edm::DataMixingModule::ESRecHitCollectionDM_ |
|
private |
◆ HBHEDigiCollectionDM_
std::string edm::DataMixingModule::HBHEDigiCollectionDM_ |
|
private |
◆ HBHEPileInputTag_
◆ HBHERecHitCollectionDM_
std::string edm::DataMixingModule::HBHERecHitCollectionDM_ |
|
private |
◆ HcalDigiWorker_
◆ HcalDigiWorkerProd_
◆ HcalWorker_
◆ HFDigiCollectionDM_
std::string edm::DataMixingModule::HFDigiCollectionDM_ |
|
private |
◆ HFPileInputTag_
◆ HFRecHitCollectionDM_
std::string edm::DataMixingModule::HFRecHitCollectionDM_ |
|
private |
◆ HODigiCollectionDM_
std::string edm::DataMixingModule::HODigiCollectionDM_ |
|
private |
◆ HOPileInputTag_
◆ HORecHitCollectionDM_
std::string edm::DataMixingModule::HORecHitCollectionDM_ |
|
private |
◆ label_
std::string edm::DataMixingModule::label_ |
|
private |
◆ MergeEMDigis_
bool edm::DataMixingModule::MergeEMDigis_ |
|
private |
◆ MergeHcalDigis_
bool edm::DataMixingModule::MergeHcalDigis_ |
|
private |
◆ MergeHcalDigisProd_
bool edm::DataMixingModule::MergeHcalDigisProd_ |
|
private |
◆ MergePileup_
bool edm::DataMixingModule::MergePileup_ |
|
private |
◆ MergeTrackerDigis_
bool edm::DataMixingModule::MergeTrackerDigis_ |
|
private |
◆ MuonWorker_
◆ PixelDigiCollectionDM_
std::string edm::DataMixingModule::PixelDigiCollectionDM_ |
|
private |
◆ PUWorker_
◆ QIE10DigiCollectionDM_
std::string edm::DataMixingModule::QIE10DigiCollectionDM_ |
|
private |
◆ QIE10PileInputTag_
◆ QIE11DigiCollectionDM_
std::string edm::DataMixingModule::QIE11DigiCollectionDM_ |
|
private |
◆ QIE11PileInputTag_
◆ RPCDigiCollectionDM_
std::string edm::DataMixingModule::RPCDigiCollectionDM_ |
|
private |
◆ SiPixelWorker_
◆ SiStripDigiCollectionDM_
std::string edm::DataMixingModule::SiStripDigiCollectionDM_ |
|
private |
◆ siStripRawDigiSource_
std::string edm::DataMixingModule::siStripRawDigiSource_ |
|
private |
◆ SiStripRawWorker_
◆ SiStripWorker_
◆ Subdetectors_
std::vector<std::string> edm::DataMixingModule::Subdetectors_ |
|
private |
◆ tok_hbhe_
◆ tok_hf_
◆ tok_ho_
◆ tok_qie10_
◆ tok_qie11_
◆ tok_zdc_
◆ useSiStripRawDigi_
bool edm::DataMixingModule::useSiStripRawDigi_ |
|
private |
◆ ZDCDigiCollectionDM_
std::string edm::DataMixingModule::ZDCDigiCollectionDM_ |
|
private |
◆ ZDCPileInputTag_
◆ ZDCRecHitCollectionDM_
std::string edm::DataMixingModule::ZDCRecHitCollectionDM_ |
|
private |
void endRun(const edm::Run &r, const edm::EventSetup &setup) override
std::vector< std::shared_ptr< PileUp > > inputSources_
void endLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &setup) override
static const std::string source("source")
std::string HODigiCollectionDM_
void addEMPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
std::string PixelDigiCollectionDM_
edm::InputTag QIE11PileInputTag_
edm::EDGetTokenT< ZDCDigitizerTraits::DigiCollection > tok_zdc_
std::string CSCStripDigiCollectionDM_
void setupPileUpEvent(const edm::EventSetup &setup)
std::string ZDCRecHitCollectionDM_
void addHcalPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, const edm::EventSetup &ES, ModuleCallingContext const *)
edm::EDGetTokenT< HODigitizerTraits::DigiCollection > tok_ho_
void putEM(edm::Event &e, const edm::EventSetup &ES)
void putHcal(edm::Event &e)
void addHcalSignals(const edm::Event &e, const edm::EventSetup &ES)
void addSiStripPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
edm::InputTag QIE10PileInputTag_
void addMuonSignals(const edm::Event &e)
void addHcalSignals(const edm::Event &e)
std::vector< float > TrueNumInteractions_
std::string SiStripDigiCollectionDM_
void beginLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &setup) override
void addSiPixelPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
std::string QIE10DigiCollectionDM_
DataMixingHcalDigiWorker * HcalDigiWorker_
void addSiStripSignals(const edm::Event &e)
void putHcal(edm::Event &e, const edm::EventSetup &ES)
std::string CSCWireDigiCollectionDM_
std::string RPCDigiCollectionDM_
edm::InputTag ESPileInputTag_
const static unsigned int maxNbSources_
void putPileupInfo(edm::Event &e)
void putMuon(edm::Event &e)
void addEMPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, const edm::EventSetup &ES, ModuleCallingContext const *)
std::string HORecHitCollectionDM_
std::string ZDCDigiCollectionDM_
DataMixingMuonWorker * MuonWorker_
DataMixingSiStripRawWorker * SiStripRawWorker_
edm::InputTag EBPileInputTag_
bool exists(std::string const ¶meterName) const
checks if a parameter exists
std::string EEDigiCollectionDM_
DataMixingSiPixelWorker * SiPixelWorker_
void addHcalPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, const edm::EventSetup &ES, edm::ModuleCallingContext const *)
void putSiStrip(edm::Event &e)
edm::InputTag EEPileInputTag_
std::string HBHEDigiCollectionDM_
void putEM(edm::Event &e)
edm::InputTag HOPileInputTag_
void putSiStrip(edm::Event &e)
DataMixingEMWorker * EMWorker_
std::string ESRecHitCollectionDM_
edm::InputTag HBHEPileInputTag_
void addHcalSignals(const edm::Event &e, const edm::EventSetup &ES)
std::string EBRecHitCollectionDM_
std::string CSCComparatorDigiCollectionDM_
void putHcal(edm::Event &e, const edm::EventSetup &ES)
void addSiStripPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
virtual void getSubdetectorNames()
T getParameter(std::string const &) const
DataMixingPileupCopy * PUWorker_
DataMixingHcalDigiWorkerProd * HcalDigiWorkerProd_
edm::EDGetTokenT< HFDigitizerTraits::DigiCollection > tok_hf_
std::string EERecHitCollectionDM_
std::string QIE11DigiCollectionDM_
std::string DTDigiCollectionDM_
void addEMSignals(const edm::Event &e, const edm::EventSetup &ES)
BMixingModule(const edm::ParameterSet &ps, MixingCache::Config const *globalConf)
std::string HFRecHitCollectionDM_
void addSiPixelSignals(const edm::Event &e)
void addHcalPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
DataMixingEMDigiWorker * EMDigiWorker_
edm::InputTag HFPileInputTag_
void addPileupInfo(const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *mcc)
void addEMSignals(const edm::Event &e)
void getPileupInfo(std::vector< PileupSummaryInfo > &ps, int &bs)
void addSiStripSignals(const edm::Event &e)
edm::EDGetTokenT< HBHEDigitizerTraits::DigiCollection > tok_hbhe_
std::string ESDigiCollectionDM_
void addMuonPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
edm::EDGetTokenT< HcalQIE10DigitizerTraits::DigiCollection > tok_qie10_
edm::EDGetTokenT< HcalQIE11DigitizerTraits::DigiCollection > tok_qie11_
void putSiPixel(edm::Event &e)
DataMixingHcalWorker * HcalWorker_
std::string HFDigiCollectionDM_
bool pileWorker(const edm::EventPrincipal &, int bcr, int EventId, const edm::EventSetup &ES, ModuleCallingContext const *)
edm::InputTag ZDCPileInputTag_
DataMixingSiStripWorker * SiStripWorker_
std::string HBHERecHitCollectionDM_
void beginRun(const edm::Run &r, const edm::EventSetup &setup) override
std::string EBDigiCollectionDM_