Public Member Functions | |
def | __init__ (self, args, kwargs) |
def | absIsoWithFSR (self, R=0.4, puCorr="deltaBeta", dBetaFactor=0.5) |
def | chargedAllIso (self) |
def | chargedAllIsoR (self, R=0.4) |
def | chargedHadronIsoR (self, R=0.4) |
def | dxy (self, vertex=None) |
def | dz (self, vertex=None) |
def | edxy (self) |
def | edz (self) |
def | looseId (self) |
def | muonID (self, name, vertex=None) |
def | mvaId (self) |
def | neutralHadronIsoR (self, R=0.4) |
def | photonIsoR (self, R=0.4) |
def | ptErr (self) |
def | puChargedHadronIsoR (self, R=0.4) |
def | setTrackForDxyDz (self, what) |
def | tightId (self) |
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(), SiStripPI.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, CalorimeterProperties.rho(), BinomialProbHelper.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(), FastCircleFit.rho(), reco::CastorCell.rho(), CylindricalState.rho(), reco::CastorJet.rho(), reco::CastorEgamma.rho(), reco::CastorTower.rho(), reco::CastorCluster.rho(), GeometricDet.rho(), AlignmentMonitorMuonSystemMap1D::MyResidual.rho, HGCalImagingAlgo::Hexel.rho, objects.JetAnalyzer.JetAnalyzer.rho, and harvestTrackValidationPlots.str.
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().
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().
Referenced by ntupleDataFormat.Track.dxyPull().
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().
Referenced by ntupleDataFormat.Track.dzPull().
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().
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, ScoutingMuon.isGlobalMuon(), reco::ShallowClonePtrCandidate.isGlobalMuon(), reco::ShallowCloneCandidate.isGlobalMuon(), reco::LeafRefCandidateT.isGlobalMuon(), reco::LeafCandidate.isGlobalMuon(), CompositeRefCandidateT< reco::GenParticleRefVector >.isGlobalMuon(), CandidateWithRef< Ref >.isGlobalMuon(), HGCalClusterT< C >.isGlobalMuon(), reco::Candidate.isGlobalMuon(), reco::Muon.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(), CompositeRefCandidateT< reco::GenParticleRefVector >.bestTrack(), HGCalClusterT< C >.bestTrack(), reco::Candidate.bestTrack(), CandidateWithRef< Ref >.bestTrack(), and pat::PackedCandidate.bestTrack().
Referenced by ntupleDataFormat.Track.ptPull().
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().