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 
18 #include <boost/property_tree/ptree.hpp>
19 
20 #include <memory>
21 #include <vector>
22 
23 namespace edm {
24  class Event;
25 } /* namespace edm */
26 
28 public:
30  virtual ~IOMTFEmulationObserver();
31 
32  virtual void beginRun(edm::EventSetup const& eventSetup) {}
33 
34  virtual void observeProcesorBegin(unsigned int iProcessor, l1t::tftype mtfType){};
35 
36  virtual void addProcesorData(std::string key, boost::property_tree::ptree& procDataTree){};
37 
38  virtual void observeProcesorEmulation(unsigned int iProcessor,
39  l1t::tftype mtfType,
40  const std::shared_ptr<OMTFinput>& input,
41  const AlgoMuons& algoCandidates,
42  const AlgoMuons& gbCandidates,
43  const std::vector<l1t::RegionalMuonCand>& candMuons) = 0;
44 
45  virtual void observeEventBegin(const edm::Event& iEvent){};
46 
47  virtual void observeEventEnd(const edm::Event& iEvent,
48  std::unique_ptr<l1t::RegionalMuonCandBxCollection>& finalCandidates){};
49 
50  virtual void endJob() = 0;
51 };
52 
53 #endif /* L1T_OmtfP1_IOMTFRECONSTRUCTIONOBSERVER_H_ */
virtual void observeProcesorBegin(unsigned int iProcessor, l1t::tftype mtfType)
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 addProcesorData(std::string key, boost::property_tree::ptree &procDataTree)
key
prepare the HTCondor submission files and eventually submit them
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:176
HLT enums.
virtual void observeEventBegin(const edm::Event &iEvent)