#include <MultiTrackValidator.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
Method called once per event. More... | |
void | beginRun (edm::Run const &, edm::EventSetup const &) |
Method called before the event loop. 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 edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Protected Attributes | |
edm::InputTag | associatormap |
MTVHistoProducerAlgo * | histoProducerAlgo_ |
bool | UseAssociators |
Protected Attributes inherited from MultiTrackValidatorBase | |
std::vector< const TrackAssociatorBase * > | associator |
std::vector< std::string > | associators |
edm::InputTag | bsSrc |
DQMStore * | dbe_ |
bool | ignoremissingtkcollection_ |
std::vector< edm::InputTag > | label |
edm::InputTag | label_pileupinfo |
edm::InputTag | label_tp_effic |
edm::InputTag | label_tp_fake |
edm::InputTag | label_tv |
edm::InputTag | m_dEdx1Tag |
edm::InputTag | m_dEdx2Tag |
std::string | out |
std::string | parametersDefiner |
std::string | sim |
bool | skipHistoFit |
edm::ESHandle< MagneticField > | theMF |
Private Attributes | |
edm::InputTag | _simHitTpMapTag |
CosmicTrackingParticleSelector | cosmictpSelector |
std::string | dirName_ |
bool | runStandalone |
TrackingParticleSelector | tpSelector |
bool | useGsf |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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) | |
Constructor. More... | |
virtual | ~MultiTrackValidatorBase () |
Destructor. More... | |
Class that prodecs histrograms to validate Track Reconstruction performances
Definition at line 17 of file MultiTrackValidator.h.
MultiTrackValidator::MultiTrackValidator | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 42 of file MultiTrackValidator.cc.
References _simHitTpMapTag, associatormap, MultiTrackValidatorBase::associators, cosmictpSelector, MultiTrackValidatorBase::dbe_, 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 90 of file MultiTrackValidator.cc.
References histoProducerAlgo_.
|
virtual |
Method called once per event.
Implements edm::EDAnalyzer.
Reimplemented in MultiTrackValidatorGenPs.
Definition at line 147 of file MultiTrackValidator.cc.
References _simHitTpMapTag, MultiTrackValidatorBase::associator, associatormap, 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::getByLabel(), 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, LogTrace, MultiTrackValidatorBase::m_dEdx1Tag, MultiTrackValidatorBase::m_dEdx2Tag, TrackingParticle::momentum(), TrackingParticle::numberOfTrackerHits(), MultiTrackValidatorBase::parametersDefiner, edm::InputTag::process(), edm::Handle< T >::product(), reco::TrackBase::pt(), L1Trigger_dataformats::reco, funct::sin(), findQualityFiles::size, mathSSE::sqrt(), tpSelector, UseAssociators, TrackingParticle::vertex(), w(), and cms::Exception::what().
|
virtual |
Method called before the event loop.
Reimplemented from edm::EDAnalyzer.
Definition at line 92 of file MultiTrackValidator.cc.
References MultiTrackValidatorBase::associator, MultiTrackValidatorBase::associators, MTVHistoProducerAlgo::bookRecoHistos(), MTVHistoProducerAlgo::bookRecoHistosForStandaloneRunning(), MTVHistoProducerAlgo::bookSimHistos(), DQMStore::cd(), MultiTrackValidatorBase::dbe_, TrackerOfflineValidation_Dqm_cff::dirName, dirName_, edm::EventSetup::get(), DQMStore::goUp(), histoProducerAlgo_, MTVHistoProducerAlgo::initialize(), edm::InputTag::instance(), edm::InputTag::label(), MultiTrackValidatorBase::label, edm::InputTag::process(), edm::ESHandle< class >::product(), linker::replace(), runStandalone, DQMStore::setCurrentFolder(), UseAssociators, and w().
|
virtual |
Method called at the end of the event loop.
Reimplemented from edm::EDAnalyzer.
Definition at line 499 of file MultiTrackValidator.cc.
References MultiTrackValidatorBase::associators, MultiTrackValidatorBase::dbe_, MTVHistoProducerAlgo::fillHistosFromVectors(), MTVHistoProducerAlgo::fillProfileHistosFromVectors(), MTVHistoProducerAlgo::finalHistoFits(), histoProducerAlgo_, MultiTrackValidatorBase::label, MultiTrackValidatorBase::out, runStandalone, DQMStore::save(), MultiTrackValidatorBase::skipHistoFit, and w().
|
private |
Definition at line 49 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
protected |
Definition at line 36 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 beginRun(), and MultiTrackValidator().
|
protected |
Definition at line 38 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), analyze(), beginRun(), endRun(), MultiTrackValidator(), and ~MultiTrackValidator().
|
private |
Definition at line 44 of file MultiTrackValidator.h.
Referenced by beginRun(), 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(), beginRun(), and MultiTrackValidator().
|
private |
Definition at line 43 of file MultiTrackValidator.h.
Referenced by MultiTrackValidator().