#include <MultiTrackValidator.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
Method called once per event. More... | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) |
Method called to book the DQM histograms. More... | |
void | endRun (edm::Run const &, edm::EventSetup const &) |
Method called at the end of the event loop. More... | |
MultiTrackValidator (const edm::ParameterSet &pset) | |
Constructor. More... | |
virtual | ~MultiTrackValidator () |
Destructor. More... | |
Public Member Functions inherited from thread_unsafe::DQMEDAnalyzer | |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) final |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
DQMEDAnalyzer (void) | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
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 (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Attributes | |
edm::EDGetTokenT < SimHitTPAssociationProducer::SimHitTPAssociationList > | _simHitTpMapTag |
CosmicTrackingParticleSelector | cosmictpSelector |
std::string | dirName_ |
bool | runStandalone |
TrackingParticleSelector | tpSelector |
bool | useGsf |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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 42 of file MultiTrackValidator.cc.
References _simHitTpMapTag, assMapInput, associatormapRtS, associatormapStR, MultiTrackValidatorBase::associators, edm::EDConsumerBase::consumesCollector(), cosmictpSelector, dirName_, reco::get(), edm::ParameterSet::getParameter(), histoProducerAlgo_, MultiTrackValidatorBase::m_dEdx1Tag, MultiTrackValidatorBase::m_dEdx2Tag, runStandalone, AlCaHLTBitMon_QueryRunRegistry::string, tpSelector, UseAssociators, and useGsf.
|
virtual |
Destructor.
Definition at line 91 of file MultiTrackValidator.cc.
References histoProducerAlgo_.
|
virtual |
Method called once per event.
Implements edm::EDAnalyzer.
Reimplemented in MultiTrackValidatorGenPs.
Definition at line 148 of file MultiTrackValidator.cc.
References _simHitTpMapTag, assMapInput, MultiTrackValidatorBase::associator, associatormapRtS, associatormapStR, MultiTrackValidatorBase::associators, asciidump::at, MultiTrackValidatorBase::bsSrc, EncodedEventId::bunchCrossing(), reco::TrackBase::charge(), edm::HandleBase::clear(), funct::cos(), cosmictpSelector, alignCSCRings::e, edm::AssociationMap< Tag >::end(), EncodedEventId::event(), TrackingParticle::eventId(), MTVHistoProducerAlgo::fill_dedx_recoTrack_histos(), MTVHistoProducerAlgo::fill_generic_recoTrack_histos(), MTVHistoProducerAlgo::fill_generic_simTrack_histos(), MTVHistoProducerAlgo::fill_recoAssociated_simTrack_histos(), MTVHistoProducerAlgo::fill_ResoAndPull_recoTrack_histos(), MTVHistoProducerAlgo::fill_simAssociated_recoTrack_histos(), MTVHistoProducerAlgo::fill_trackBased_histos(), edm::AssociationMap< Tag >::find(), first, edm::EventSetup::get(), edm::Ref< C, T, F >::get(), edm::Event::getByToken(), histoProducerAlgo_, i, MultiTrackValidatorBase::ignoremissingtkcollection_, CosmicTrackingParticleSelector::initEvent(), edm::InputTag::instance(), j, edm::InputTag::label(), MultiTrackValidatorBase::label, MultiTrackValidatorBase::label_pileupinfo, MultiTrackValidatorBase::label_tp_effic, MultiTrackValidatorBase::label_tp_fake, MultiTrackValidatorBase::label_tv, MultiTrackValidatorBase::labelToken, LogTrace, MultiTrackValidatorBase::m_dEdx1Tag, MultiTrackValidatorBase::m_dEdx2Tag, TrackingParticle::momentum(), TrackingParticle::numberOfTrackerHits(), MultiTrackValidatorBase::parametersDefiner, edm::InputTag::process(), edm::Handle< T >::product(), reco::TrackBase::pt(), dt_dqm_sourceclient_common_cff::reco, funct::sin(), findQualityFiles::size, mathSSE::sqrt(), tpSelector, UseAssociators, TrackingParticle::vertex(), w(), and cms::Exception::what().
|
virtual |
Method called to book the DQM histograms.
Implements thread_unsafe::DQMEDAnalyzer.
Definition at line 94 of file MultiTrackValidator.cc.
References MultiTrackValidatorBase::associator, MultiTrackValidatorBase::associators, MTVHistoProducerAlgo::bookRecoHistos(), MTVHistoProducerAlgo::bookRecoHistosForStandaloneRunning(), MTVHistoProducerAlgo::bookSimHistos(), DQMStore::IBooker::cd(), TrackerOfflineValidation_Dqm_cff::dirName, dirName_, edm::EventSetup::get(), histoProducerAlgo_, MTVHistoProducerAlgo::initialize(), edm::InputTag::instance(), edm::InputTag::label(), MultiTrackValidatorBase::label, edm::InputTag::process(), edm::ESHandle< class >::product(), python.rootplot.root2matplotlib::replace(), runStandalone, DQMStore::IBooker::setCurrentFolder(), UseAssociators, and w().
|
virtual |
Method called at the end of the event loop.
Reimplemented from edm::EDAnalyzer.
Definition at line 502 of file MultiTrackValidator.cc.
References MultiTrackValidatorBase::associators, MTVHistoProducerAlgo::fillHistosFromVectors(), MTVHistoProducerAlgo::fillProfileHistosFromVectors(), MTVHistoProducerAlgo::finalHistoFits(), histoProducerAlgo_, MultiTrackValidatorBase::label, runStandalone, MultiTrackValidatorBase::skipHistoFit, and w().
|
private |
Definition at line 50 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
protected |
Definition at line 34 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), analyze(), and MultiTrackValidator().
|
protected |
Definition at line 36 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), analyze(), and MultiTrackValidator().
|
protected |
Definition at line 35 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), analyze(), and MultiTrackValidator().
|
private |
Definition at line 48 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
private |
Definition at line 41 of file MultiTrackValidator.h.
Referenced by bookHistograms(), and MultiTrackValidator().
|
protected |
Definition at line 38 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), analyze(), bookHistograms(), endRun(), MultiTrackValidator(), and ~MultiTrackValidator().
|
private |
Definition at line 44 of file MultiTrackValidator.h.
Referenced by bookHistograms(), endRun(), and MultiTrackValidator().
|
private |
Definition at line 47 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
protected |
Definition at line 37 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), analyze(), bookHistograms(), and MultiTrackValidator().
|
private |
Definition at line 43 of file MultiTrackValidator.h.
Referenced by MultiTrackValidator().