CMS 3D CMS Logo

EmulationObserverBase.h
Go to the documentation of this file.
1 /*
2  * EmulationObserverBase.h
3  *
4  * Created on: Aug 18, 2021
5  * Author: kbunkow
6  */
7 
8 #ifndef L1T_OmtfP1_TOOLS_EMULATIONOBSERVERBASE_H_
9 #define L1T_OmtfP1_TOOLS_EMULATIONOBSERVERBASE_H_
10 
12 
17 
19 public:
21 
22  ~EmulationObserverBase() override;
23 
24  void observeProcesorEmulation(unsigned int iProcessor,
25  l1t::tftype mtfType,
26  const std::shared_ptr<OMTFinput>& input,
27  const AlgoMuons& algoCandidates,
28  const AlgoMuons& gbCandidates,
29  const std::vector<l1t::RegionalMuonCand>& candMuons) override;
30 
31  void observeEventBegin(const edm::Event& iEvent) override;
32 
33  //void observeEventEnd(const edm::Event& iEvent,
34  // std::unique_ptr<l1t::RegionalMuonCandBxCollection>& finalCandidates) override;
35 
36  //void endJob() override;
37 
38  const SimTrack* findSimMuon(const edm::Event& event, const SimTrack* previous = nullptr);
39 
40 protected:
43 
44  const SimTrack* simMuon = nullptr;
45 
46  //candidate found by omtf in a given event
48 
50 
51  //AlgoMuons algoCandidates;
52 
53  unsigned int candProcIndx = 0;
54 };
55 
56 #endif /* INTERFACE_TOOLS_EMULATIONOBSERVERBASE_H_ */
AlgoMuons::value_type omtfCand
EmulationObserverBase(const edm::ParameterSet &edmCfg, const OMTFConfiguration *omtfConfig)
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) override
static std::string const input
Definition: EdmProvDump.cc:47
int iEvent
Definition: GenABIO.cc:224
l1t::RegionalMuonCand regionalMuonCand
const SimTrack * findSimMuon(const edm::Event &event, const SimTrack *previous=nullptr)
void observeEventBegin(const edm::Event &iEvent) override
std::vector< AlgoMuonPtr > AlgoMuons
Definition: AlgoMuon.h:102
const OMTFConfiguration * omtfConfig
Definition: event.py:1