#include <TrackBuildingAnalyzer.h>
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
using | MVACollection = std::vector< float > |
using | QualityMaskCollection = std::vector< unsigned char > |
Public Member Functions | |
void | analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup, const TrajectorySeed &seed, const SeedStopInfo &stopInfo, const reco::BeamSpot &bs, const MagneticField &theMF, const TransientTrackingRecHitBuilder &theTTRHBuilder) |
void | analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup, const TrackCandidate &candidate, const reco::BeamSpot &bs, const MagneticField &theMF, const TransientTrackingRecHitBuilder &theTTRHBuilder) |
void | analyze (const edm::View< reco::Track > &trackCollection, const std::vector< const MVACollection *> &mvaCollections, const std::vector< const QualityMaskCollection *> &qualityMaskCollections) |
void | analyze (const reco::CandidateView ®ionCandidates) |
void | analyze (const std::vector< std::unique_ptr< TrackingRegion >> ®ions) |
void | analyze (const TrackingRegionsSeedingLayerSets ®ions) |
void | initHisto (DQMStore::IBooker &ibooker, const edm::ParameterSet &) |
TrackBuildingAnalyzer (const edm::ParameterSet &) | |
~TrackBuildingAnalyzer ()=default | |
Private Member Functions | |
template<typename T > | |
void | analyzeRegions (const T ®ions) |
void | bookHistos (std::string sname, DQMStore::IBooker &ibooker) |
void | fillHistos (const edm::EventSetup &iSetup, const reco::Track &track, std::string sname) |
Monitoring source for general quantities related to tracks.
Definition at line 36 of file TrackBuildingAnalyzer.h.
Definition at line 38 of file TrackBuildingAnalyzer.h.
Definition at line 39 of file TrackBuildingAnalyzer.h.
using TrackBuildingAnalyzer::MVACollection = std::vector<float> |
Definition at line 40 of file TrackBuildingAnalyzer.h.
using TrackBuildingAnalyzer::QualityMaskCollection = std::vector<unsigned char> |
Definition at line 41 of file TrackBuildingAnalyzer.h.
TrackBuildingAnalyzer::TrackBuildingAnalyzer | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 23 of file TrackBuildingAnalyzer.cc.
|
default |
void TrackBuildingAnalyzer::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
const TrajectorySeed & | seed, | ||
const SeedStopInfo & | stopInfo, | ||
const reco::BeamSpot & | bs, | ||
const MagneticField & | theMF, | ||
const TransientTrackingRecHitBuilder & | theTTRHBuilder | ||
) |
Definition at line 493 of file TrackBuildingAnalyzer.cc.
References cms::cuda::bs, SeedStopInfo::candidatesPerSeed(), funct::cos(), doAllSeedPlots, doDxy, doDz, doETA, doNRecHits, doPHI, doPHIVsETA, doProfETA, doProfPHI, doPT, doQ, doStopSource, doTheta, PVValHelper::dxy, PVValHelper::dz, PVValHelper::eta, dqm::impl::MonitorElement::Fill(), relativeConstraints::geometry, TrajectoryStateClosestToBeamLine::isValid(), FreeTrajectoryState::momentum(), TrajectorySeed::nHits(), NOT_STOPPED, NumberOfRecHitsPerSeed, NumberOfRecHitsPerSeedVsEtaProfile, NumberOfRecHitsPerSeedVsPhiProfile, numberOfTrajCandsPerSeed, numberOfTrajCandsPerSeedVsEta, numberOfTrajCandsPerSeedVsPhi, AlCaHLTBitMon_ParallelJobs::p, phi, FreeTrajectoryState::position(), DiDispStaMuonMonitor_cfi::pt, SeedDxy, SeedDz, SeedEta, SeedPhi, SeedPhiVsEta, SeedPt, SeedQ, seedStoppingSource, seedStoppingSourceVsEta, seedStoppingSourceVsNumberOfTrajCandsPerSeed, seedStoppingSourceVsPhi, SeedTheta, funct::sin(), mathSSE::sqrt(), TrajectorySeed::startingState(), SeedStopInfo::stopReason(), SeedStopInfo::stopReasonUC(), theta(), TrajectoryStateClosestToBeamLine::trackStateAtPCA(), trajectoryStateTransform::transientState(), findQualityFiles::v, and V0Monitor_cff::v0.
Referenced by TrackingMonitor::analyze().
void TrackBuildingAnalyzer::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
const TrackCandidate & | candidate, | ||
const reco::BeamSpot & | bs, | ||
const MagneticField & | theMF, | ||
const TransientTrackingRecHitBuilder & | theTTRHBuilder | ||
) |
Definition at line 570 of file TrackBuildingAnalyzer.cc.
References cms::cuda::bs, funct::cos(), doAllTCPlots, doStopSource, doTCPlots, doTheta, PVValHelper::dxy, PVValHelper::dz, PVValHelper::eta, dqm::impl::MonitorElement::Fill(), relativeConstraints::geometry, dqm::impl::MonitorElement::getNbinsX(), createfilelist::int, TrajectoryStateClosestToBeamLine::isValid(), SiStripPI::max, FreeTrajectoryState::momentum(), NOT_STOPPED, TrackCandidate::nRecHits(), NumberOfRecHitsPerTrackCand, NumberOfRecHitsPerTrackCandVsEtaProfile, NumberOfRecHitsPerTrackCandVsPhiProfile, AlCaHLTBitMon_ParallelJobs::p, phi, FreeTrajectoryState::position(), DiDispStaMuonMonitor_cfi::pt, funct::sin(), mathSSE::sqrt(), stoppingSource, stoppingSourceVSeta, stoppingSourceVSphi, TrackCandidate::stopReason(), theta(), TrackCandDxy, TrackCandDz, TrackCandEta, TrackCandPhi, TrackCandPhiVsEta, TrackCandPt, TrackCandQ, TrackCandTheta, TrajectoryStateClosestToBeamLine::trackStateAtPCA(), TrackCandidate::trajectoryStateOnDet(), trajectoryStateTransform::transientState(), findQualityFiles::v, and V0Monitor_cff::v0.
void TrackBuildingAnalyzer::analyze | ( | const edm::View< reco::Track > & | trackCollection, |
const std::vector< const MVACollection *> & | mvaCollections, | ||
const std::vector< const QualityMaskCollection *> & | qualityMaskCollections | ||
) |
Definition at line 643 of file TrackBuildingAnalyzer.cc.
References doAllTCPlots, doMVAPlots, PVValHelper::eta, reco::TrackBase::highPurity, reco::TrackBase::loose, beam_dqm_sourceclient-live_cfg::mva, vertices_cff::ntracks, DiDispStaMuonMonitor_cfi::pt, l1tGTMenu_lepSeeds_cff::qual, JetHT_cfg::trackCollection, trackMVAs, trackMVAsHP, trackMVAsHPVsEtaProfile, trackMVAsHPVsPtProfile, trackMVAsVsEtaProfile, and trackMVAsVsPtProfile.
void TrackBuildingAnalyzer::analyze | ( | const reco::CandidateView & | regionCandidates | ) |
Definition at line 700 of file TrackBuildingAnalyzer.cc.
References doAllSeedPlots, doETA, doPHI, doPHIVsETA, doPT, doRegionCandidatePlots, doRegionPlots, PVValHelper::eta, dqm::impl::MonitorElement::Fill(), phi, TrackingRegionCandidateEta, TrackingRegionCandidatePhi, TrackingRegionCandidatePhiVsEta, and TrackingRegionCandidatePt.
void TrackBuildingAnalyzer::analyze | ( | const std::vector< std::unique_ptr< TrackingRegion >> & | regions | ) |
Definition at line 718 of file TrackBuildingAnalyzer.cc.
References analyzeRegions().
void TrackBuildingAnalyzer::analyze | ( | const TrackingRegionsSeedingLayerSets & | regions | ) |
Definition at line 721 of file TrackBuildingAnalyzer.cc.
References analyzeRegions().
|
private |
Definition at line 731 of file TrackBuildingAnalyzer.cc.
References doAllSeedPlots, doETA, doPHI, doPHIVsETA, doRegionPlots, PVValHelper::eta, etaBinWidth, ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, generateTowerEtThresholdLUT::etaRange, dqm::impl::MonitorElement::Fill(), phi, phiBinWidth, AlignmentTrackSelector_cfi::phiMax, AlignmentTrackSelector_cfi::phiMin, reco::reduceRange(), createJobs::tmp, TrackingRegionEta, TrackingRegionPhi, and TrackingRegionPhiVsEta.
Referenced by analyze().
|
private |
|
private |
void TrackBuildingAnalyzer::initHisto | ( | DQMStore::IBooker & | ibooker, |
const edm::ParameterSet & | iConfig | ||
) |
Definition at line 44 of file TrackBuildingAnalyzer.cc.
References HLTSiStripMonitoring_cff::AlgoName, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookProfile(), doAllSeedPlots, doAllTCPlots, doDxy, doDz, doETA, doMVAPlots, doNRecHits, doPHI, doPHIVsETA, doProfETA, doProfPHI, doPT, doQ, doRegionCandidatePlots, doRegionPlots, doStopSource, doTCPlots, doTheta, mps_fire::end, MonitorTrackInnerTrackMuons_cff::EtaBin, etaBinWidth, MonitorTrackInnerTrackMuons_cff::EtaMax, MonitorTrackInnerTrackMuons_cff::EtaMin, edm::ParameterSet::getParameter(), histname, mps_fire::i, TrackingMonitor_cfi::MVABin, TrackingMonitor_cfi::MVAMax, TrackingMonitor_cfi::MVAMin, EgammaValidation_cff::num, NumberOfRecHitsPerSeed, NumberOfRecHitsPerSeedVsEtaProfile, NumberOfRecHitsPerSeedVsPhiProfile, NumberOfRecHitsPerTrackCand, NumberOfRecHitsPerTrackCandVsEtaProfile, NumberOfRecHitsPerTrackCandVsPhiProfile, numberOfTrajCandsPerSeed, numberOfTrajCandsPerSeedVsEta, numberOfTrajCandsPerSeedVsPhi, MonitorTrackSTAMuons_cfi::PhiBin, phiBinWidth, MonitorTrackSTAMuons_cfi::PhiMax, MonitorTrackSTAMuons_cfi::PhiMin, muonRecoAnalyzer_cfi::ptBin, AlignmentTrackSelector_cfi::ptMax, ptMin, SeedDxy, MonitorTrackSTAMuons_cfi::SeedDxyBin, MonitorTrackSTAMuons_cfi::SeedDxyMax, MonitorTrackSTAMuons_cfi::SeedDxyMin, SeedDz, MonitorTrackSTAMuons_cfi::SeedDzBin, MonitorTrackSTAMuons_cfi::SeedDzMax, MonitorTrackSTAMuons_cfi::SeedDzMin, SeedEta, MonitorTrackSTAMuons_cfi::SeedHitBin, MonitorTrackSTAMuons_cfi::SeedHitMax, MonitorTrackSTAMuons_cfi::SeedHitMin, SeedPhi, SeedPhiVsEta, SeedPt, SeedQ, seedStoppingSource, seedStoppingSourceVsEta, seedStoppingSourceVsNumberOfTrajCandsPerSeed, seedStoppingSourceVsPhi, SeedStopReasonName::SeedStopReasonName, SeedTheta, dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), SIZE, stoppingSource, stoppingSourceVSeta, stoppingSourceVSphi, StopReasonName::StopReasonName, AlCaHLTBitMon_QueryRunRegistry::string, MonitorTrackSTAMuons_cfi::TCDxyBin, MonitorTrackSTAMuons_cfi::TCDxyMax, MonitorTrackSTAMuons_cfi::TCDxyMin, MonitorTrackSTAMuons_cfi::TCDzBin, MonitorTrackSTAMuons_cfi::TCDzMax, MonitorTrackSTAMuons_cfi::TCDzMin, MonitorTrackSTAMuons_cfi::TCHitBin, MonitorTrackSTAMuons_cfi::TCHitMax, MonitorTrackSTAMuons_cfi::TCHitMin, MonitorTrackSTAMuons_cfi::ThetaBin, MonitorTrackSTAMuons_cfi::ThetaMax, MonitorTrackSTAMuons_cfi::ThetaMin, to_string(), TrackCandDxy, TrackCandDz, TrackCandEta, TrackCandPhi, TrackCandPhiVsEta, TrackCandPt, TrackCandQ, TrackCandTheta, TrackingRegionCandidateEta, TrackingRegionCandidatePhi, TrackingRegionCandidatePhiVsEta, TrackingRegionCandidatePt, TrackingRegionEta, TrackingRegionPhi, TrackingRegionPhiVsEta, trackMVAs, trackMVAsHP, trackMVAsHPVsEtaProfile, trackMVAsHPVsPtProfile, trackMVAsVsEtaProfile, trackMVAsVsPtProfile, beam_dqm_sourceclient-live_cfg::TrackPtBin, beam_dqm_sourceclient-live_cfg::TrackPtMax, beam_dqm_sourceclient-live_cfg::TrackPtMin, MonitorTrackSTAMuons_cfi::TrackQBin, MonitorTrackSTAMuons_cfi::TrackQMax, and MonitorTrackSTAMuons_cfi::TrackQMin.
Referenced by TrackingMonitor::bookHistograms().
|
private |
Definition at line 137 of file TrackBuildingAnalyzer.h.
|
private |
Definition at line 138 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), analyzeRegions(), and initHisto().
|
private |
Definition at line 140 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 147 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 148 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 142 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), analyzeRegions(), and initHisto().
|
private |
Definition at line 153 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 149 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 143 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), analyzeRegions(), and initHisto().
|
private |
Definition at line 144 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), analyzeRegions(), and initHisto().
|
private |
Definition at line 151 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 150 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 141 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 146 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 155 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 154 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), analyzeRegions(), and initHisto().
|
private |
Definition at line 152 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 139 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 145 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 79 of file TrackBuildingAnalyzer.h.
Referenced by analyzeRegions(), and initHisto().
|
private |
Definition at line 134 of file TrackBuildingAnalyzer.h.
Referenced by initHisto().
|
private |
Definition at line 96 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 98 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 97 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 119 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 121 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 120 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 104 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 106 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 105 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 80 of file TrackBuildingAnalyzer.h.
Referenced by analyzeRegions(), and initHisto().
|
private |
Definition at line 94 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 95 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 89 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 90 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 91 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 88 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 93 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 100 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 102 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 108 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 101 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 92 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 123 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 124 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 125 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 117 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 118 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 112 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 113 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 114 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 111 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 116 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 115 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 83 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 84 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 85 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 82 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 76 of file TrackBuildingAnalyzer.h.
Referenced by analyzeRegions(), and initHisto().
|
private |
Definition at line 77 of file TrackBuildingAnalyzer.h.
Referenced by analyzeRegions(), and initHisto().
|
private |
Definition at line 78 of file TrackBuildingAnalyzer.h.
Referenced by analyzeRegions(), and initHisto().
|
private |
Definition at line 127 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 128 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 132 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 130 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 131 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().
|
private |
Definition at line 129 of file TrackBuildingAnalyzer.h.
Referenced by analyze(), and initHisto().