CMS 3D CMS Logo

IOMTFEmulationObserver.h
Go to the documentation of this file.
1 /*
2  * IOMTFReconstructionObserver.h
3  *
4  * Created on: Oct 12, 2017
5  * Author: kbunkow
6  */
7 
8 #ifndef L1T_OmtfP1_IOMTFRECONSTRUCTIONOBSERVER_H_
9 #define L1T_OmtfP1_IOMTFRECONSTRUCTIONOBSERVER_H_
10 
13 
17 #include <memory>
18 #include <vector>
19 
20 namespace edm {
21  class Event;
22 } /* namespace edm */
23 
25 public:
27  virtual ~IOMTFEmulationObserver();
28 
29  virtual void beginRun(edm::EventSetup const& eventSetup) {}
30 
31  virtual void observeProcesorEmulation(unsigned int iProcessor,
32  l1t::tftype mtfType,
33  const std::shared_ptr<OMTFinput>& input,
34  const AlgoMuons& algoCandidates,
35  const AlgoMuons& gbCandidates,
36  const std::vector<l1t::RegionalMuonCand>& candMuons) = 0;
37 
38  virtual void observeEventBegin(const edm::Event& iEvent){};
39 
40  virtual void observeEventEnd(const edm::Event& iEvent,
41  std::unique_ptr<l1t::RegionalMuonCandBxCollection>& finalCandidates){};
42 
43  virtual void endJob() = 0;
44 };
45 
46 #endif /* L1T_OmtfP1_IOMTFRECONSTRUCTIONOBSERVER_H_ */
static std::string const input
Definition: EdmProvDump.cc:50
int iEvent
Definition: GenABIO.cc:224
virtual void observeProcesorEmulation(unsigned int iProcessor, l1t::tftype mtfType, const std::shared_ptr< OMTFinput > &input, const AlgoMuons &algoCandidates, const AlgoMuons &gbCandidates, const std::vector< l1t::RegionalMuonCand > &candMuons)=0
virtual void observeEventEnd(const edm::Event &iEvent, std::unique_ptr< l1t::RegionalMuonCandBxCollection > &finalCandidates)
virtual void beginRun(edm::EventSetup const &eventSetup)
virtual void endJob()=0
std::vector< AlgoMuonPtr > AlgoMuons
Definition: AlgoMuon.h:102
HLT enums.
virtual void observeEventBegin(const edm::Event &iEvent)