9 #include <boost/bind.hpp>
29 label_(ps.getParameter<std::string>(
"Label"))
94 produces< DTDigiCollection >();
95 produces< RPCDigiCollection >();
152 produces< HBHEDigiCollection >();
153 produces< HODigiCollection >();
154 produces< HFDigiCollection >();
155 produces< ZDCDigiCollection >();
188 produces< DTDigiCollection >();
189 produces< RPCDigiCollection >();
199 ps.
getParameter<std::string>(
"SiStripRawDigiSource")==
"PILEUP" ||
200 ps.
getParameter<std::string>(
"SiStripRawDigiSource")==
"SIGNAL" :
false;
291 LogDebug(
"DataMixingModule")<<
"===============> adding MC signals for "<<e.
id();
329 LogDebug(
"DataMixingModule") <<
"\n===============> adding pileups from event "<<ep.
id()<<
" for bunchcrossing "<<bcr;
367 std::vector<edm::EventID> recordEventID;
368 std::vector<int> PileupList;
373 for (
unsigned int isource=0;isource<
maxNbSources_;++isource) {
375 if (not source
or not source->doPileUp())
381 int NumPU_Events = 0;
383 NumPU_Events = PileupList[bunchCrossing -
minBunch_];
393 _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_
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)
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)