#include <MultiTrackValidator.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
Method called once per event. More... | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Method called to book the DQM histograms. More... | |
MultiTrackValidator (const edm::ParameterSet &pset) | |
Constructor. More... | |
virtual | ~MultiTrackValidator () |
Destructor. More... | |
Public Member Functions inherited from DQMEDAnalyzer | |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) final |
virtual void | beginStream (edm::StreamID id) final |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
DQMEDAnalyzer (void) | |
virtual void | endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final |
virtual void | endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final |
uint32_t | streamId () const |
Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
EDAnalyzer ()=default | |
Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDAnalyzerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 () |
Destructor. More... | |
Class that prodecs histrograms to validate Track Reconstruction performances
Definition at line 15 of file MultiTrackValidator.h.
MultiTrackValidator::MultiTrackValidator | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 44 of file MultiTrackValidator.cc.
References _simHitTpMapTag, associatormapRtSs, associatormapStRs, MultiTrackValidatorBase::associators, associatorTokens, calculateDrSingleCollection_, edm::EDConsumerBase::consumes(), edm::EDConsumerBase::consumesCollector(), cosmictpSelector, dirName_, dodEdxPlots_, doPlotsOnlyForTruePV_, doPVAssociationPlots_, doSeedPlots_, dRtpSelector, dRtpSelectorNoPtCut, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), histoProducerAlgo_, MultiTrackValidatorBase::label_tv, labelTokenForDrCalculation, MultiTrackValidatorBase::m_dEdx1Tag, MultiTrackValidatorBase::m_dEdx2Tag, recoVertexToken_, seedToTrackTokens_, alcazmumu_cfi::src, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, tpSelector, UseAssociators, useGsf, and vertexAssociatorToken_.
|
virtual |
|
overridevirtual |
Method called once per event.
Implements edm::stream::EDAnalyzerBase.
Reimplemented in MultiTrackValidatorGenPs.
Definition at line 240 of file MultiTrackValidator.cc.
References _simHitTpMapTag, associationMapFilterValues(), associatormapRtSs, associatormapStRs, MultiTrackValidatorBase::associators, associatorTokens, MultiTrackValidatorBase::bsSrc, EncodedEventId::bunchCrossing(), TrackingParticleNumberOfLayers::calculate(), calculateDrSingleCollection_, reco::TrackBase::charge(), funct::cos(), cosmictpSelector, KineDebug3::count(), reco::deltaR2(), dodEdxPlots_, doPlotsOnlyForTruePV_, doPVAssociationPlots_, doRecoTrackPlots_, doSeedPlots_, doSimPlots_, doSimTrackPlots_, doSummaryPlots_, PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, dRtpSelector, dRtpSelectorNoPtCut, edm::AssociationMap< Tag >::end(), eta, EncodedEventId::event(), TrackingParticle::eventId(), TrackingVertex::eventId(), 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, histoProducerAlgo_, i, MultiTrackValidatorBase::ignoremissingtkcollection_, CosmicTrackingParticleSelector::initEvent(), j, MultiTrackValidatorBase::label, MultiTrackValidatorBase::label_pileupinfo, MultiTrackValidatorBase::label_tp_effic, MultiTrackValidatorBase::label_tp_fake, MultiTrackValidatorBase::label_tv, MultiTrackValidatorBase::labelToken, labelTokenForDrCalculation, LogDebug, LogTrace, MultiTrackValidatorBase::m_dEdx1Tag, MultiTrackValidatorBase::m_dEdx2Tag, bookConverter::max, min(), TrackingParticle::momentum(), eostools::move(), TrackingParticle::numberOfTrackerHits(), AlCaHLTBitMon_ParallelJobs::p, MultiTrackValidatorBase::parametersDefiner, parametersDefinerIsCosmic_, phi, edm::Handle< T >::product(), reco::TrackBase::pt(), dt_dqm_sourceclient_common_cff::reco, recoVertexToken_, seedToTrackTokens_, MultiTrackValidatorBase::simHitTokens_, funct::sin(), edm::View< T >::size(), findQualityFiles::size, mathSSE::sqrt(), tpSelector, HLT_25ns10e33_v2_cff::trackCollection, UseAssociators, TrackingParticle::vertex(), vertexAssociatorToken_, and w.
|
overridevirtual |
Method called to book the DQM histograms.
Implements DQMEDAnalyzer.
Definition at line 151 of file MultiTrackValidator.cc.
References ecalcalib_dqm_sourceclient-live_cfg::algo, MultiTrackValidatorBase::associators, DQMStore::IBooker::book1D(), DQMStore::IBooker::cd(), TrackerOfflineValidation_Dqm_cff::dirName, dirName_, dodEdxPlots_, 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, edm::InputTag::process(), python.rootplot.root2matplotlib::replace(), and DQMStore::IBooker::setCurrentFolder().
|
private |
Definition at line 60 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
private |
Definition at line 48 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
private |
Definition at line 47 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
private |
Definition at line 46 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
protected |
Definition at line 34 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
private |
Definition at line 56 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
private |
Definition at line 50 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 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 57 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
private |
Definition at line 58 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
private |
Definition at line 66 of file MultiTrackValidator.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 66 of file MultiTrackValidator.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 67 of file MultiTrackValidator.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 66 of file MultiTrackValidator.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 66 of file MultiTrackValidator.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 66 of file MultiTrackValidator.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 66 of file MultiTrackValidator.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 67 of file MultiTrackValidator.h.
Referenced by analyze(), and bookHistograms().
|
protected |
Definition at line 43 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), analyze(), bookHistograms(), and MultiTrackValidator().
|
private |
Definition at line 61 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
protected |
Definition at line 33 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), and analyze().
|
private |
Definition at line 62 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
private |
Definition at line 64 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
private |
Definition at line 55 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
protected |
Definition at line 32 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), analyze(), MultiTrackValidator(), and MultiTrackValidatorGenPs::MultiTrackValidatorGenPs().
|
private |
Definition at line 52 of file MultiTrackValidator.h.
Referenced by MultiTrackValidator().
|
private |
Definition at line 63 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().