#include <EventCapture.h>
Public Member Functions | |
void | beginRun (edm::EventSetup const &eventSetup) override |
void | endJob () override |
EventCapture (const edm::ParameterSet &edmCfg, const OMTFConfiguration *omtfConfig, CandidateSimMuonMatcher *candidateSimMuonMatcher, const MuonGeometryTokens &muonGeometryTokens, const GoldenPatternVec< GoldenPattern > *gps=nullptr) | |
void | observeEventBegin (const edm::Event &event) override |
void | observeEventEnd (const edm::Event &event, std::unique_ptr< l1t::RegionalMuonCandBxCollection > &finalCandidates) override |
void | observeProcesorEmulation (unsigned int iProcessor, l1t::tftype mtfType, const std::shared_ptr< OMTFinput > &, const AlgoMuons &algoCandidates, const AlgoMuons &gbCandidates, const std::vector< l1t::RegionalMuonCand > &candMuons) override |
~EventCapture () override | |
Public Member Functions inherited from IOMTFEmulationObserver | |
IOMTFEmulationObserver () | |
virtual | ~IOMTFEmulationObserver () |
Private Attributes | |
std::vector< AlgoMuons > | algoMuonsInProcs |
CandidateSimMuonMatcher * | candidateSimMuonMatcher = nullptr |
std::vector< AlgoMuons > | gbCandidatesInProcs |
const GoldenPatternVec< GoldenPattern > * | goldenPatterns = nullptr |
std::vector< std::shared_ptr< OMTFinput > > | inputInProcs |
const OMTFConfiguration * | omtfConfig = nullptr |
std::vector< edm::Ptr< SimTrack > > | simMuons |
edm::InputTag | simTracksTag |
std::unique_ptr< StubsSimHitsMatcher > | stubsSimHitsMatcher |
Definition at line 20 of file EventCapture.h.
EventCapture::EventCapture | ( | const edm::ParameterSet & | edmCfg, |
const OMTFConfiguration * | omtfConfig, | ||
CandidateSimMuonMatcher * | candidateSimMuonMatcher, | ||
const MuonGeometryTokens & | muonGeometryTokens, | ||
const GoldenPatternVec< GoldenPattern > * | gps = nullptr |
||
) |
Definition at line 22 of file EventCapture.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), omtfConfig, simTracksTag, and stubsSimHitsMatcher.
|
override |
Definition at line 44 of file EventCapture.cc.
|
overridevirtual |
Reimplemented from IOMTFEmulationObserver.
Definition at line 48 of file EventCapture.cc.
References options_cfi::eventSetup, and stubsSimHitsMatcher.
|
overridevirtual |
Implements IOMTFEmulationObserver.
Definition at line 297 of file EventCapture.cc.
References stubsSimHitsMatcher.
|
overridevirtual |
Reimplemented from IOMTFEmulationObserver.
Definition at line 53 of file EventCapture.cc.
References funct::abs(), algoMuonsInProcs, gbCandidatesInProcs, input, inputInProcs, edm::InputTag::label(), edm::Handle< T >::product(), simMuons, and simTracksTag.
|
overridevirtual |
!!!!!!!!!!!!!!!!!!!!!!! TODO dumps all events!!!!!!!!!!!!!!!!!!!!!!!!!!!!
printing
Reimplemented from IOMTFEmulationObserver.
Definition at line 90 of file EventCapture.cc.
References funct::abs(), algoMuonsInProcs, simKBmtfDigis_cfi::bx, candidateSimMuonMatcher, submitPVValidationJobs::dump, gbCandidatesInProcs, CandidateSimMuonMatcher::getMatchingResults(), OMTFinputMaker::getProcessorPhiZero(), goldenPatterns, runTauDisplay::gp, OMTFConfiguration::hwPtToGev(), iEvent, inputInProcs, createfilelist::int, edm::InputTag::label(), phase1PixelTopology::layer, M_PI, OmtfName::name(), l1t::omtf_neg, l1t::omtf_pos, omtfConfig, simMuonQualityAdjusterDigis_cfi::omtfInput, OMTFConfiguration::procHwPhiToGlobalPhi(), simMuons, simTracksTag, and stubsSimHitsMatcher.
|
overridevirtual |
Implements IOMTFEmulationObserver.
Definition at line 76 of file EventCapture.cc.
References algoMuonsInProcs, gbCandidatesInProcs, OMTFConfiguration::getProcIndx(), input, inputInProcs, and omtfConfig.
|
private |
Definition at line 57 of file EventCapture.h.
Referenced by observeEventBegin(), observeEventEnd(), and observeProcesorEmulation().
|
private |
Definition at line 52 of file EventCapture.h.
Referenced by observeEventEnd().
|
private |
Definition at line 58 of file EventCapture.h.
Referenced by observeEventBegin(), observeEventEnd(), and observeProcesorEmulation().
|
private |
Definition at line 50 of file EventCapture.h.
Referenced by observeEventEnd().
|
private |
Definition at line 56 of file EventCapture.h.
Referenced by observeEventBegin(), observeEventEnd(), and observeProcesorEmulation().
|
private |
Definition at line 48 of file EventCapture.h.
Referenced by EventCapture(), observeEventEnd(), and observeProcesorEmulation().
Definition at line 54 of file EventCapture.h.
Referenced by observeEventBegin(), and observeEventEnd().
|
private |
Definition at line 47 of file EventCapture.h.
Referenced by EventCapture(), observeEventBegin(), and observeEventEnd().
|
private |
Definition at line 60 of file EventCapture.h.
Referenced by beginRun(), endJob(), EventCapture(), and observeEventEnd().