9 #include <boost/bind.hpp>
29 label_(ps.getParameter<std::
string>(
"Label"))
86 produces< DTDigiCollection >();
87 produces< RPCDigiCollection >();
144 produces< HBHEDigiCollection >();
145 produces< HODigiCollection >();
146 produces< HFDigiCollection >();
147 produces< ZDCDigiCollection >();
180 produces< DTDigiCollection >();
181 produces< RPCDigiCollection >();
223 produces< std::vector<PileupSummaryInfo> >();
224 produces<CrossingFramePlaybackInfoExtended>();
294 LogDebug(
"DataMixingModule")<<
"===============> adding MC signals for "<<e.
id();
334 LogDebug(
"DataMixingModule") <<
"\n===============> adding pileups from event "<<ep.
id()<<
" for bunchcrossing "<<bcr;
384 std::vector<edm::EventID> recordEventID;
385 std::vector<int> PileupList;
390 for (
unsigned int isource=0;isource<
maxNbSources_;++isource) {
392 if (not source
or not source->doPileUp())
398 int NumPU_Events = 0;
400 NumPU_Events = PileupList[bunchCrossing -
minBunch_];
410 _1, bunchCrossing, _2, boost::cref(ES)),
T getParameter(std::string const &) const
void addMuonSignals(const edm::Event &e)
std::string HFDigiCollectionDM_
void addHcalSignals(const edm::Event &e, const edm::EventSetup &ES)
void addHcalPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, const edm::EventSetup &ES)
void putEM(edm::Event &e)
void addSiStripSignals(const edm::Event &e)
void addHcalSignals(const edm::Event &e)
void addSiPixelPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId)
std::string HBHERecHitCollectionDM_
std::string ZDCRecHitCollectionDM_
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
void addEMSignals(const edm::Event &e)
void addHcalPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId)
DataMixingGeneralTrackWorker * GeneralTrackWorker_
std::string CSCStripDigiCollectionDM_
void putPileupInfo(edm::Event &e)
std::vector< float > TrueNumInteractions_
EventID const & id() const
bool exists(std::string const ¶meterName) const
checks if a parameter exists
std::string SiStripDigiCollectionDM_
std::string CSCWireDigiCollectionDM_
void putEM(edm::Event &e, const edm::EventSetup &ES)
DataMixingSiStripRawWorker * SiStripRawWorker_
DataMixingSiPixelWorker * SiPixelWorker_
std::string RPCDigiCollectionDM_
void addSiStripPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId)
void putHcal(edm::Event &e, const edm::EventSetup &ES)
std::string ZDCDigiCollectionDM_
void addGeneralTrackPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId)
DataMixingHcalDigiWorker * HcalDigiWorker_
DataMixingEMWorker * EMWorker_
std::string GeneralTrackCollectionDM_
virtual void addSignals(const edm::Event &e, const edm::EventSetup &ES)
void addHcalPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, const edm::EventSetup &ES)
static const unsigned int maxNbSources_
void addEMPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, const edm::EventSetup &ES)
void addGeneralTrackSignals(const edm::Event &e)
DataMixingPileupCopy * PUWorker_
void putSiPixel(edm::Event &e)
void addEMPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId)
void addSiStripPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId)
virtual void doPileUp(edm::Event &e, const edm::EventSetup &ES)
std::string HORecHitCollectionDM_
DataMixingMuonWorker * MuonWorker_
void putSiStrip(edm::Event &e)
virtual void getSubdetectorNames()
std::string EEDigiCollectionDM_
std::string HFRecHitCollectionDM_
std::string HBHEDigiCollectionDM_
std::string EBRecHitCollectionDM_
std::string CSCComparatorDigiCollectionDM_
void putHcal(edm::Event &e, const edm::EventSetup &ES)
void putHcal(edm::Event &e)
void addMuonPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId)
std::vector< boost::shared_ptr< PileUp > > inputSources_
DataMixingSiStripWorker * SiStripWorker_
std::string ESRecHitCollectionDM_
std::string EERecHitCollectionDM_
std::string ESDigiCollectionDM_
std::string DTDigiCollectionDM_
void addSiStripSignals(const edm::Event &e)
std::string EBDigiCollectionDM_
virtual ~DataMixingModule()
DataMixingHcalWorker * HcalWorker_
std::string HODigiCollectionDM_
std::string PixelDigiCollectionDM_
DataMixingHcalDigiWorkerProd * HcalDigiWorkerProd_
void putMuon(edm::Event &e)
void putGeneralTrack(edm::Event &e)
void addEMSignals(const edm::Event &e, const edm::EventSetup &ES)
void addHcalSignals(const edm::Event &e, const edm::EventSetup &ES)
void pileWorker(const edm::EventPrincipal &, int bcr, int EventId, const edm::EventSetup &ES)
DataMixingEMDigiWorker * EMDigiWorker_
void addSiPixelSignals(const edm::Event &e)
void putSiStrip(edm::Event &e)
virtual void put(edm::Event &e, const edm::EventSetup &ES)
void addPileupInfo(const edm::EventPrincipal *, unsigned int EventId)