#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, compareTotals::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 441 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, RPCRoll::centreOfStrip(), 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(), CSCGeometry::layer(), DTGeometry::layer(), pixelTopology::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, RPCGeometry::roll(), MuonSubdetId::RPC, rpcDigiSimLinkInputTag, rpcSimHitsInputTag, rpcPointValidation_cfi::simHit, str, digitizers_cfi::strip, RPCRoll::strip(), stubsInLayersCntByPdgId, DetId::subdetId(), to_string(), GeomDet::toGlobal(), l1t::RegionalMuonCand::trackFinderType(), and trackingParticleTag.
|
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().