#include <StubsSimHitsMatcher.h>
Classes | |
class | MatchedTrackInfo |
Public Member Functions | |
void | beginRun (edm::EventSetup const &eventSetup) |
void | endJob () |
void | match (const edm::Event &iEvent, const l1t::RegionalMuonCand *omtfCand, const AlgoMuonPtr &procMuon, std::ostringstream &ostr) |
StubsSimHitsMatcher (const edm::ParameterSet &edmCfg, const OMTFConfiguration *omtfConfig, const MuonGeometryTokens &muonGeometryTokens) | |
virtual | ~StubsSimHitsMatcher () |
Private Attributes | |
edm::ESHandle< CSCGeometry > | _geocsc |
edm::ESHandle< DTGeometry > | _geodt |
unsigned long long | _geom_cache_id = 0 |
edm::ESHandle< RPCGeometry > | _georpc |
TH1I * | allMatchedTracksPdgIds = nullptr |
TH1I * | bestMatchedTracksPdgIds = nullptr |
edm::InputTag | cscSimHitsInputTag |
edm::InputTag | cscStripDigiSimLinksInputTag |
edm::InputTag | dtDigiSimLinksInputTag |
edm::InputTag | dtSimHitsInputTag |
TH2I * | firedLayersCntByPdgId = nullptr |
edm::ESWatcher< MuonGeometryRecord > | muonGeometryRecordWatcher |
const MuonGeometryTokens & | muonGeometryTokens |
const OMTFConfiguration * | omtfConfig |
TH2I * | ptByPdgId = nullptr |
TH2I * | rhoByPdgId = nullptr |
edm::InputTag | rpcDigiSimLinkInputTag |
edm::InputTag | rpcSimHitsInputTag |
TH2I * | stubsInLayersCntByPdgId = nullptr |
edm::InputTag | trackingParticleTag |
Definition at line 30 of file StubsSimHitsMatcher.h.
StubsSimHitsMatcher::StubsSimHitsMatcher | ( | const edm::ParameterSet & | edmCfg, |
const OMTFConfiguration * | omtfConfig, | ||
const MuonGeometryTokens & | muonGeometryTokens | ||
) |
Definition at line 35 of file StubsSimHitsMatching.cc.
References allMatchedTracksPdgIds, bestMatchedTracksPdgIds, cscSimHitsInputTag, cscStripDigiSimLinksInputTag, dtDigiSimLinksInputTag, dtSimHitsInputTag, firedLayersCntByPdgId, make_classfiles::fs, edm::ParameterSet::getParameter(), OMTFConfiguration::nLayers(), omtfConfig, ptByPdgId, rhoByPdgId, rpcDigiSimLinkInputTag, rpcSimHitsInputTag, stubsInLayersCntByPdgId, PostProcessorHcalIsoTrack_cfi::subDir, and trackingParticleTag.
|
virtual |
Definition at line 84 of file StubsSimHitsMatching.cc.
void StubsSimHitsMatcher::beginRun | ( | edm::EventSetup const & | eventSetup | ) |
Definition at line 86 of file StubsSimHitsMatching.cc.
References _geocsc, _geodt, _georpc, edm::ESWatcher< T >::check(), MuonGeometryTokens::cscGeometryEsToken, MuonGeometryTokens::dtGeometryEsToken, options_cfi::eventSetup, muonGeometryRecordWatcher, muonGeometryTokens, and MuonGeometryTokens::rpcGeometryEsToken.
void StubsSimHitsMatcher::endJob | ( | void | ) |
Definition at line 432 of file StubsSimHitsMatching.cc.
void StubsSimHitsMatcher::match | ( | const edm::Event & | iEvent, |
const l1t::RegionalMuonCand * | omtfCand, | ||
const AlgoMuonPtr & | procMuon, | ||
std::ostringstream & | ostr | ||
) |
Definition at line 94 of file StubsSimHitsMatching.cc.
References _geocsc, _geodt, _georpc, funct::abs(), allMatchedTracksPdgIds, bestMatchedTracksPdgIds, relativeConstraints::chamber, CSCGeometry::chamber(), DTGeometry::chamber(), MuonSubdetId::CSC, cscSimHitsInputTag, cscStripDigiSimLinksInputTag, DetId::det(), MuonSubdetId::DT, dtDigiSimLinksInputTag, dtSimHitsInputTag, EncodedEventId::event(), TrackingParticle::eventId(), firedLayersCntByPdgId, TrackingParticle::g4Tracks(), OMTFinputMaker::getProcessorPhiZero(), iEvent, OMTFConfiguration::isBendingLayer(), edm::Ref< C, T, F >::isNonnull(), nano_mu_digi_cff::layer, CSCGeometry::layer(), DTGeometry::layer(), DetId::Muon, omtfConfig, cosmicMuonLinks_cfi::parentTrack, TrackingParticle::parentVertex(), TrackingParticle::pdgId(), point, l1t::RegionalMuonCand::processor(), OMTFConfiguration::procHwPhiToGlobalPhi(), edm::Handle< T >::product(), TrackingParticle::pt(), ptByPdgId, DetId::rawId(), rhoByPdgId, nano_mu_digi_cff::roll, RPCGeometry::roll(), MuonSubdetId::RPC, rpcDigiSimLinkInputTag, rpcSimHitsInputTag, rpcPointValidation_cfi::simHit, str, nano_mu_digi_cff::strip, stubsInLayersCntByPdgId, DetId::subdetId(), to_string(), l1t::RegionalMuonCand::trackFinderType(), trackingParticleTag, and nano_mu_digi_cff::wire.
|
private |
Definition at line 90 of file StubsSimHitsMatcher.h.
Referenced by beginRun(), and match().
|
private |
Definition at line 91 of file StubsSimHitsMatcher.h.
Referenced by beginRun(), and match().
|
private |
Definition at line 88 of file StubsSimHitsMatcher.h.
|
private |
Definition at line 89 of file StubsSimHitsMatcher.h.
Referenced by beginRun(), and match().
|
private |
Definition at line 93 of file StubsSimHitsMatcher.h.
Referenced by match(), and StubsSimHitsMatcher().
|
private |
Definition at line 94 of file StubsSimHitsMatcher.h.
Referenced by match(), and StubsSimHitsMatcher().
|
private |
Definition at line 74 of file StubsSimHitsMatcher.h.
Referenced by match(), and StubsSimHitsMatcher().
|
private |
Definition at line 78 of file StubsSimHitsMatcher.h.
Referenced by match(), and StubsSimHitsMatcher().
|
private |
Definition at line 79 of file StubsSimHitsMatcher.h.
Referenced by match(), and StubsSimHitsMatcher().
|
private |
Definition at line 75 of file StubsSimHitsMatcher.h.
Referenced by match(), and StubsSimHitsMatcher().
|
private |
Definition at line 97 of file StubsSimHitsMatcher.h.
Referenced by match(), and StubsSimHitsMatcher().
|
private |
Definition at line 85 of file StubsSimHitsMatcher.h.
Referenced by beginRun().
|
private |
Definition at line 83 of file StubsSimHitsMatcher.h.
Referenced by beginRun().
|
private |
Definition at line 71 of file StubsSimHitsMatcher.h.
Referenced by match(), and StubsSimHitsMatcher().
|
private |
Definition at line 98 of file StubsSimHitsMatcher.h.
Referenced by match(), and StubsSimHitsMatcher().
|
private |
Definition at line 100 of file StubsSimHitsMatcher.h.
Referenced by match(), and StubsSimHitsMatcher().
|
private |
Definition at line 77 of file StubsSimHitsMatcher.h.
Referenced by match(), and StubsSimHitsMatcher().
|
private |
Definition at line 73 of file StubsSimHitsMatcher.h.
Referenced by match(), and StubsSimHitsMatcher().
|
private |
Definition at line 96 of file StubsSimHitsMatcher.h.
Referenced by match(), and StubsSimHitsMatcher().
|
private |
Definition at line 81 of file StubsSimHitsMatcher.h.
Referenced by match(), and StubsSimHitsMatcher().