Public Member Functions | |
def | __init__ |
def | absIsoWithFSR |
def | chargedAllIso |
def | chargedAllIsoR |
def | chargedHadronIsoR |
def | dxy |
def | dz |
def | edxy |
def | edz |
def | looseId |
def | muonID |
def | mvaId |
def | neutralHadronIsoR |
def | photonIsoR |
def | ptErr |
def | puChargedHadronIsoR |
def | setTrackForDxyDz |
def | tightId |
Private Attributes | |
_trackForDxyDz | |
def Muon.Muon.absIsoWithFSR | ( | self, | |
R = 0.4 , |
|||
puCorr = "deltaBeta" , |
|||
dBetaFactor = 0.5 |
|||
) |
Calculate Isolation, subtract FSR, apply specific PU corrections"
Definition at line 114 of file Muon.py.
References Muon.Muon.chargedHadronIsoR(), Electron.Electron.chargedHadronIsoR(), deltaR(), bookConverter.max, Muon.Muon.neutralHadronIsoR(), Electron.Electron.neutralHadronIsoR(), Muon.Muon.photonIsoR(), Electron.Electron.photonIsoR(), Muon.Muon.puChargedHadronIsoR(), Electron.Electron.puChargedHadronIsoR(), python.rootplot.root2matplotlib.replace(), Photon.Photon.rho, Electron.Electron.rho, BinomialProbHelper.rho(), CalorimeterProperties.rho(), PreshowerProperties.rho(), ECALProperties.rho(), TauValidation.rho, correctionValue_class.rho, TangentCircle.rho(), HCALProperties.rho(), TangentHelix.rho(), MaterialEffectsSimulator.rho(), RhoEtaPhi.rho(), QcdLowPtDQM::Pixel.rho(), FastCircle.rho(), reco::GhostTrackPrediction.rho(), StoredPileupJetIdentifier.rho(), fastjet::BackgroundEstimator.rho(), reco::CastorCell.rho(), CylindricalState.rho(), reco::CastorJet.rho(), reco::CastorEgamma.rho(), reco::CastorTower.rho(), reco::CastorCluster.rho(), GeometricDet.rho(), AlignmentMonitorMuonSystemMap1D::MyResidual.rho, and objects.JetAnalyzer.JetAnalyzer.rho.
def Muon.Muon.chargedAllIso | ( | self | ) |
Definition at line 105 of file Muon.py.
References Muon.Muon.chargedAllIsoR(), and Electron.Electron.chargedAllIsoR().
def Muon.Muon.chargedAllIsoR | ( | self, | |
R = 0.4 |
|||
) |
Definition at line 100 of file Muon.py.
Referenced by Lepton.Lepton.absIsoR(), and Muon.Muon.chargedAllIso().
def Muon.Muon.chargedHadronIsoR | ( | self, | |
R = 0.4 |
|||
) |
Definition at line 85 of file Muon.py.
Referenced by Lepton.Lepton.absIsoR(), and Muon.Muon.absIsoWithFSR().
def Muon.Muon.dxy | ( | self, | |
vertex = None |
|||
) |
either pass the vertex, or set associatedVertex before calling the function. note: the function does not work with standalone muons as innerTrack is not available.
Definition at line 58 of file Muon.py.
References Muon.Muon._trackForDxyDz, Electron.Electron.associatedVertex, and reco::tau::RecoTauVertexAssociator.associatedVertex().
def Muon.Muon.dz | ( | self, | |
vertex = None |
|||
) |
either pass the vertex, or set associatedVertex before calling the function. note: the function does not work with standalone muons as innerTrack is not available.
Definition at line 72 of file Muon.py.
References Muon.Muon._trackForDxyDz, Electron.Electron.associatedVertex, and reco::tau::RecoTauVertexAssociator.associatedVertex().
def Muon.Muon.edxy | ( | self | ) |
returns the uncertainty on dxy (from gsf track)
Definition at line 67 of file Muon.py.
References Muon.Muon._trackForDxyDz.
def Muon.Muon.edz | ( | self | ) |
returns the uncertainty on dxz (from gsf track)
Definition at line 81 of file Muon.py.
References Muon.Muon._trackForDxyDz.
def Muon.Muon.looseId | ( | self | ) |
Loose ID as recommended by mu POG.
Definition at line 15 of file Muon.py.
Referenced by Muon.Muon.muonID().
def Muon.Muon.muonID | ( | self, | |
name, | |||
vertex = None |
|||
) |
Definition at line 28 of file Muon.py.
References reco::MuonTrackLinks.globalTrack(), reco::Muon.globalTrack(), pat::Muon.globalTrack(), reco::CaloMuon.innerTrack(), reco::ME0Muon.innerTrack(), reco::Muon.innerTrack(), pat::Muon.innerTrack(), HcalRaddamMuon.innerTrack, HcalHBHEMuonAnalyzer.innerTrack, ScoutingMuon.isGlobalMuon(), reco::ShallowClonePtrCandidate.isGlobalMuon(), reco::ShallowCloneCandidate.isGlobalMuon(), reco::LeafRefCandidateT.isGlobalMuon(), reco::Muon.isGlobalMuon(), CandidateWithRef< Ref >.isGlobalMuon(), reco::LeafCandidate.isGlobalMuon(), reco::Candidate.isGlobalMuon(), pat::PackedGenParticle.isGlobalMuon(), pat::PackedCandidate.isGlobalMuon(), Muon.Muon.looseId(), L1Analysis::L1AnalysisRecoMuonDataFormat.numberOfMatchedStations, and reco::Muon.numberOfMatchedStations().
Referenced by Muon.Muon.tightId().
def Muon.Muon.mvaId | ( | self | ) |
def Muon.Muon.neutralHadronIsoR | ( | self, | |
R = 0.4 |
|||
) |
Definition at line 90 of file Muon.py.
Referenced by Lepton.Lepton.absIsoR(), and Muon.Muon.absIsoWithFSR().
def Muon.Muon.photonIsoR | ( | self, | |
R = 0.4 |
|||
) |
Definition at line 95 of file Muon.py.
Referenced by Lepton.Lepton.absIsoR(), and Muon.Muon.absIsoWithFSR().
def Muon.Muon.ptErr | ( | self | ) |
Definition at line 134 of file Muon.py.
References reco::RecoChargedRefCandidate.bestTrack(), reco::RecoCandidate.bestTrack(), reco::Muon.bestTrack(), pat::Muon.bestTrack(), reco::PFCandidate.bestTrack(), reco::Candidate.bestTrack(), CandidateWithRef< Ref >.bestTrack(), and pat::PackedCandidate.bestTrack().
def Muon.Muon.puChargedHadronIsoR | ( | self, | |
R = 0.4 |
|||
) |
Definition at line 108 of file Muon.py.
Referenced by Lepton.Lepton.absIsoR(), and Muon.Muon.absIsoWithFSR().
def Muon.Muon.setTrackForDxyDz | ( | self, | |
what | |||
) |
def Muon.Muon.tightId | ( | self | ) |
Tight ID as recommended by mu POG (unless redefined in the lepton analyzer). If not using the LeptonAnalyzer, make sure to set self.associatedVertex, that is necessary for tight muon identification.
Definition at line 19 of file Muon.py.
References Muon.Muon.muonID(), and pat::Muon.muonID().
|
private |
Definition at line 8 of file Muon.py.
Referenced by Muon.Muon.dxy(), Muon.Muon.dz(), Muon.Muon.edxy(), Muon.Muon.edz(), and Muon.Muon.setTrackForDxyDz().