1 #ifndef BMixingModule_h
2 #define BMixingModule_h
18 #include "boost/shared_ptr.hpp"
59 virtual void setSourceOffset (
const unsigned int s) {
std::cout <<
"BMixingModule::setSourceOffset must be overwritten!" << std::endl;}
edm::ESWatcher< MixingRcd > parameterWatcher_
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)
virtual void beginRun(edm::Run &r, const edm::EventSetup &setup)
std::vector< float > TrueNumInteractions_
BMixingModule(const edm::ParameterSet &ps)
virtual void put(edm::Event &e, const edm::EventSetup &c)
virtual void checkSignal(const edm::Event &e)
virtual void beginLuminosityBlock(edm::LuminosityBlock &, edm::EventSetup const &)
virtual void setBcrOffset()
static const unsigned int maxNbSources_
virtual void setSourceOffset(const unsigned int s)
virtual void reload(const edm::EventSetup &setup)
double averageNumber() const
virtual void setEventStartInfo(const unsigned int s)
std::vector< boost::shared_ptr< PileUp > > inputSources_
virtual void getEventStartInfo(edm::Event &e, const unsigned int source)
virtual void produce(edm::Event &e1, const edm::EventSetup &c)
virtual void doPileUp(edm::Event &e, const edm::EventSetup &c)
void dropUnwantedBranches(std::vector< std::string > const &wantedBranches)
std::vector< std::string > sourceNames_
void update(edm::EventSetup const &)
virtual void createnewEDProduct()
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")