#include <EmulationObserverBase.h>
Public Member Functions | |
EmulationObserverBase (const edm::ParameterSet &edmCfg, const OMTFConfiguration *omtfConfig) | |
const SimTrack * | findSimMuon (const edm::Event &event, const SimTrack *previous=nullptr) |
void | observeEventBegin (const edm::Event &iEvent) override |
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 |
~EmulationObserverBase () override | |
Public Member Functions inherited from IOMTFEmulationObserver | |
virtual void | beginRun (edm::EventSetup const &eventSetup) |
virtual void | endJob ()=0 |
IOMTFEmulationObserver () | |
virtual void | observeEventEnd (const edm::Event &iEvent, std::unique_ptr< l1t::RegionalMuonCandBxCollection > &finalCandidates) |
virtual | ~IOMTFEmulationObserver () |
Protected Attributes | |
unsigned int | candProcIndx = 0 |
edm::ParameterSet | edmCfg |
AlgoMuons::value_type | omtfCand |
const OMTFConfiguration * | omtfConfig |
l1t::RegionalMuonCand | regionalMuonCand |
const SimTrack * | simMuon = nullptr |
Definition at line 18 of file EmulationObserverBase.h.
EmulationObserverBase::EmulationObserverBase | ( | const edm::ParameterSet & | edmCfg, |
const OMTFConfiguration * | omtfConfig | ||
) |
Definition at line 12 of file EmulationObserverBase.cc.
|
override |
Definition at line 15 of file EmulationObserverBase.cc.
const SimTrack * EmulationObserverBase::findSimMuon | ( | const edm::Event & | event, |
const SimTrack * | previous = nullptr |
||
) |
Definition at line 74 of file EmulationObserverBase.cc.
References electronAnalyzer_cfi::DeltaR, edmCfg, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, CoreSimTrack::momentum(), callgraph::previous, mps_fire::result, and CoreSimTrack::type().
Referenced by observeEventBegin().
|
overridevirtual |
Reimplemented from IOMTFEmulationObserver.
Definition at line 66 of file EmulationObserverBase.cc.
References candProcIndx, findSimMuon(), iEvent, omtfCand, and simMuon.
|
overridevirtual |
Implements IOMTFEmulationObserver.
Definition at line 19 of file EmulationObserverBase.cc.
References candProcIndx, OMTFConfiguration::getProcIndx(), mps_fire::i, omtfCand, omtfConfig, and regionalMuonCand.
|
protected |
Definition at line 53 of file EmulationObserverBase.h.
Referenced by observeEventBegin(), DataROOTDumper2::observeEventEnd(), observeProcesorEmulation(), and PatternGenerator::updateStat().
|
protected |
Definition at line 41 of file EmulationObserverBase.h.
Referenced by PatternGenerator::endJob(), PatternOptimizerBase::endJob(), findSimMuon(), PatternGenerator::PatternGenerator(), and PatternOptimizerBase::PatternOptimizerBase().
|
protected |
Definition at line 47 of file EmulationObserverBase.h.
Referenced by observeEventBegin(), PatternGenerator::observeEventEnd(), PatternOptimizerBase::observeEventEnd(), DataROOTDumper2::observeEventEnd(), observeProcesorEmulation(), and PatternGenerator::updateStat().
|
protected |
Definition at line 42 of file EmulationObserverBase.h.
Referenced by DataROOTDumper2::DataROOTDumper2(), PatternOptimizerBase::endJob(), PatternGenerator::groupPatterns(), PatternGenerator::modifyClassProb(), PatternOptimizerBase::observeEventEnd(), DataROOTDumper2::observeEventEnd(), observeProcesorEmulation(), PatternOptimizerBase::printPatterns(), PatternGenerator::reCalibratePt(), PatternOptimizerBase::savePatternsInRoot(), PatternGenerator::upadatePdfs(), and PatternGenerator::updateStat().
|
protected |
Definition at line 49 of file EmulationObserverBase.h.
Referenced by DataROOTDumper2::observeEventEnd(), and observeProcesorEmulation().
|
protected |
Definition at line 44 of file EmulationObserverBase.h.
Referenced by observeEventBegin(), PatternGenerator::observeEventEnd(), PatternOptimizerBase::observeEventEnd(), DataROOTDumper2::observeEventEnd(), and PatternGenerator::updateStat().