1 #ifndef BMixingModule_h
2 #define BMixingModule_h
18 #include "boost/shared_ptr.hpp"
56 virtual void setSourceOffset (
const unsigned int s) {
std::cout <<
"BMixingModule::setSourceOffset must be overwritten!" << std::endl;}
81 std::vector<EventPrincipalVector>
pileup_[4];
virtual void addPileups(const int bcr, EventPrincipal *ep, unsigned int eventId, unsigned int worker, const edm::EventSetup &c)
virtual void addSignals(const edm::Event &e, const edm::EventSetup &c)
std::vector< EventPrincipalVector > pileup_[4]
BMixingModule(const edm::ParameterSet &ps)
std::vector< std::vector< edm::EventID > > vectorEventIDs_
void merge(const int bcr, const EventPrincipalVector &vec, unsigned int worker, const edm::EventSetup &c)
virtual void put(edm::Event &e, const edm::EventSetup &c)
virtual void checkSignal(const edm::Event &e)
PileUp::EventPrincipalVector EventPrincipalVector
VectorInputSource::EventPrincipalVector EventPrincipalVector
virtual void setBcrOffset()
static const unsigned int maxNbSources_
std::vector< edm::EventID > eventIDs_
std::vector< unsigned int > nrEvents_
virtual void setSourceOffset(const unsigned int s)
boost::shared_ptr< PileUp > cosmics_
double averageNumber() const
virtual void setEventStartInfo(const unsigned int s)
boost::shared_ptr< PileUp > beamHalo_m_
virtual void getEventStartInfo(edm::Event &e, const unsigned int source)
virtual void produce(edm::Event &e1, const edm::EventSetup &c)
boost::shared_ptr< PileUp > input_
virtual void doPileUp(edm::Event &e, const edm::EventSetup &c)
std::vector< int > fileSeqNrs_
void dropUnwantedBranches(std::vector< std::string > const &wantedBranches)
virtual void createnewEDProduct()
boost::shared_ptr< PileUp > beamHalo_p_