1 #ifndef MuonReco_MuonSelectors_h
2 #define MuonReco_MuonSelectors_h
13 namespace reco{
class Vertex;}
68 double minCompatibility,
73 int minNumberOfMatches,
78 double maxChamberDist,
79 double maxChamberDistPull,
81 bool syncMinNMatchesNRequiredStationsInBarrelOnly =
true,
82 bool applyAlsoAngularCuts =
false);
91 double maxChamberDist,
92 double maxChamberDistPull,
107 double pullX = 1.0,
double pullY = 1.0,
bool checkAdjacentChambers =
false);
float caloCompatibility(const reco::Muon &muon)
bool isLooseMuon(const reco::Muon &)
SelectionType
Selector type.
bool overlap(const reco::Muon &muon1, const reco::Muon &muon2, double pullX=1.0, double pullY=1.0, bool checkAdjacentChambers=false)
bool isSoftMuon(const reco::Muon &, const reco::Vertex &)
ArbitrationType
define arbitration schemes
float segmentCompatibility(const reco::Muon &muon, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)
static const unsigned int BestInChamberByDR
bool isGoodMuon(const reco::Muon &muon, SelectionType type, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)
main GoodMuon wrapper call
int sharedSegments(const reco::Muon &muon1, const reco::Muon &muon2, unsigned int segmentArbitrationMask=reco::MuonSegmentMatch::BestInChamberByDR)
bool isHighPtMuon(const reco::Muon &, const reco::Vertex &)
SelectionType selectionTypeFromString(const std::string &label)
a lightweight "map" for selection type string label and enum value
unsigned int RequiredStationMask(const reco::Muon &muon, double maxChamberDist, double maxChamberDistPull, reco::Muon::ArbitrationType arbitrationType)
bool isTightMuon(const reco::Muon &, const reco::Vertex &)