#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) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
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 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 edm::EDConsumerBase::consumesCollector(), edm::ParameterSet::getParameter(), glbMuonsToken, GlobalMuonRefitter_cff::GlobalMuonRefitter, GlobalMuonTrackMatcher_cff::GlobalMuonTrackMatcher, inputCollection_, inputLinksCollection_, linkCollectionToken, HLT_FULL_cff::maxChi2, MuonServiceProxy_cff::MuonServiceProxy, HLT_FULL_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(), visualization-live-secondInstance_cfg::m, M_PI, Trajectory::measurements(), convertSQLiteXML::ok, PV3DBase< T, PVType, FrameType >::phi(), GlobalErrorBase< T, ErrorWeightType >::phierr(), dt_dqm_sourceclient_common_cff::reco, 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(), visualization-live-secondInstance_cfg::m, Trajectory::measurements(), DetId::Muon, dt_dqm_sourceclient_common_cff::reco, AlCaHLTBitMon_QueryRunRegistry::string, theEstimator, and DetId::Tracker.
Referenced by produce().
|
overrideprivatevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 60 of file GlobalTrackQualityProducer.cc.
References beam_dqm_sourceclient-live_cfg::chi2, reco::MuonQuality::chi2LocalMomentum, reco::MuonQuality::chi2LocalPosition, ztail::d, MuonServiceProxy::eventSetup(), edm::helper::Filler< Map >::fill(), 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::helper::Filler< Map >::insert(), edm::Ref< C, T, F >::isNull(), edm::HandleBase::isValid(), kink(), linkCollectionToken, electronStore::links, reco::MuonQuality::localDistance, LogTrace, GlobalMuonTrackMatcher::match(), GlobalMuonTrackMatcher::matchTight(), bookConverter::max, newChi2(), edm::ESHandle< class >::product(), edm::Event::put(), GlobalMuonRefitter::refit(), GlobalMuonRefitter::setEvent(), GlobalMuonRefitter::setServices(), reco::MuonQuality::staRelChi2, AlCaHLTBitMon_QueryRunRegistry::string, theGlbMatcher, theGlbRefitter, theService, reco::MuonQuality::tightMatch, HLT_FULL_cff::TrackCand, 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().