#include <MultiTrackValidator.h>
Public Types | |
using | Histograms = MultiTrackValidatorHistograms |
Public Types inherited from DQMGlobalEDAnalyzerBase< MultiTrackValidatorHistograms, Args... > | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::global::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Private Types | |
using | MVACollection = std::vector< float > |
using | QualityMaskCollection = std::vector< unsigned char > |
Private Member Functions | |
const reco::Vertex::Point * | getRecoPVPosition (const edm::Event &event, const edm::Handle< TrackingVertexCollection > &htv) const |
const TrackingVertex::LorentzVector * | getSimPVPosition (const edm::Handle< TrackingVertexCollection > &htv) const |
size_t | tpDR (const TrackingParticleRefVector &tPCeff, const std::vector< size_t > &selected_tPCeff, DynArray< float > &dR_tPCeff, DynArray< float > &dR_tPCeff_jet, const edm::View< reco::Candidate > *cores) const |
void | tpParametersAndSelection (const Histograms &histograms, const TrackingParticleRefVector &tPCeff, const edm::Event &event, const edm::EventSetup &setup, const reco::BeamSpot &bs, std::vector< std::tuple< TrackingParticle::Vector, TrackingParticle::Point >> &momVert_tPCeff, std::vector< size_t > &selected_tPCeff) const |
void | trackDR (const edm::View< reco::Track > &trackCollection, const edm::View< reco::Track > &trackCollectionDr, DynArray< float > &dR_trk, DynArray< float > &dR_trk_jet, const edm::View< reco::Candidate > *cores) const |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from DQMGlobalEDAnalyzerBase< MultiTrackValidatorHistograms, Args... > | |
uint64_t | meId (edm::Run const &run) const |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Class that prodecs histrograms to validate Track Reconstruction performances
Definition at line 39 of file MultiTrackValidator.h.
Definition at line 41 of file MultiTrackValidator.h.
|
private |
Definition at line 130 of file MultiTrackValidator.h.
|
private |
Definition at line 131 of file MultiTrackValidator.h.
MultiTrackValidator::MultiTrackValidator | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 48 of file MultiTrackValidator.cc.
References _simHitTpMapTag, associatormapRtSs, associatormapStRs, associators, associatorTokens, AlignmentProducer_cff::beamSpotTag, SplitLinear::begin, bsSrc, calculateDrSingleCollection_, edm::EDConsumerBase::consumes(), edm::EDConsumerBase::consumesCollector(), cores_, cosmictpSelector, dirName_, dodEdxPlots_, doMVAPlots_, doPlotsOnlyForTruePV_, doPVAssociationPlots_, doResolutionPlots_, MultiTrackValidator_cfi::doResolutionPlotsForLabels, doSeedPlots_, dRtpSelector, dRTrackSelector, relativeConstraints::empty, mps_fire::end, Exception, spr::find(), edm::ParameterSet::getParameter(), histoProducerAlgo_, MainPageGenerator::l, edm::InputTag::label(), label, label_pileupinfo, label_tp_effic, label_tp_effic_refvector, label_tp_fake, label_tp_fake_refvector, label_tv, SummaryClient_cfi::labels, edm::EDConsumerBase::labelsForToken(), labelToken, labelTokenForDrCalculation, m_dEdx1Tag, m_dEdx2Tag, MTVHistoProducerAlgoForTracker::makeRecoTrackSelectorFromTPSelectorParameters(), mvaQualityCollectionTokens_, parametersDefinerIsCosmic_, parametersDefinerTP_, muonDTDigis_cfi::pset, recoVertexToken_, simHitTokens_, jetUpdater_cfi::sort, TrackRefitter_38T_cff::src, AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, tpNLayersToken_, tpNPixelLayersToken_, tpNStripStereoLayersToken_, tpSelector, useAssociators_, useGsf, edm::vector_transform(), and vertexAssociatorToken_.
|
override |
|
overridevirtual |
Method called to book the DQM histograms.
Implements DQMGlobalEDAnalyzerBase< MultiTrackValidatorHistograms, Args... >.
Definition at line 232 of file MultiTrackValidator.cc.
References trackingPlots::assoc, associators, dqm::implementation::IBooker::book1D(), dqm::implementation::NavigatorBase::cd(), TrackerOfflineValidation_Dqm_cff::dirName, dirName_, dodEdxPlots_, doMVAPlots_, doPVAssociationPlots_, doRecoTrackPlots_, doResolutionPlots_, doSeedPlots_, doSimPlots_, doSimTrackPlots_, doSummaryPlots_, histoProducerAlgo_, mps_fire::i, label, hlt_dqm_clientPB-live_cfg::me, mvaQualityCollectionTokens_, python.rootplot.root2matplotlib::replace(), dqm::implementation::NavigatorBase::setCurrentFolder(), and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::ww.
|
overridevirtual |
Method called once per event.
Implements DQMGlobalEDAnalyzerBase< MultiTrackValidatorHistograms, Args... >.
Reimplemented in MultiTrackValidatorGenPs.
Definition at line 588 of file MultiTrackValidator.cc.
References _simHitTpMapTag, funct::abs(), applyTPSelToSimMatch_, reco::TrackToTrackingParticleAssociator::associateRecoToSim(), reco::TrackToTrackingParticleAssociator::associateSimToReco(), associationMapFilterValues(), associatormapRtSs, associatormapStRs, associators, associatorTokens, cms::cuda::bs, bsSrc, EncodedEventId::bunchCrossing(), calculateDrSingleCollection_, HLT_FULL_cff::cores, cores_, cosmictpSelector, declareDynArray, dodEdxPlots_, doMVAPlots_, doPlotsOnlyForTruePV_, doPVAssociationPlots_, doRecoTrackPlots_, doResolutionPlots_, doSeedPlots_, doSimTrackPlots_, doSummaryPlots_, HGC3DClusterGenMatchSelector_cfi::dR, dRtpSelector, dRTrackSelector, TrackingParticleIP::dxy(), TrackingParticleIP::dz(), relativeConstraints::empty, edm::AssociationMap< Tag >::end(), EncodedEventId::event(), TrackingParticle::eventId(), Exception, edm::AssociationMap< Tag >::find(), dqmdumpme::first, PileupSummaryInfo::getPU_NumInteractions(), getRecoPVPosition(), getSimPVPosition(), reco::TrackBase::highPurity, histoProducerAlgo_, mps_fire::i, ignoremissingtkcollection_, CosmicTrackingParticleSelector::initEvent(), edm::EDGetTokenT< T >::isUninitialized(), label, label_pileupinfo, label_tp_effic, label_tp_effic_refvector, label_tp_fake, label_tp_fake_refvector, label_tv, labelToken, labelTokenForDrCalculation, LogDebug, LogTrace, reco::TrackBase::loose, m_dEdx1Tag, m_dEdx2Tag, WZElectronSkims53X_cff::max, beam_dqm_sourceclient-live_cfg::mva, mvaQualityCollectionTokens_, parametersDefinerIsCosmic_, parametersDefinerTP_, edm::Handle< T >::product(), edm::RefToBaseVector< T >::push_back(), edm::RefVector< C, T, F >::push_back(), edm::RefVector< C, T, F >::reserve(), hcal_runs::rt, singleTopDQM_cfi::setup, simPVMaxZ_, edm::RefVector< C, T, F >::size(), findQualityFiles::size, mathSSE::sqrt(), cmsswSequenceInfo::tp, tpDR(), tpNLayersToken_, tpNPixelLayersToken_, tpNStripStereoLayersToken_, tpParametersAndSelection(), tpSelector, HLT_2024v14_cff::track, JetHT_cfg::trackCollection, TrackValidationHeavyIons_cff::trackCollectionForDrCalculation, trackDR(), trackFromSeedFitFailed(), tTopoEsToken, useAssociators_, bphysicsOniaDQM_cfi::vertex, w(), and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::ww.
|
private |
Definition at line 401 of file MultiTrackValidator.cc.
References reco::VertexToTrackingVertexAssociator::associateRecoToSim(), EncodedEventId::bunchCrossing(), EncodedEventId::event(), TrackingVertex::eventId(), recoVertexToken_, and vertexAssociatorToken_.
Referenced by dqmAnalyze().
|
private |
Definition at line 389 of file MultiTrackValidator.cc.
Referenced by dqmAnalyze().
|
private |
Definition at line 486 of file MultiTrackValidator.cc.
References HLT_FULL_cff::cores, reco::deltaR2(), HGC3DClusterGenMatchSelector_cfi::dR, dRtpSelector, edm::RefVector< C, T, F >::empty(), PVValHelper::eta, metsig::jet, WZElectronSkims53X_cff::max, AlCaHLTBitMon_ParallelJobs::p, phi, edm::RefVector< C, T, F >::size(), mathSSE::sqrt(), and cmsswSequenceInfo::tp.
Referenced by dqmAnalyze().
|
private |
Definition at line 428 of file MultiTrackValidator.cc.
References cms::cuda::bs, cosmictpSelector, doSimPlots_, histoProducerAlgo_, dqmiolumiharvest::j, parametersDefinerIsCosmic_, parametersDefinerTP_, singleTopDQM_cfi::setup, edm::RefVector< C, T, F >::size(), cmsswSequenceInfo::tp, tpSelector, and bphysicsOniaDQM_cfi::vertex.
Referenced by dqmAnalyze().
|
private |
Definition at line 538 of file MultiTrackValidator.cc.
References HLT_FULL_cff::cores, reco::deltaR2(), HGC3DClusterGenMatchSelector_cfi::dR, edm::View< T >::empty(), PVValHelper::eta, mps_fire::i, dqmiolumiharvest::j, metsig::jet, WZElectronSkims53X_cff::max, SiStripPI::min, AlCaHLTBitMon_ParallelJobs::p, phi, edm::View< T >::size(), mathSSE::sqrt(), HLT_2024v14_cff::track, JetHT_cfg::trackCollection, and trackFromSeedFitFailed().
Referenced by dqmAnalyze().
|
private |
Definition at line 149 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 93 of file MultiTrackValidator.h.
Referenced by dqmAnalyze().
|
private |
Definition at line 124 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), and MultiTrackValidator().
|
private |
Definition at line 123 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 63 of file MultiTrackValidator.h.
Referenced by bookHistograms(), MultiTrackValidatorGenPs::dqmAnalyze(), dqmAnalyze(), MultiTrackValidator(), and MultiTrackValidatorGenPs::MultiTrackValidatorGenPs().
|
private |
Definition at line 122 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 76 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::dqmAnalyze(), dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 83 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), and MultiTrackValidator().
|
private |
Definition at line 140 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), and MultiTrackValidator().
|
private |
Definition at line 145 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), MultiTrackValidator(), and tpParametersAndSelection().
|
private |
Definition at line 135 of file MultiTrackValidator.h.
Referenced by bookHistograms(), and MultiTrackValidator().
|
protected |
Definition at line 89 of file MultiTrackValidator.h.
Referenced by bookHistograms(), MultiTrackValidatorGenPs::dqmAnalyze(), dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 92 of file MultiTrackValidator.h.
Referenced by bookHistograms(), dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 84 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 90 of file MultiTrackValidator.h.
Referenced by bookHistograms(), dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 88 of file MultiTrackValidator.h.
Referenced by bookHistograms(), MultiTrackValidatorGenPs::dqmAnalyze(), and dqmAnalyze().
|
protected |
Definition at line 95 of file MultiTrackValidator.h.
Referenced by bookHistograms(), dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 91 of file MultiTrackValidator.h.
Referenced by bookHistograms(), dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 86 of file MultiTrackValidator.h.
Referenced by bookHistograms(), MultiTrackValidatorGenPs::dqmAnalyze(), and tpParametersAndSelection().
|
protected |
Definition at line 87 of file MultiTrackValidator.h.
Referenced by bookHistograms(), MultiTrackValidatorGenPs::dqmAnalyze(), and dqmAnalyze().
|
protected |
Definition at line 85 of file MultiTrackValidator.h.
Referenced by bookHistograms(), and dqmAnalyze().
|
private |
Definition at line 146 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), MultiTrackValidator(), and tpDR().
|
private |
Definition at line 147 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 97 of file MultiTrackValidator.h.
Referenced by bookHistograms(), MultiTrackValidatorGenPs::dqmAnalyze(), dqmAnalyze(), MultiTrackValidator(), and tpParametersAndSelection().
|
protected |
Definition at line 81 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::dqmAnalyze(), and dqmAnalyze().
|
protected |
Definition at line 73 of file MultiTrackValidator.h.
Referenced by bookHistograms(), MultiTrackValidatorGenPs::dqmAnalyze(), dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 69 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::dqmAnalyze(), dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 64 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::dqmAnalyze(), dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 66 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 65 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::dqmAnalyze(), dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 67 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 68 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 74 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::dqmAnalyze(), dqmAnalyze(), and MultiTrackValidator().
|
private |
Definition at line 150 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 75 of file MultiTrackValidator.h.
|
protected |
Definition at line 78 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::dqmAnalyze(), dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 79 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::dqmAnalyze(), dqmAnalyze(), and MultiTrackValidator().
|
private |
Definition at line 133 of file MultiTrackValidator.h.
Referenced by bookHistograms(), dqmAnalyze(), and MultiTrackValidator().
|
protected |
Definition at line 59 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::dqmAnalyze(), dqmAnalyze(), MultiTrackValidator(), and tpParametersAndSelection().
|
protected |
Definition at line 58 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::dqmAnalyze(), dqmAnalyze(), MultiTrackValidator(), and tpParametersAndSelection().
|
private |
Definition at line 141 of file MultiTrackValidator.h.
|
private |
Definition at line 151 of file MultiTrackValidator.h.
Referenced by getRecoPVPosition(), and MultiTrackValidator().
|
protected |
Definition at line 71 of file MultiTrackValidator.h.
Referenced by MultiTrackValidator().
|
private |
Definition at line 138 of file MultiTrackValidator.h.
Referenced by dqmAnalyze().
|
private |
Definition at line 126 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), and MultiTrackValidator().
|
private |
Definition at line 127 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), and MultiTrackValidator().
|
private |
Definition at line 128 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), and MultiTrackValidator().
|
private |
Definition at line 144 of file MultiTrackValidator.h.
Referenced by dqmAnalyze(), MultiTrackValidator(), and tpParametersAndSelection().
|
protected |
Definition at line 56 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::dqmAnalyze(), and dqmAnalyze().
|
protected |
Definition at line 82 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::dqmAnalyze(), dqmAnalyze(), MultiTrackValidator(), and MultiTrackValidatorGenPs::MultiTrackValidatorGenPs().
|
private |
Definition at line 137 of file MultiTrackValidator.h.
Referenced by MultiTrackValidator().
|
private |
Definition at line 152 of file MultiTrackValidator.h.
Referenced by getRecoPVPosition(), and MultiTrackValidator().