68 if ( t.
isNull() )
return false;
69 const auto&
h = t->hitPattern();
79 if ( t.
isNull() )
return false;
80 const auto&
h = t->hitPattern();
94 if ( t.
isNull() )
return 0;
95 const auto&
h = t->hitPattern();
102 return t->validFraction();
107 if ( t.
isNull() )
return 0;
108 const auto&
h = t->hitPattern();
112 return h.numberOfValidMuonHits();
T getParameter(std::string const &) const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
virtual TrackRef innerTrack() const
TrackQuality
track quality
bool exists(std::string const ¶meterName) const
checks if a parameter exists
result_type operator()(const reco::MuonPtr &) const final
int minNumberOfValidPixelHits_
double value(const reco::CandidatePtr &) const final
MuonTrackCut(const edm::ParameterSet &c)
bool isNull() const
Checks for null.
int minNumberOfValidMuonHits_
static TrackQuality qualityByName(const std::string &name)
CandidateType candidateType() const final
int minTrackerLayersWithMeasurement_
reco::Track::TrackQuality trackQuality_
#define DEFINE_EDM_PLUGIN(factory, type, name)
int minPixelLayersWithMeasurement_
virtual TrackRef globalTrack() const
reference to Track reconstructed in both tracked and muon detector