27 minTrackerLayersWithMeasurement_(-1),
28 minPixelLayersWithMeasurement_(-1),
29 minNumberOfValidPixelHits_(-1),
30 minValidFraction_(-1),
31 trackQuality_(
reco::Track::undefQuality),
32 minNumberOfValidMuonHits_(-1),
34 doGlobalTrack_(
false) {
39 if (
cc.exists(
"minTrackerLayersWithMeasurement"))
41 if (
cc.exists(
"minPixelLayersWithMeasurement"))
43 if (
cc.exists(
"minNumberOfValidPixelHits"))
45 if (
cc.exists(
"minValidFraction"))
55 if (
cc.exists(
"minNumberOfValidMuonHits"))
66 const auto&
h =
t->hitPattern();
82 const auto&
h =
t->hitPattern();
97 const auto&
h =
t->hitPattern();
101 return h.trackerLayersWithMeasurement();
103 return h.pixelLayersWithMeasurement();
105 return h.numberOfValidPixelHits();
107 return t->validFraction();
109 return t->validFraction();
115 const auto&
h =
t->hitPattern();
117 return h.numberOfValidMuonHits();
120 return h.numberOfValidMuonHits();
TrackQuality
track quality
uint32_t cc[maxCellsPerHit]
int minNumberOfValidPixelHits_
double value(const reco::CandidatePtr &) const final
MuonTrackCut(const edm::ParameterSet &c)
int minNumberOfValidMuonHits_
static TrackQuality qualityByName(const std::string &name)
int minTrackerLayersWithMeasurement_
reco::Track::TrackQuality trackQuality_
#define DEFINE_EDM_PLUGIN(factory, type, name)
CandidateType candidateType() const final
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
result_type operator()(const reco::MuonPtr &) const final
int minPixelLayersWithMeasurement_