#include <MultiTrackValidator.h>
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 |
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) | |
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 43 of file MultiTrackValidator.cc.
References _simHitTpMapTag, associatormap, MultiTrackValidatorBase::associators, edm::EDConsumerBase::consumesCollector(), 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 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, 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(), dt_dqm_sourceclient_common_cff::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 93 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(), python.rootplot.root2matplotlib::replace(), runStandalone, DQMStore::setCurrentFolder(), UseAssociators, and w().
|
virtual |
Method called at the end of the event loop.
Reimplemented from edm::EDAnalyzer.
Definition at line 500 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 47 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().
|
private |
Definition at line 46 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
private |
Definition at line 39 of file MultiTrackValidator.h.
Referenced by beginRun(), and MultiTrackValidator().
|
protected |
Definition at line 36 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), analyze(), beginRun(), endRun(), MultiTrackValidator(), and ~MultiTrackValidator().
|
private |
Definition at line 42 of file MultiTrackValidator.h.
Referenced by beginRun(), endRun(), and MultiTrackValidator().
|
private |
Definition at line 45 of file MultiTrackValidator.h.
Referenced by analyze(), and MultiTrackValidator().
|
protected |
Definition at line 35 of file MultiTrackValidator.h.
Referenced by MultiTrackValidatorGenPs::analyze(), analyze(), beginRun(), and MultiTrackValidator().
|
private |
Definition at line 41 of file MultiTrackValidator.h.
Referenced by MultiTrackValidator().