#include <MultiTrackValidator.h>
Private Types | |
using | MVACollection = std::vector< float > |
using | QualityMaskCollection = std::vector< unsigned char > |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
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 |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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) |
Protected Member Functions inherited from MultiTrackValidatorBase | |
MultiTrackValidatorBase (const edm::ParameterSet &pset, edm::ConsumesCollector &&iC, bool isSeed=false) | |
Constructor. More... | |
virtual | ~MultiTrackValidatorBase ()(false) |
Destructor. More... | |
Class that prodecs histrograms to validate Track Reconstruction performances
Definition at line 15 of file MultiTrackValidator.h.
|
private |
Definition at line 56 of file MultiTrackValidator.h.
|
private |
Definition at line 57 of file MultiTrackValidator.h.
MultiTrackValidator::MultiTrackValidator | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 51 of file MultiTrackValidator.cc.
References edm::EDConsumerBase::consumesCollector(), dirName_, dodEdxPlots_, doMVAPlots_, doPlotsOnlyForTruePV_, doPVAssociationPlots_, doSeedPlots_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), histoProducerAlgo_, MultiTrackValidatorBase::label_tv, HLT_FULL_cff::labels, edm::EDConsumerBase::labelsForToken(), MultiTrackValidatorBase::labelToken, MultiTrackValidatorBase::m_dEdx1Tag, MultiTrackValidatorBase::m_dEdx2Tag, edm::ProductLabels::module, mvaQualityCollectionTokens_, recoVertexToken_, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, tpNLayersToken_, tpNPixelLayersToken_, tpNStripStereoLayersToken_, UseAssociators, edm::vector_transform(), and vertexAssociatorToken_.
|
virtual |
|
overridevirtual |
Method called once per event.
Implements edm::stream::EDAnalyzerBase.
Reimplemented in MultiTrackValidatorGenPs.
Definition at line 291 of file MultiTrackValidator.cc.
References _simHitTpMapTag, funct::abs(), associationMapFilterValues(), associatormapRtSs, associatormapStRs, associatorTokens, MultiTrackValidatorBase::bsSrc, EncodedEventId::bunchCrossing(), calculateDrSingleCollection_, funct::cos(), cosmictpSelector, reco::deltaR2(), dodEdxPlots_, doMVAPlots_, doPlotsOnlyForTruePV_, doPVAssociationPlots_, doRecoTrackPlots_, doSeedPlots_, doSimPlots_, doSimTrackPlots_, doSummaryPlots_, PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, dRtpSelector, dRtpSelectorNoPtCut, relativeConstraints::empty, edm::AssociationMap< Tag >::end(), eta, EncodedEventId::event(), TrackingParticle::eventId(), TrackingVertex::eventId(), Exception, edm::AssociationMap< Tag >::find(), plotBeamSpotDB::first, edm::EventSetup::get(), edm::Event::getByToken(), h_assoc2_coll, h_assoc_coll, h_assoc_coll_allPt, h_looper_coll, h_pileup_coll, h_reco_coll, h_simul_coll, h_simul_coll_allPt, reco::TrackBase::highPurity, histoProducerAlgo_, i, MultiTrackValidatorBase::ignoremissingtkcollection_, CosmicTrackingParticleSelector::initEvent(), edm::EDGetTokenT< T >::isUninitialized(), j, MultiTrackValidatorBase::label, MultiTrackValidatorBase::label_pileupinfo, MultiTrackValidatorBase::label_tp_effic, MultiTrackValidatorBase::label_tp_effic_refvector, MultiTrackValidatorBase::label_tp_fake, MultiTrackValidatorBase::label_tp_fake_refvector, MultiTrackValidatorBase::label_tv, MultiTrackValidatorBase::labelToken, labelTokenForDrCalculation, LogDebug, LogTrace, reco::TrackBase::loose, MultiTrackValidatorBase::m_dEdx1Tag, MultiTrackValidatorBase::m_dEdx2Tag, bookConverter::max, min(), TrackingParticle::momentum(), eostools::move(), HLT_FULL_cff::mva, mvaQualityCollectionTokens_, TrackingParticle::numberOfTrackerHits(), AlCaHLTBitMon_ParallelJobs::p, MultiTrackValidatorBase::parametersDefiner, parametersDefinerIsCosmic_, phi, TrackingVertex::position(), edm::Handle< T >::product(), edm::RefToBaseVector< T >::push_back(), dt_dqm_sourceclient_common_cff::reco, recoVertexToken_, edm::View< T >::refAt(), simPVMaxZ_, funct::sin(), edm::View< T >::size(), findQualityFiles::size, mathSSE::sqrt(), tpNLayersToken_, tpNPixelLayersToken_, tpNStripStereoLayersToken_, tpSelector, HLT_FULL_cff::trackCollection, trackFromSeedFitFailed(), UseAssociators, TrackingParticle::vertex(), vertexAssociatorToken_, and w.
|
overridevirtual |
Method called to book the DQM histograms.
Implements DQMEDAnalyzer.
Definition at line 174 of file MultiTrackValidator.cc.
References ecalcalib_dqm_sourceclient-live_cfg::algo, DQMStore::IBooker::book1D(), DQMStore::IBooker::cd(), TrackerOfflineValidation_Dqm_cff::dirName, dirName_, dodEdxPlots_, doMVAPlots_, doPVAssociationPlots_, doRecoTrackPlots_, doSeedPlots_, doSimPlots_, doSimTrackPlots_, doSummaryPlots_, h, h_assoc2_coll, h_assoc_coll, h_assoc_coll_allPt, h_looper_coll, h_pileup_coll, h_reco_coll, h_simul_coll, h_simul_coll_allPt, histoProducerAlgo_, i, edm::InputTag::instance(), edm::InputTag::label(), MultiTrackValidatorBase::label, hlt_dqm_clientPB-live_cfg::me, mvaQualityCollectionTokens_, edm::InputTag::process(), python.rootplot.root2matplotlib::replace(), DQMStore::IBooker::setCurrentFolder(), and findQualityFiles::size.
|
private |
Definition at line 71 of file MultiTrackValidator.h.
Referenced by analyze().
|
private |
Definition at line 49 of file MultiTrackValidator.h.
Referenced by analyze().
|
private |
Definition at line 48 of file MultiTrackValidator.h.
Referenced by analyze().
|
private |
Definition at line 47 of file MultiTrackValidator.h.
Referenced by analyze().
|
protected |
Definition at line 34 of file MultiTrackValidator.h.
Referenced by analyze().
|
private |
Definition at line 67 of file MultiTrackValidator.h.
Referenced by analyze().
|
private |
Definition at line 60 of file MultiTrackValidator.h.
Referenced by bookHistograms(), and MultiTrackValidator().
|
protected |
Definition at line 40 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), analyze(), bookHistograms(), and MultiTrackValidator().
|
protected |
Definition at line 43 of file MultiTrackValidator.h.
Referenced by analyze(), bookHistograms(), and MultiTrackValidator().
|
protected |
Definition at line 35 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
protected |
Definition at line 41 of file MultiTrackValidator.h.
Referenced by analyze(), bookHistograms(), and MultiTrackValidator().
|
protected |
Definition at line 39 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), analyze(), and bookHistograms().
|
protected |
Definition at line 42 of file MultiTrackValidator.h.
Referenced by analyze(), bookHistograms(), and MultiTrackValidator().
|
protected |
Definition at line 37 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), analyze(), and bookHistograms().
|
protected |
Definition at line 38 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), analyze(), and bookHistograms().
|
protected |
Definition at line 36 of file MultiTrackValidator.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 68 of file MultiTrackValidator.h.
Referenced by analyze().
|
private |
Definition at line 69 of file MultiTrackValidator.h.
Referenced by analyze().
|
private |
Definition at line 76 of file MultiTrackValidator.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 76 of file MultiTrackValidator.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 77 of file MultiTrackValidator.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 76 of file MultiTrackValidator.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 76 of file MultiTrackValidator.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 76 of file MultiTrackValidator.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 76 of file MultiTrackValidator.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 77 of file MultiTrackValidator.h.
Referenced by analyze(), and bookHistograms().
|
protected |
Definition at line 44 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), analyze(), bookHistograms(), and MultiTrackValidator().
|
private |
Definition at line 72 of file MultiTrackValidator.h.
Referenced by analyze().
|
private |
Definition at line 58 of file MultiTrackValidator.h.
Referenced by analyze(), bookHistograms(), and MultiTrackValidator().
|
protected |
Definition at line 33 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), and analyze().
|
private |
Definition at line 73 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
private |
Definition at line 63 of file MultiTrackValidator.h.
Referenced by analyze().
|
private |
Definition at line 51 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
private |
Definition at line 52 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
private |
Definition at line 53 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
private |
Definition at line 66 of file MultiTrackValidator.h.
Referenced by analyze().
|
protected |
Definition at line 32 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), analyze(), MultiTrackValidator(), and MultiTrackValidatorGenPs::MultiTrackValidatorGenPs().
|
private |
Definition at line 62 of file MultiTrackValidator.h.
|
private |
Definition at line 74 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().