Classes | |
struct | SelectionTypeStringToEnum |
a lightweight "map" for selection type string label and enum value More... | |
Enumerations | |
enum | AlgorithmType { TMLastStation, TM2DCompatibility, TMOneStation } |
enum | SelectionType { All = 0, AllGlobalMuons = 1, AllStandAloneMuons = 2, AllTrackerMuons = 3, TrackerMuonArbitrated = 4, AllArbitrated = 5, GlobalMuonPromptTight = 6, TMLastStationLoose = 7, TMLastStationTight = 8, TM2DCompatibilityLoose = 9, TM2DCompatibilityTight = 10, TMOneStationLoose = 11, TMOneStationTight = 12, TMLastStationOptimizedLowPtLoose = 13, TMLastStationOptimizedLowPtTight = 14, GMTkChiCompatibility = 15, GMStaChiCompatibility = 16, GMTkKinkTight = 17, TMLastStationAngLoose = 18, TMLastStationAngTight = 19, TMOneStationAngLoose = 20, TMOneStationAngTight = 21, TMLastStationOptimizedBarrelLowPtLoose = 22, TMLastStationOptimizedBarrelLowPtTight = 23 } |
Selector type. More... | |
Functions | |
float | caloCompatibility (const reco::Muon &muon) |
bool | isGoodMuon (const reco::Muon &muon, SelectionType type, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration) |
main GoodMuon wrapper call More... | |
bool | isGoodMuon (const reco::Muon &muon, AlgorithmType type, double minCompatibility, reco::Muon::ArbitrationType arbitrationType) |
bool | isGoodMuon (const reco::Muon &muon, AlgorithmType type, int minNumberOfMatches, double maxAbsDx, double maxAbsPullX, double maxAbsDy, double maxAbsPullY, double maxChamberDist, double maxChamberDistPull, reco::Muon::ArbitrationType arbitrationType, bool syncMinNMatchesNRequiredStationsInBarrelOnly=true, bool applyAlsoAngularCuts=false) |
bool | overlap (const reco::Muon &muon1, const reco::Muon &muon2, double pullX=1.0, double pullY=1.0, bool checkAdjacentChambers=false) |
unsigned int | RequiredStationMask (const reco::Muon &muon, double maxChamberDist, double maxChamberDistPull, reco::Muon::ArbitrationType arbitrationType) |
float | segmentCompatibility (const reco::Muon &muon, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration) |
SelectionType | selectionTypeFromString (const std::string &label) |
reco::TrackRef | tevOptimized (const reco::TrackRef &combinedTrack, const reco::TrackRef &trackerTrack, const reco::TrackToTrackMap tevMap1, const reco::TrackToTrackMap tevMap2, const reco::TrackToTrackMap tevMap3) |
reco::TrackRef | tevOptimized (const reco::Muon &muon, const reco::TrackToTrackMap tevMap1, const reco::TrackToTrackMap tevMap2, const reco::TrackToTrackMap tevMap3) |
reco::TrackRef | tevOptimizedOld (const reco::TrackRef &combinedTrack, const reco::TrackRef &trackerTrack, const reco::TrackToTrackMap tevMap1, const reco::TrackToTrackMap tevMap2, const reco::TrackToTrackMap tevMap3) |
reco::TrackRef | tevOptimizedOld (const reco::Muon &muon, const reco::TrackToTrackMap tevMap1, const reco::TrackToTrackMap tevMap2, const reco::TrackToTrackMap tevMap3) |
double | trackProbability (const reco::TrackRef track) |
enum muon::AlgorithmType |
Enumerator | |
---|---|
TMLastStation | |
TM2DCompatibility | |
TMOneStation |
Definition at line 61 of file MuonSelectors.h.
enum muon::SelectionType |
Selector type.
Definition at line 16 of file MuonSelectors.h.
float muon::caloCompatibility | ( | const reco::Muon & | muon | ) |
Definition at line 68 of file MuonSelectors.cc.
References reco::Muon::caloCompatibility().
Referenced by CSCEfficiency::filter(), isGoodMuon(), and pat::MuonSelector::muIdSelection_().
bool muon::isGoodMuon | ( | const reco::Muon & | muon, |
SelectionType | type, | ||
reco::Muon::ArbitrationType | arbitrationType = reco::Muon::SegmentAndTrackArbitration |
||
) |
main GoodMuon wrapper call
Definition at line 533 of file MuonSelectors.cc.
References All, AllArbitrated, AllGlobalMuons, AllStandAloneMuons, AllTrackerMuons, reco::Muon::combinedQuality(), reco::LeafCandidate::eta(), GlobalMuonPromptTight, reco::Muon::globalTrack(), GMStaChiCompatibility, GMTkChiCompatibility, GMTkKinkTight, reco::Muon::innerTrack(), reco::Muon::isGlobalMuon(), reco::Muon::isQualityValid(), reco::Muon::isStandAloneMuon(), reco::Muon::isTrackerMuon(), reco::Muon::numberOfMatches(), reco::Muon::outerTrack(), reco::LeafCandidate::pt(), reco::MuonQuality::staRelChi2, TM2DCompatibility, TM2DCompatibilityLoose, TM2DCompatibilityTight, TMLastStation, TMLastStationAngLoose, TMLastStationAngTight, TMLastStationLoose, TMLastStationOptimizedBarrelLowPtLoose, TMLastStationOptimizedBarrelLowPtTight, TMLastStationOptimizedLowPtLoose, TMLastStationOptimizedLowPtTight, TMLastStationTight, TMOneStation, TMOneStationAngLoose, TMOneStationAngTight, TMOneStationLoose, TMOneStationTight, TrackerMuonArbitrated, reco::MuonQuality::trkKink, and reco::MuonQuality::trkRelChi2.
Referenced by ExampleMuonAnalyzer::analyze(), BPhysicsOniaDQM::analyze(), TrackEfficiencyMonitor::analyze(), HiggsDQM::analyze(), MuonIdVal::analyze(), MuonCosmicCompatibilityFiller::checkMuonID(), PFRecoTauDiscriminationAgainstMuon::discriminate(), WMuNuValidator::filter(), WMuNuSelector::filter(), PFMuonAlgo::isGlobalLooseMuon(), PFMuonAlgo::isGlobalTightMuon(), PFMuonAlgo::isTightMuonPOG(), PFMuonAlgo::isTrackerLooseMuon(), PFMuonAlgo::isTrackerTightMuon(), JetPlusTrackCorrector::matchMuons(), pat::MuonSelector::muIdSelection_(), pat::Muon::muonID(), PFMuonAlgo::printMuonProperties(), MuonTrackProducer::produce(), MuonSelectionTypeValueMapProducer::produce(), MuonRefProducer::produce(), SoftLepton::produce(), and FourVectorHLTOffline::selectMuons().
bool muon::isGoodMuon | ( | const reco::Muon & | muon, |
AlgorithmType | type, | ||
double | minCompatibility, | ||
reco::Muon::ArbitrationType | arbitrationType | ||
) |
Definition at line 286 of file MuonSelectors.cc.
References caloCompatibility(), reco::Muon::isMatchesValid(), segmentCompatibility(), and TM2DCompatibility.
bool muon::isGoodMuon | ( | const reco::Muon & | muon, |
AlgorithmType | type, | ||
int | minNumberOfMatches, | ||
double | maxAbsDx, | ||
double | maxAbsPullX, | ||
double | maxAbsDy, | ||
double | maxAbsPullY, | ||
double | maxChamberDist, | ||
double | maxChamberDistPull, | ||
reco::Muon::ArbitrationType | arbitrationType, | ||
bool | syncMinNMatchesNRequiredStationsInBarrelOnly = true , |
||
bool | applyAlsoAngularCuts = false |
||
) |
Definition at line 308 of file MuonSelectors.cc.
References reco::Muon::dX(), reco::Muon::dY(), reco::LeafCandidate::eta(), reco::Muon::isMatchesValid(), reco::Muon::pullDxDz(), reco::Muon::pullDyDz(), reco::Muon::pullX(), reco::Muon::pullY(), RequiredStationMask(), relativeConstraints::station, reco::Muon::stationMask(), TMLastStation, and TMOneStation.
bool muon::overlap | ( | const reco::Muon & | muon1, |
const reco::Muon & | muon2, | ||
double | pullX = 1.0 , |
||
double | pullY = 1.0 , |
||
bool | checkAdjacentChambers = false |
||
) |
Definition at line 639 of file MuonSelectors.cc.
References abs, CSCDetId::chamber(), MuonSubdetId::CSC, CSCDetId::endcap(), reco::Muon::matches(), reco::Muon::numberOfMatches(), reco::LeafCandidate::pt(), CSCDetId::ring(), reco::Muon::SegmentAndTrackArbitration, mathSSE::sqrt(), and CSCDetId::station().
Referenced by CSCCFEBData::digis(), TopDiLeptonOffline::MonitorEnsemble::fill(), main(), IsolationProducerForTracks::produce(), MatchedProbeMaker< T >::produce(), MuonMesh::pruneMesh(), CSCEventData::selfTest(), CMSMidpointAlgorithm::splitAndMerge(), edm::EventSelector::testSelectionOverlap(), and PFBlockAlgo::testSuperClusterPFCluster().
unsigned int muon::RequiredStationMask | ( | const reco::Muon & | muon, |
double | maxChamberDist, | ||
double | maxChamberDistPull, | ||
reco::Muon::ArbitrationType | arbitrationType | ||
) |
Definition at line 51 of file MuonSelectors.cc.
References reco::Muon::trackDist(), and reco::Muon::trackDistErr().
Referenced by isGoodMuon().
float muon::segmentCompatibility | ( | const reco::Muon & | muon, |
reco::Muon::ArbitrationType | arbitrationType = reco::Muon::SegmentAndTrackArbitration |
||
) |
Definition at line 73 of file MuonSelectors.cc.
References reco::Muon::dX(), reco::Muon::dY(), i, siStripFEDMonitor_P5_cff::Max, reco::Muon::pullX(), reco::Muon::pullY(), reco::Muon::segmentX(), and reco::Muon::trackDist().
Referenced by ExampleMuonAnalyzer::analyze(), HiggsDQM::analyze(), MuonIdVal::analyze(), MuonCosmicCompatibilityFiller::checkMuonSegments(), PFRecoTauDiscriminationAgainstMuon::discriminate(), TauDiscriminationAgainstMuon< TauType, TauDiscriminator >::evaluateMuonVeto(), isGoodMuon(), pat::MuonSelector::muIdSelection_(), and pat::Muon::segmentCompatibility().
SelectionType muon::selectionTypeFromString | ( | const std::string & | label | ) |
Definition at line 7 of file MuonSelectors.cc.
References All, AllArbitrated, AllGlobalMuons, AllStandAloneMuons, AllTrackerMuons, edm::hlt::Exception, newFWLiteAna::found, GlobalMuonPromptTight, GMStaChiCompatibility, GMTkChiCompatibility, GMTkKinkTight, i, muon::SelectionTypeStringToEnum::label, TM2DCompatibilityLoose, TM2DCompatibilityTight, TMLastStationAngLoose, TMLastStationAngTight, TMLastStationLoose, TMLastStationOptimizedBarrelLowPtLoose, TMLastStationOptimizedBarrelLowPtTight, TMLastStationOptimizedLowPtLoose, TMLastStationOptimizedLowPtTight, TMLastStationTight, TMOneStationAngLoose, TMOneStationAngTight, TMOneStationLoose, TMOneStationTight, TrackerMuonArbitrated, muon::SelectionTypeStringToEnum::value, and relativeConstraints::value.
Referenced by pat::Muon::muonID(), MuonSelectionTypeValueMapProducer::MuonSelectionTypeValueMapProducer(), and MuonTrackProducer::produce().
reco::TrackRef muon::tevOptimized | ( | const reco::TrackRef & | combinedTrack, |
const reco::TrackRef & | trackerTrack, | ||
const reco::TrackToTrackMap | tevMap1, | ||
const reco::TrackToTrackMap | tevMap2, | ||
const reco::TrackToTrackMap | tevMap3 | ||
) |
Definition at line 11 of file MuonCocktails.cc.
References edm::AssociationMap< Tag >::end(), edm::AssociationMap< Tag >::find(), i, convertSQLiteXML::ok, and trackProbability().
Referenced by MuonsFromRefitTracksProducer::produce(), and tevOptimized().
reco::TrackRef muon::tevOptimized | ( | const reco::Muon & | muon, |
const reco::TrackToTrackMap | tevMap1, | ||
const reco::TrackToTrackMap | tevMap2, | ||
const reco::TrackToTrackMap | tevMap3 | ||
) |
Definition at line 129 of file MuonCocktails.cc.
References reco::Muon::combinedMuon(), tevOptimized(), and reco::Muon::track().
reco::TrackRef muon::tevOptimizedOld | ( | const reco::TrackRef & | combinedTrack, |
const reco::TrackRef & | trackerTrack, | ||
const reco::TrackToTrackMap | tevMap1, | ||
const reco::TrackToTrackMap | tevMap2, | ||
const reco::TrackToTrackMap | tevMap3 | ||
) |
Definition at line 63 of file MuonCocktails.cc.
References edm::AssociationMap< Tag >::end(), edm::AssociationMap< Tag >::find(), i, convertSQLiteXML::ok, query::result, and trackProbability().
Referenced by tevOptimizedOld().
reco::TrackRef muon::tevOptimizedOld | ( | const reco::Muon & | muon, |
const reco::TrackToTrackMap | tevMap1, | ||
const reco::TrackToTrackMap | tevMap2, | ||
const reco::TrackToTrackMap | tevMap3 | ||
) |
Definition at line 140 of file MuonCocktails.cc.
References reco::Muon::combinedMuon(), tevOptimizedOld(), and reco::Muon::track().
double muon::trackProbability | ( | const reco::TrackRef | track | ) |
Definition at line 151 of file MuonCocktails.cc.
References funct::log().
Referenced by HistogramProbabilityEstimator::probability(), tevOptimized(), tevOptimizedOld(), and tevOptimizedTMR().