#include <GlobalTrackQualityProducer.h>
Public Member Functions | |
GlobalTrackQualityProducer (const edm::ParameterSet &iConfig) | |
virtual | ~GlobalTrackQualityProducer () |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
virtual std::pair< double, double > | kink (Trajectory &muon) const |
virtual std::pair< double, double > | newChi2 (Trajectory &muon) const |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
virtual double | trackProbability (Trajectory &track) const |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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) |
Definition at line 27 of file GlobalTrackQualityProducer.h.
|
explicit |
Definition at line 27 of file GlobalTrackQualityProducer.cc.
References Chi2MeasurementEstimator_cfi::Chi2MeasurementEstimator, edm::EDConsumerBase::consumesCollector(), edm::ParameterSet::getParameter(), glbMuonsToken, GlobalMuonRefitter_cff::GlobalMuonRefitter, GlobalMuonTrackMatcher_cff::GlobalMuonTrackMatcher, inputCollection_, inputLinksCollection_, linkCollectionToken, btvTracks_cfi::maxChi2, MuonServiceProxy_cff::MuonServiceProxy, gsfElectronCkfTrackCandidateMaker_cff::nSigma, theEstimator, theGlbMatcher, theGlbRefitter, and theService.
|
virtual |
Definition at line 52 of file GlobalTrackQualityProducer.cc.
References theEstimator, theGlbMatcher, theGlbRefitter, and theService.
|
privatevirtual |
Definition at line 175 of file GlobalTrackQualityProducer.cc.
References mps_update::diff, relativeConstraints::error, TrajectoryStateOnSurface::globalPosition(), edm::isNotFinite(), TrajectoryStateOnSurface::isValid(), funct::m, M_PI, Trajectory::measurements(), convertSQLiteXML::ok, PV3DBase< T, PVType, FrameType >::phi(), GlobalErrorBase< T, ErrorWeightType >::phierr(), mps_fire::result, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and DetId::Tracker.
Referenced by produce().
|
privatevirtual |
Definition at line 244 of file GlobalTrackQualityProducer.cc.
References MeasurementEstimator::estimate(), TrajectoryStateOnSurface::isValid(), funct::m, Trajectory::measurements(), DetId::Muon, AlCaHLTBitMon_QueryRunRegistry::string, theEstimator, and DetId::Tracker.
Referenced by produce().
|
overrideprivatevirtual |
Definition at line 60 of file GlobalTrackQualityProducer.cc.
References HiEvtPlane_cfi::chi2, reco::MuonQuality::chi2LocalMomentum, reco::MuonQuality::chi2LocalPosition, edmIntegrityCheck::d, MuonServiceProxy::eventSetup(), edm::EventSetup::get(), edm::Event::getByToken(), edm::Event::getProvenance(), reco::MuonQuality::glbKink, glbMuonsToken, reco::MuonQuality::glbTrackProbability, reco::MuonQuality::globalDeltaEtaPhi, edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::isNull(), edm::HandleBase::isValid(), kink(), linkCollectionToken, reco::MuonQuality::localDistance, LogTrace, GlobalMuonTrackMatcher::match(), GlobalMuonTrackMatcher::matchTight(), hpstanc_transforms::max, eostools::move(), newChi2(), edm::ESHandle< T >::product(), edm::Event::put(), GlobalMuonRefitter::refit(), GlobalMuonRefitter::setEvent(), GlobalMuonRefitter::setServices(), reco::MuonQuality::staRelChi2, AlCaHLTBitMon_QueryRunRegistry::string, theGlbMatcher, theGlbRefitter, theService, reco::MuonQuality::tightMatch, HiIsolationCommonParameters_cff::track, trackProbability(), reco::MuonQuality::trkKink, reco::MuonQuality::trkRelChi2, MuonServiceProxy::update(), and reco::MuonQuality::updatedSta.
|
privatevirtual |
Definition at line 302 of file GlobalTrackQualityProducer.cc.
References Trajectory::chiSquared(), LnChiSquaredProbability(), and Trajectory::ndof().
Referenced by produce().
|
private |
Definition at line 41 of file GlobalTrackQualityProducer.h.
Referenced by GlobalTrackQualityProducer(), and produce().
|
private |
Definition at line 39 of file GlobalTrackQualityProducer.h.
Referenced by GlobalTrackQualityProducer().
|
private |
Definition at line 40 of file GlobalTrackQualityProducer.h.
Referenced by GlobalTrackQualityProducer().
|
private |
Definition at line 42 of file GlobalTrackQualityProducer.h.
Referenced by GlobalTrackQualityProducer(), and produce().
|
private |
Definition at line 46 of file GlobalTrackQualityProducer.h.
Referenced by GlobalTrackQualityProducer(), newChi2(), and ~GlobalTrackQualityProducer().
|
private |
Definition at line 45 of file GlobalTrackQualityProducer.h.
Referenced by GlobalTrackQualityProducer(), produce(), and ~GlobalTrackQualityProducer().
|
private |
Definition at line 44 of file GlobalTrackQualityProducer.h.
Referenced by GlobalTrackQualityProducer(), produce(), and ~GlobalTrackQualityProducer().
|
private |
Definition at line 43 of file GlobalTrackQualityProducer.h.
Referenced by GlobalTrackQualityProducer(), produce(), and ~GlobalTrackQualityProducer().