#include <TrackerSeedValidator.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... | |
TrackerSeedValidator (const edm::ParameterSet &pset) | |
Constructor. More... | |
virtual | ~TrackerSeedValidator () |
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 () |
Private Attributes | |
std::vector< edm::EDGetTokenT < reco::TrackToTrackingParticleAssociator > > | associatorTokens |
std::string | builderName |
CosmicTrackingParticleSelector | cosmictpSelector |
std::string | dirName_ |
std::unique_ptr < MTVHistoProducerAlgoForTracker > | histoProducerAlgo_ |
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 38 of file TrackerSeedValidator.cc.
References MultiTrackValidatorBase::associators, associatorTokens, builderName, dirName_, edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, and tpSelector.
|
virtual |
|
overridevirtual |
Method called once per event.
Implements edm::stream::EDAnalyzerBase.
Definition at line 105 of file TrackerSeedValidator.cc.
References reco::TrackBase::appendHits(), reco::TrackToTrackingParticleAssociator::associateRecoToSim(), reco::TrackToTrackingParticleAssociator::associateSimToReco(), MultiTrackValidatorBase::associators, associatorTokens, MultiTrackValidatorBase::bsSrc, builderName, EncodedEventId::bunchCrossing(), TrackingParticleNumberOfLayers::calculate(), LocalTrajectoryParameters::charge(), funct::cos(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, alignCSCRings::e, edm::AssociationMap< Tag >::end(), EncodedEventId::event(), TrackingParticle::eventId(), 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::labelTokenSeed, LogTrace, PTrajectoryStateOnDet::parameters(), MultiTrackValidatorBase::parametersDefiner, reco::BeamSpot::position(), edm::Handle< T >::product(), edm::ESHandle< class >::product(), TrajectorySeed::recHits(), fileCollector::seed, MultiTrackValidatorBase::simHitTokens_, funct::sin(), findQualityFiles::size, mathSSE::sqrt(), TrajectorySeed::startingState(), theTTRHBuilder, tpSelector, trajectoryStateTransform::transientState(), w, and cms::Exception::what().
|
overridevirtual |
Method called to book the DQM histograms.
Implements DQMEDAnalyzer.
Definition at line 64 of file TrackerSeedValidator.cc.
References ecalcalib_dqm_sourceclient-live_cfg::algo, MultiTrackValidatorBase::associators, DQMStore::IBooker::cd(), TrackerOfflineValidation_Dqm_cff::dirName, dirName_, histoProducerAlgo_, edm::InputTag::instance(), edm::InputTag::label(), MultiTrackValidatorBase::label, edm::InputTag::process(), python.rootplot.root2matplotlib::replace(), and DQMStore::IBooker::setCurrentFolder().
|
private |
Definition at line 33 of file TrackerSeedValidator.h.
Referenced by analyze(), and TrackerSeedValidator().
|
private |
Definition at line 35 of file TrackerSeedValidator.h.
Referenced by analyze(), and TrackerSeedValidator().
|
private |
Definition at line 42 of file TrackerSeedValidator.h.
|
private |
Definition at line 37 of file TrackerSeedValidator.h.
Referenced by bookHistograms(), and TrackerSeedValidator().
|
private |
Definition at line 43 of file TrackerSeedValidator.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 36 of file TrackerSeedValidator.h.
Referenced by analyze().
|
private |
Definition at line 41 of file TrackerSeedValidator.h.
Referenced by analyze(), and TrackerSeedValidator().