CMS 3D CMS Logo

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, edm::EventSetup const& iSetup, std::vector<PileupSummaryInfo> const& ps, int bunchSpacing) = 0;
29 };
30 
31 #endif
virtual void finalizeBunchCrossing(edm::Event &iEvent, edm::EventSetup const &iSetup, int bunchCrossing)
void put(edm::Event &evt, double value, const char *instanceName)
int iEvent
Definition: GenABIO.cc:230
virtual void beginRun(edm::Run const &iRun, edm::EventSetup const &iSetup)
virtual void endRun()
virtual void beginLuminosityBlock(edm::LuminosityBlock const &iLumi, edm::EventSetup const &iSetup)
HLT enums.
Definition: Run.h:44
virtual void initializeBunchCrossing(edm::Event const &iEvent, edm::EventSetup const &iSetup, int bunchCrossing)