#include <DQM/TrackerMonitorTrack/src/TrackEfficiencyMonitor.cc>
Public Types | |
enum | SemiCylinder { Up, Down } |
typedef reco::Track | Track |
typedef reco::TrackCollection | TrackCollection |
Public Types inherited from DQMEDAnalyzer | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator > | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Additional Inherited Members | |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static void | globalEndJob (DQMEDAnalyzerGlobalCache const *) |
static void | globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context) |
static void | globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context) |
static std::unique_ptr< DQMEDAnalyzerGlobalCache > | initializeGlobalCache (edm::ParameterSet const &) |
Protected Member Functions inherited from DQMEDAnalyzer | |
uint64_t | meId () const |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
unsigned int | streamId_ |
Monitoring source to measure the track efficiency
Definition at line 40 of file TrackEfficiencyMonitor.h.
Definition at line 42 of file TrackEfficiencyMonitor.h.
Definition at line 43 of file TrackEfficiencyMonitor.h.
|
explicit |
Definition at line 47 of file TrackEfficiencyMonitor.cc.
References conf_, dqmStore_, edm::ParameterSet::getParameter(), isBFieldOff_, muonToken_, theMaxZ_, theRadius_, theSTATracksLabel_, theSTATracksToken_, theTKTracksLabel_, theTKTracksToken_, and trackEfficiency_.
|
override |
Definition at line 67 of file TrackEfficiencyMonitor.cc.
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 276 of file TrackEfficiencyMonitor.cc.
References bField, failedToPropagate, dqm::impl::MonitorElement::Fill(), findDetLayer, edm::EventSetup::get(), get, GlobalMuonPtEtaPhiHighPt, GlobalMuonPtEtaPhiLowPt, iEvent, isBFieldOff_, muon::isGoodMuon(), measurementTrackerHandle, HLT_2018_cff::muon, PDWG_BPHSkim_cff::muons, muonToken_, nCompatibleLayers, TrackCollections2monitor_cff::normalizedChi2, edm::ESHandle< T >::product(), StandaloneMuonPtEtaPhiHighPt, StandaloneMuonPtEtaPhiLowPt, muonTagProbeFilters_cff::staTracks, testSTATracks(), testTrackerTracks(), theNavigation, thePropagator, theSTATracksToken_, theTKTracksToken_, theTracker, theTTrackBuilder, and trackEfficiency_.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 72 of file TrackEfficiencyMonitor.cc.
References HLTSiStripMonitoring_cff::AlgoName, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), conf_, deltaX, TrackEfficiencyMonitor_cfi::deltaXBin, TrackEfficiencyMonitor_cfi::deltaXMax, TrackEfficiencyMonitor_cfi::deltaXMin, deltaY, TrackEfficiencyMonitor_cfi::deltaYBin, TrackEfficiencyMonitor_cfi::deltaYMax, TrackEfficiencyMonitor_cfi::deltaYMin, edm::ParameterSet::getParameter(), GlobalMuonPtEtaPhiHighPt, GlobalMuonPtEtaPhiLowPt, histname, muonCompatibleLayers, TrackEfficiencyMonitor_cfi::muonCompatibleLayersBin, TrackEfficiencyMonitor_cfi::muonCompatibleLayersMax, TrackEfficiencyMonitor_cfi::muonCompatibleLayersMin, muonD0, TrackEfficiencyMonitor_cfi::muonD0Bin, TrackEfficiencyMonitor_cfi::muonD0Max, TrackEfficiencyMonitor_cfi::muonD0Min, muonEta, TrackEfficiencyMonitor_cfi::muonEtaBin, TrackEfficiencyMonitor_cfi::muonEtaMax, TrackEfficiencyMonitor_cfi::muonEtaMin, muonPhi, TrackEfficiencyMonitor_cfi::muonPhiBin, TrackEfficiencyMonitor_cfi::muonPhiMax, TrackEfficiencyMonitor_cfi::muonPhiMin, muonX, TrackEfficiencyMonitor_cfi::muonXBin, TrackEfficiencyMonitor_cfi::muonXMax, TrackEfficiencyMonitor_cfi::muonXMin, muonY, TrackEfficiencyMonitor_cfi::muonYBin, TrackEfficiencyMonitor_cfi::muonYMax, TrackEfficiencyMonitor_cfi::muonYMin, muonZ, TrackEfficiencyMonitor_cfi::muonZBin, TrackEfficiencyMonitor_cfi::muonZMax, TrackEfficiencyMonitor_cfi::muonZMin, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), signDeltaX, TrackEfficiencyMonitor_cfi::signDeltaXBin, TrackEfficiencyMonitor_cfi::signDeltaXMax, TrackEfficiencyMonitor_cfi::signDeltaXMin, signDeltaY, TrackEfficiencyMonitor_cfi::signDeltaYBin, TrackEfficiencyMonitor_cfi::signDeltaYMax, TrackEfficiencyMonitor_cfi::signDeltaYMin, StandaloneMuonPtEtaPhiHighPt, StandaloneMuonPtEtaPhiLowPt, AlCaHLTBitMon_QueryRunRegistry::string, trackCompatibleLayers, TrackEfficiencyMonitor_cfi::trackCompatibleLayersBin, TrackEfficiencyMonitor_cfi::trackCompatibleLayersMax, TrackEfficiencyMonitor_cfi::trackCompatibleLayersMin, trackD0, TrackEfficiencyMonitor_cfi::trackD0Bin, TrackEfficiencyMonitor_cfi::trackD0Max, TrackEfficiencyMonitor_cfi::trackD0Min, trackEta, TrackEfficiencyMonitor_cfi::trackEtaBin, TrackEfficiencyMonitor_cfi::trackEtaMax, TrackEfficiencyMonitor_cfi::trackEtaMin, trackPhi, TrackEfficiencyMonitor_cfi::trackPhiBin, TrackEfficiencyMonitor_cfi::trackPhiMax, TrackEfficiencyMonitor_cfi::trackPhiMin, trackX, TrackEfficiencyMonitor_cfi::trackXBin, TrackEfficiencyMonitor_cfi::trackXMax, TrackEfficiencyMonitor_cfi::trackXMin, trackY, TrackEfficiencyMonitor_cfi::trackYBin, TrackEfficiencyMonitor_cfi::trackYMax, TrackEfficiencyMonitor_cfi::trackYMin, trackZ, TrackEfficiencyMonitor_cfi::trackZBin, TrackEfficiencyMonitor_cfi::trackZMax, and TrackEfficiencyMonitor_cfi::trackZMin.
TrackEfficiencyMonitor::SemiCylinder TrackEfficiencyMonitor::checkSemiCylinder | ( | const Track & | tk | ) |
Definition at line 553 of file TrackEfficiencyMonitor.cc.
References Down, reco::Track::innerPosition(), and Up.
Referenced by testSTATracks(), and testTrackerTracks().
int TrackEfficiencyMonitor::compatibleLayers | ( | const NavigationSchool & | navigationSchool, |
TrajectoryStateOnSurface | theTSOS | ||
) |
Definition at line 606 of file TrackEfficiencyMonitor.cc.
References alongMomentum, Propagator::clone(), findDetLayer, findNextLayer(), TrajectoryStateOnSurface::freeState(), MeasurementTracker::geometricSearchTracker(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), dqmdumpme::k, hgcalTopologyTester_cfi::layers, measurementTrackerHandle, NavigationSchool::nextLayers(), Propagator::propagate(), Propagator::setPropagationDirection(), GeometricSearchDet::surface(), thePropagator, GeometricSearchTracker::tobLayers(), trackCompatibleLayers, and PV3DBase< T, PVType, FrameType >::y().
Referenced by testTrackerTracks().
std::pair< TrajectoryStateOnSurface, const DetLayer * > TrackEfficiencyMonitor::findNextLayer | ( | TrajectoryStateOnSurface | startTSOS, |
const std::vector< const DetLayer * > & | trackCompatibleLayers, | ||
bool | isUpMuon | ||
) |
Definition at line 675 of file TrackEfficiencyMonitor.cc.
References alongMomentum, Propagator::clone(), findDetLayer, TrajectoryStateOnSurface::freeState(), TrajectoryStateOnSurface::isValid(), Propagator::propagate(), Propagator::setPropagationDirection(), thePropagator, and trackCompatibleLayers.
Referenced by compatibleLayers().
void TrackEfficiencyMonitor::testSTATracks | ( | edm::Handle< TrackCollection > | tkTracks, |
edm::Handle< TrackCollection > | staTracks | ||
) |
Definition at line 485 of file TrackEfficiencyMonitor.cc.
References TransientTrackBuilder::build(), checkSemiCylinder(), d0, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), failedToPropagate, dqm::impl::MonitorElement::Fill(), TrajectoryStateOnSurface::globalDirection(), TrajectoryStateOnSurface::globalPosition(), reco::TransientTrack::impactPointState(), reco::TransientTrack::innermostMeasurementState(), PFRecoTauChargedHadronQualityPlugins_cfi::isTrack, TrajectoryStateOnSurface::isValid(), TrajectoryStateOnSurface::localPosition(), muonD0, muonEta, muonPhi, muonX, muonY, muonZ, reco::TransientTrack::outermostMeasurementState(), phi, PV3DBase< T, PVType, FrameType >::phi(), funct::pow(), Propagator::propagate(), muonTagProbeFilters_cff::staTracks, TrajectoryStateOnSurface::surface(), thePropagator, theTTrackBuilder, trackD0, trackEta, trackPhi, trackX, trackY, trackZ, Up, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
void TrackEfficiencyMonitor::testTrackerTracks | ( | edm::Handle< TrackCollection > | tkTracks, |
edm::Handle< TrackCollection > | staTracks, | ||
const NavigationSchool & | navigationSchool | ||
) |
Definition at line 365 of file TrackEfficiencyMonitor.cc.
References TransientTrackBuilder::build(), checkSemiCylinder(), compatibleLayers(), d0, deltaX, deltaY, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), failedToPropagate, dqm::impl::MonitorElement::Fill(), TrajectoryStateOnSurface::globalDirection(), TrajectoryStateOnSurface::globalPosition(), mps_fire::i, reco::TransientTrack::impactPointState(), reco::TransientTrack::innermostMeasurementState(), PFRecoTauChargedHadronQualityPlugins_cfi::isTrack, TrajectoryStateOnSurface::isValid(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), metname, muonCompatibleLayers, muonD0, muonEta, muonPhi, muonX, muonY, muonZ, nCompatibleLayers, TrackCollections2monitor_cff::numberOfValidHits, reco::TransientTrack::outermostMeasurementState(), phi, PV3DBase< T, PVType, FrameType >::phi(), LocalTrajectoryError::positionError(), funct::pow(), Propagator::propagate(), signDeltaX, signDeltaY, muonTagProbeFilters_cff::staTracks, AlCaHLTBitMon_QueryRunRegistry::string, TrajectoryStateOnSurface::surface(), theMaxZ_, thePropagator, theRadius_, theTTrackBuilder, trackCompatibleLayers, trackD0, trackerAcceptance(), trackEta, trackPhi, trackX, trackY, trackZ, Up, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
bool TrackEfficiencyMonitor::trackerAcceptance | ( | TrajectoryStateOnSurface | theTSOS, |
double | theRadius, | ||
double | theMaxZ | ||
) |
Definition at line 560 of file TrackEfficiencyMonitor.cc.
References accept(), alongMomentum, Cylinder::build(), Propagator::clone(), TrajectoryStateOnSurface::freeState(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), oppositeToMomentum, Propagator::propagate(), Propagator::setPropagationDirection(), TrackEfficiencyMonitor_cfi::theMaxZ, thePropagator, TrackEfficiencyMonitor_cfi::theRadius, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by testTrackerTracks().
|
private |
Definition at line 116 of file TrackEfficiencyMonitor.h.
Referenced by analyze().
|
private |
Definition at line 67 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), and TrackEfficiencyMonitor().
|
private |
Definition at line 100 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), and testTrackerTracks().
|
private |
Definition at line 101 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), and testTrackerTracks().
|
private |
Definition at line 66 of file TrackEfficiencyMonitor.h.
Referenced by TrackEfficiencyMonitor().
|
private |
Definition at line 80 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 82 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), compatibleLayers(), and findNextLayer().
|
private |
Definition at line 106 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 104 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 64 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 71 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and TrackEfficiencyMonitor().
|
private |
Definition at line 118 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and compatibleLayers().
|
private |
Definition at line 90 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), and testTrackerTracks().
|
private |
Definition at line 89 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 87 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 88 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 110 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and TrackEfficiencyMonitor().
|
private |
Definition at line 84 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 85 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 86 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 81 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and testTrackerTracks().
|
private |
Definition at line 102 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), and testTrackerTracks().
|
private |
Definition at line 103 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), and testTrackerTracks().
|
private |
Definition at line 107 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 105 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 111 of file TrackEfficiencyMonitor.h.
|
private |
Definition at line 70 of file TrackEfficiencyMonitor.h.
Referenced by testTrackerTracks(), and TrackEfficiencyMonitor().
|
private |
Definition at line 109 of file TrackEfficiencyMonitor.h.
|
private |
Definition at line 108 of file TrackEfficiencyMonitor.h.
Referenced by analyze().
|
private |
Definition at line 112 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), compatibleLayers(), findNextLayer(), testSTATracks(), testTrackerTracks(), and trackerAcceptance().
|
private |
Definition at line 113 of file TrackEfficiencyMonitor.h.
|
private |
Definition at line 69 of file TrackEfficiencyMonitor.h.
Referenced by testTrackerTracks(), and TrackEfficiencyMonitor().
|
private |
Definition at line 76 of file TrackEfficiencyMonitor.h.
Referenced by TrackEfficiencyMonitor().
|
private |
Definition at line 78 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and TrackEfficiencyMonitor().
|
private |
Definition at line 75 of file TrackEfficiencyMonitor.h.
Referenced by TrackEfficiencyMonitor().
|
private |
Definition at line 77 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and TrackEfficiencyMonitor().
|
private |
Definition at line 115 of file TrackEfficiencyMonitor.h.
Referenced by analyze().
|
private |
Definition at line 114 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 98 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), compatibleLayers(), findNextLayer(), and testTrackerTracks().
|
private |
Definition at line 97 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 72 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and TrackEfficiencyMonitor().
|
private |
Definition at line 95 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 96 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 92 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 93 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 94 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), testSTATracks(), and testTrackerTracks().