24 const auto trackRef = cand->muonBestTrack();
32 const auto trackRef = muon->muonBestTrack();
33 if (trackRef.isNull()
or trackRef->pt() <= 0)
36 return trackRef->ptError() / trackRef->pt();
MuonMomQualityCut(const edm::ParameterSet &c)
const edm::EventSetup & c
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
CandidateType candidateType() const final
result_type operator()(const reco::MuonPtr &) const final
double value(const reco::CandidatePtr &) const final
bool isNonnull() const
Checks for non-null.
const double maxRelPtErr_
#define DEFINE_EDM_PLUGIN(factory, type, name)