#include <DQM/TrackerMonitorTrack/src/TrackEfficiencyMonitor.cc>
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 41 of file TrackEfficiencyMonitor.h.
Definition at line 43 of file TrackEfficiencyMonitor.h.
Definition at line 44 of file TrackEfficiencyMonitor.h.
|
explicit |
Definition at line 38 of file TrackEfficiencyMonitor.cc.
References conf_, dqmStore_, edm::ParameterSet::getParameter(), iConfig, isBFieldOff_, muonToken_, Utilities::operator, theMaxZ_, theRadius_, theSTATracksLabel_, theSTATracksToken_, theTKTracksLabel_, theTKTracksToken_, and trackEfficiency_.
|
override |
Definition at line 64 of file TrackEfficiencyMonitor.cc.
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 273 of file TrackEfficiencyMonitor.cc.
References bField, failedToPropagate, dqm::impl::MonitorElement::Fill(), findDetLayer, edm::EventSetup::getData(), edm::Event::getHandle(), GlobalMuonPtEtaPhiHighPt, GlobalMuonPtEtaPhiLowPt, gstToken_, isBFieldOff_, muon::isGoodMuon(), edm::HandleBase::isValid(), measurementTracker, mfToken_, mtToken_, HLT_FULL_cff::muon, patZpeak::muons, muonToken_, navToken_, nCompatibleLayers, HLT_FULL_cff::normalizedChi2, propToken_, StandaloneMuonPtEtaPhiHighPt, StandaloneMuonPtEtaPhiLowPt, muonTagProbeFilters_cff::staTracks, testSTATracks(), testTrackerTracks(), theNavigation, thePropagator, theSTATracksToken_, theTKTracksToken_, theTracker, theTTrackBuilder, trackEfficiency_, and ttbToken_.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 69 of file TrackEfficiencyMonitor.cc.
References HLT_FULL_cff::AlgoName, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), conf_, deltaX, deltaY, edm::ParameterSet::getParameter(), GlobalMuonPtEtaPhiHighPt, GlobalMuonPtEtaPhiLowPt, histname, muonCompatibleLayers, muonD0, muonEta, muonPhi, muonX, muonY, muonZ, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), signDeltaX, signDeltaY, StandaloneMuonPtEtaPhiHighPt, StandaloneMuonPtEtaPhiLowPt, AlCaHLTBitMon_QueryRunRegistry::string, trackCompatibleLayers, trackD0, trackEta, trackPhi, trackX, trackY, and trackZ.
TrackEfficiencyMonitor::SemiCylinder TrackEfficiencyMonitor::checkSemiCylinder | ( | const Track & | tk | ) |
Definition at line 546 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 599 of file TrackEfficiencyMonitor.cc.
References alongMomentum, Propagator::clone(), findDetLayer, findNextLayer(), TrajectoryStateOnSurface::freeState(), MeasurementTracker::geometricSearchTracker(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), isotrackApplyRegressor::k, LayerTriplets::layers(), measurementTracker, 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 668 of file TrackEfficiencyMonitor.cc.
References alongMomentum, Propagator::clone(), findDetLayer, TrajectoryStateOnSurface::freeState(), TrajectoryStateOnSurface::isValid(), Propagator::propagate(), Propagator::setPropagationDirection(), and thePropagator.
Referenced by compatibleLayers().
void TrackEfficiencyMonitor::testSTATracks | ( | edm::Handle< TrackCollection > | tkTracks, |
edm::Handle< TrackCollection > | staTracks | ||
) |
Definition at line 478 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(), 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 358 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, HLT_FULL_cff::numberOfValidHits, reco::TransientTrack::outermostMeasurementState(), phi, PV3DBase< T, PVType, FrameType >::phi(), LocalTrajectoryError::positionError(), funct::pow(), Propagator::propagate(), signDeltaX, signDeltaY, 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 553 of file TrackEfficiencyMonitor.cc.
References accept(), alongMomentum, Cylinder::build(), Propagator::clone(), TrajectoryStateOnSurface::freeState(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), oppositeToMomentum, Propagator::propagate(), Propagator::setPropagationDirection(), thePropagator, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by testTrackerTracks().
|
private |
Definition at line 124 of file TrackEfficiencyMonitor.h.
Referenced by analyze().
|
private |
Definition at line 68 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), and TrackEfficiencyMonitor().
|
private |
Definition at line 101 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), and testTrackerTracks().
|
private |
Definition at line 102 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), and testTrackerTracks().
|
private |
Definition at line 67 of file TrackEfficiencyMonitor.h.
Referenced by TrackEfficiencyMonitor().
|
private |
Definition at line 81 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 83 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), compatibleLayers(), and findNextLayer().
|
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 115 of file TrackEfficiencyMonitor.h.
Referenced by analyze().
|
private |
Definition at line 65 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 72 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and TrackEfficiencyMonitor().
|
private |
Definition at line 125 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and compatibleLayers().
|
private |
Definition at line 116 of file TrackEfficiencyMonitor.h.
Referenced by analyze().
|
private |
Definition at line 117 of file TrackEfficiencyMonitor.h.
Referenced by analyze().
|
private |
Definition at line 91 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), and testTrackerTracks().
|
private |
Definition at line 90 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 89 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 119 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and TrackEfficiencyMonitor().
|
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 87 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 114 of file TrackEfficiencyMonitor.h.
Referenced by analyze().
|
private |
Definition at line 82 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and testTrackerTracks().
|
private |
Definition at line 113 of file TrackEfficiencyMonitor.h.
Referenced by analyze().
|
private |
Definition at line 103 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), and testTrackerTracks().
|
private |
Definition at line 104 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), and testTrackerTracks().
|
private |
Definition at line 108 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 106 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 71 of file TrackEfficiencyMonitor.h.
Referenced by testTrackerTracks(), and TrackEfficiencyMonitor().
|
private |
Definition at line 110 of file TrackEfficiencyMonitor.h.
|
private |
Definition at line 109 of file TrackEfficiencyMonitor.h.
Referenced by analyze().
|
private |
Definition at line 121 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), compatibleLayers(), findNextLayer(), testSTATracks(), testTrackerTracks(), and trackerAcceptance().
|
private |
Definition at line 70 of file TrackEfficiencyMonitor.h.
Referenced by testTrackerTracks(), and TrackEfficiencyMonitor().
|
private |
Definition at line 77 of file TrackEfficiencyMonitor.h.
Referenced by TrackEfficiencyMonitor().
|
private |
Definition at line 79 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), 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 123 of file TrackEfficiencyMonitor.h.
Referenced by analyze().
|
private |
Definition at line 122 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 99 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), compatibleLayers(), and testTrackerTracks().
|
private |
Definition at line 98 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 73 of file TrackEfficiencyMonitor.h.
Referenced by analyze(), and TrackEfficiencyMonitor().
|
private |
Definition at line 96 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 97 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().
|
private |
Definition at line 95 of file TrackEfficiencyMonitor.h.
Referenced by bookHistograms(), testSTATracks(), and testTrackerTracks().
|
private |
Definition at line 112 of file TrackEfficiencyMonitor.h.
Referenced by analyze().