CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PreMixingWorker.h
Go to the documentation of this file.
1 #ifndef SimGeneral_PreMixingModule_PreMixingWorker_h
2 #define SimGeneral_PreMixingModule_PreMixingWorker_h
3 
5 
6 #include <vector>
7 
8 namespace edm {
9  class ModuleCallingContext;
10 }
11 class PileupSummaryInfo;
13 
15 public:
16  PreMixingWorker() = default;
17  virtual ~PreMixingWorker() = default;
18 
19  virtual void beginRun(edm::Run const& iRun, edm::EventSetup const& iSetup) {}
20  virtual void endRun() {}
21  virtual void beginLuminosityBlock(edm::LuminosityBlock const& iLumi, edm::EventSetup const& iSetup) {}
22  virtual void initializeBunchCrossing(edm::Event const& iEvent, edm::EventSetup const& iSetup, int bunchCrossing) {}
23  virtual void finalizeBunchCrossing(edm::Event& iEvent, edm::EventSetup const& iSetup, int bunchCrossing) {}
24 
25  virtual void initializeEvent(edm::Event const& iEvent, edm::EventSetup const& iSetup) = 0;
26  virtual void addSignals(edm::Event const& iEvent, edm::EventSetup const& iSetup) = 0;
27  virtual void addPileups(PileUpEventPrincipal const& pep, edm::EventSetup const& iSetup) = 0;
28  virtual void put(edm::Event& iEvent,
29  edm::EventSetup const& iSetup,
30  std::vector<PileupSummaryInfo> const& ps,
31  int bunchSpacing) = 0;
32 };
33 
34 #endif
virtual void finalizeBunchCrossing(edm::Event &iEvent, edm::EventSetup const &iSetup, int bunchCrossing)
virtual void addSignals(edm::Event const &iEvent, edm::EventSetup const &iSetup)=0
int iEvent
Definition: GenABIO.cc:224
virtual void beginRun(edm::Run const &iRun, edm::EventSetup const &iSetup)
PreMixingWorker()=default
virtual void addPileups(PileUpEventPrincipal const &pep, edm::EventSetup const &iSetup)=0
virtual void endRun()
virtual void initializeEvent(edm::Event const &iEvent, edm::EventSetup const &iSetup)=0
virtual void beginLuminosityBlock(edm::LuminosityBlock const &iLumi, edm::EventSetup const &iSetup)
virtual ~PreMixingWorker()=default
virtual void put(edm::Event &iEvent, edm::EventSetup const &iSetup, std::vector< PileupSummaryInfo > const &ps, int bunchSpacing)=0
Definition: Run.h:45
virtual void initializeBunchCrossing(edm::Event const &iEvent, edm::EventSetup const &iSetup, int bunchCrossing)