#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(), TFileDirectory::make(), TFileDirectory::mkdir(), OMTFConfiguration::nLayers(), ptByPdgId, rhoByPdgId, rpcDigiSimLinkInputTag, rpcSimHitsInputTag, stubsInLayersCntByPdgId, 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, edm::EventSetup::getHandle(), 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, CSCLayer::centerOfStrip(), RPCRoll::centreOfStrip(), CSCLayer::chamber(), DTLayer::chamber(), MuonSubdetId::CSC, CSCDetId, cscSimHitsInputTag, cscStripDigiSimLinksInputTag, DetId::det(), MuonSubdetId::DT, dtDigiSimLinksInputTag, DTLayerId, dtSimHitsInputTag, EncodedEventId::event(), TrackingParticle::eventId(), firedLayersCntByPdgId, TrackingParticle::g4Tracks(), CSCLayer::geometry(), edm::Event::getByLabel(), OMTFinputMaker::getProcessorPhiZero(), DTChamber::id(), CSCLayer::id(), DTLayer::id(), OMTFConfiguration::isBendingLayer(), edm::Ref< C, T, F >::isNonnull(), phase1PixelTopology::layer, DetId::Muon, omtfConfig, TrackingParticle::parentVertex(), TrackingParticle::pdgId(), PV3DBase< T, PVType, FrameType >::phi(), Geom::Phi< T1, Range >::phi(), point, l1t::RegionalMuonCand::processor(), OMTFConfiguration::procHwPhiToGlobalPhi(), edm::Handle< T >::product(), TrackingParticle::pt(), ptByPdgId, DetId::rawId(), rhoByPdgId, MuonSubdetId::RPC, rpcDigiSimLinkInputTag, rpcSimHitsInputTag, str, RPCRoll::strip(), digitizers_cfi::strip, CSCLayerGeometry::strip(), stubsInLayersCntByPdgId, DetId::subdetId(), cond::impl::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().
|
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().