#include <TrackerSeedValidator.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... | |
TrackerSeedValidator (const edm::ParameterSet &pset) | |
Constructor. More... | |
virtual | ~TrackerSeedValidator () |
Destructor. More... | |
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 | |
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 (const std::string &iProcessName, std::vector< const char * > &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 () |
Private Attributes | |
std::string | builderName |
CosmicTrackingParticleSelector | cosmictpSelector |
std::string | dirName_ |
MTVHistoProducerAlgo * | histoProducerAlgo_ |
bool | runStandalone |
edm::ESHandle < TransientTrackingRecHitBuilder > | theTTRHBuilder |
TrackingParticleSelector | tpSelector |
Class that prodecs histrograms to validate Track Reconstruction performances
Definition at line 18 of file TrackerSeedValidator.h.
TrackerSeedValidator::TrackerSeedValidator | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 36 of file TrackerSeedValidator.cc.
References MultiTrackValidatorBase::associators, builderName, edm::EDConsumerBase::consumesCollector(), dirName_, reco::get(), edm::ParameterSet::getParameter(), histoProducerAlgo_, HLT_25ns14e33_v1_cff::InputTag, runStandalone, AlCaHLTBitMon_QueryRunRegistry::string, and tpSelector.
|
virtual |
Destructor.
Definition at line 66 of file TrackerSeedValidator.cc.
References histoProducerAlgo_.
|
virtual |
Method called once per event.
Implements edm::EDAnalyzer.
Definition at line 116 of file TrackerSeedValidator.cc.
References reco::TrackBase::appendHits(), MultiTrackValidatorBase::associators, asciidump::at, MultiTrackValidatorBase::bsSrc, EncodedEventId::bunchCrossing(), LocalTrajectoryParameters::charge(), funct::cos(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, alignCSCRings::e, edm::AssociationMap< Tag >::end(), EncodedEventId::event(), TrackingParticle::eventId(), 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(), plotBeamSpotDB::first, TrajectoryStateOnSurface::freeState(), PerigeeConversions::ftsToPerigeeError(), edm::EventSetup::get(), PileupSummaryInfo::getPU_NumInteractions(), histoProducerAlgo_, i, MultiTrackValidatorBase::label, MultiTrackValidatorBase::label_pileupinfo, MultiTrackValidatorBase::label_tp_effic, MultiTrackValidatorBase::label_tp_fake, MultiTrackValidatorBase::label_tv, MultiTrackValidatorBase::labelTokenSeed, LogTrace, PTrajectoryStateOnDet::parameters(), MultiTrackValidatorBase::parametersDefiner, reco::BeamSpot::position(), edm::Handle< T >::product(), edm::ESHandle< class >::product(), TrajectorySeed::recHits(), fileCollector::seed, funct::sin(), findQualityFiles::size, mathSSE::sqrt(), TrajectorySeed::startingState(), MultiTrackValidatorBase::theMF, theTTRHBuilder, tpSelector, trajectoryStateTransform::transientState(), w, and cms::Exception::what().
void TrackerSeedValidator::bookHistograms | ( | DQMStore::IBooker & | ibook, |
edm::Run const & | , | ||
edm::EventSetup const & | setup | ||
) |
Method called to book the DQM histograms.
Definition at line 68 of file TrackerSeedValidator.cc.
References ecalcalib_dqm_sourceclient-live_cfg::algo, MultiTrackValidatorBase::associators, MTVHistoProducerAlgo::bookRecoHistos(), MTVHistoProducerAlgo::bookRecoHistosForStandaloneRunning(), MTVHistoProducerAlgo::bookSimHistos(), builderName, 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(), python.rootplot.root2matplotlib::replace(), runStandalone, DQMStore::IBooker::setCurrentFolder(), MultiTrackValidatorBase::theMF, and theTTRHBuilder.
|
virtual |
Method called at the end of the event loop.
Reimplemented from edm::EDAnalyzer.
Definition at line 413 of file TrackerSeedValidator.cc.
References MultiTrackValidatorBase::associators, MTVHistoProducerAlgo::fillProfileHistosFromVectors(), MTVHistoProducerAlgo::finalHistoFits(), histoProducerAlgo_, MultiTrackValidatorBase::label, LogTrace, runStandalone, and w.
|
private |
Definition at line 35 of file TrackerSeedValidator.h.
Referenced by bookHistograms(), and TrackerSeedValidator().
|
private |
Definition at line 43 of file TrackerSeedValidator.h.
|
private |
Definition at line 37 of file TrackerSeedValidator.h.
Referenced by bookHistograms(), and TrackerSeedValidator().
|
private |
Definition at line 44 of file TrackerSeedValidator.h.
Referenced by analyze(), bookHistograms(), endRun(), TrackerSeedValidator(), and ~TrackerSeedValidator().
|
private |
Definition at line 39 of file TrackerSeedValidator.h.
Referenced by bookHistograms(), endRun(), and TrackerSeedValidator().
|
private |
Definition at line 36 of file TrackerSeedValidator.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 42 of file TrackerSeedValidator.h.
Referenced by analyze(), and TrackerSeedValidator().