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,
29  edm::EventSetup const& iSetup,
30  std::vector<PileupSummaryInfo> const& ps,
31  int bunchSpacing) = 0;
32 };
33 
34 #endif
PreMixingWorker::initializeBunchCrossing
virtual void initializeBunchCrossing(edm::Event const &iEvent, edm::EventSetup const &iSetup, int bunchCrossing)
Definition: PreMixingWorker.h:22
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
edm
HLT enums.
Definition: AlignableModifier.h:19
PreMixingWorker::beginRun
virtual void beginRun(edm::Run const &iRun, edm::EventSetup const &iSetup)
Definition: PreMixingWorker.h:19
PileUpEventPrincipal
Definition: PileUpEventPrincipal.h:19
PreMixingWorker::~PreMixingWorker
virtual ~PreMixingWorker()=default
PreMixingWorker::beginLuminosityBlock
virtual void beginLuminosityBlock(edm::LuminosityBlock const &iLumi, edm::EventSetup const &iSetup)
Definition: PreMixingWorker.h:21
PreMixingWorker::finalizeBunchCrossing
virtual void finalizeBunchCrossing(edm::Event &iEvent, edm::EventSetup const &iSetup, int bunchCrossing)
Definition: PreMixingWorker.h:23
PreMixingWorker::initializeEvent
virtual void initializeEvent(edm::Event const &iEvent, edm::EventSetup const &iSetup)=0
PreMixingWorker::endRun
virtual void endRun()
Definition: PreMixingWorker.h:20
PreMixingWorker::PreMixingWorker
PreMixingWorker()=default
HLTEgPhaseIITestSequence_cff.bunchSpacing
bunchSpacing
Definition: HLTEgPhaseIITestSequence_cff.py:1574
iEvent
int iEvent
Definition: GenABIO.cc:224
PreMixingWorker::addSignals
virtual void addSignals(edm::Event const &iEvent, edm::EventSetup const &iSetup)=0
edm::EventSetup
Definition: EventSetup.h:58
PreMixingWorker::addPileups
virtual void addPileups(PileUpEventPrincipal const &pep, edm::EventSetup const &iSetup)=0
Frameworkfwd.h
PreMixingWorker
Definition: PreMixingWorker.h:14
edm::Event
Definition: Event.h:73
PileupSummaryInfo
Definition: PileupSummaryInfo.h:22
PreMixingWorker::put
virtual void put(edm::Event &iEvent, edm::EventSetup const &iSetup, std::vector< PileupSummaryInfo > const &ps, int bunchSpacing)=0