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.__init__ | ( | self, | |
args, | |||
kwargs | |||
) |
Definition at line 6 of file Muon.py.
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(), PbPb_ZMuSkimMuonDPG_cff.deltaR, PVValHelper.eta, SiStripPI.max, Muon.Muon.neutralHadronIsoR(), Electron.Electron.neutralHadronIsoR(), Muon.Muon.photonIsoR(), Electron.Electron.photonIsoR(), PhysicsObject.PhysicsObject.physObj, Muon.Muon.puChargedHadronIsoR(), Electron.Electron.puChargedHadronIsoR(), python.rootplot.root2matplotlib.replace(), Photon.Photon.rho, Electron.Electron.rho, CaloDetInfo.rho(), CalorimeterProperties.rho(), PreshowerProperties.rho(), TauValidation.rho, ECALProperties.rho(), correctionValue_class.rho, HCALProperties.rho(), ticl::PatternRecognitionbyCLUE3D< TILES >::ClustersOnLayer.rho, MaterialEffectsSimulator.rho(), TangentCircle.rho(), TangentHelix.rho(), FastCircle.rho(), RhoEtaPhi.rho(), reco::GhostTrackPrediction.rho(), fastjet::BackgroundEstimator.rho(), QcdLowPtDQM::Pixel.rho(), FastCircleFit.rho(), StoredPileupJetIdentifier.rho(), reco::CastorCell.rho(), CylindricalState.rho(), reco::CastorJet.rho(), reco::CastorEgamma.rho(), GeometricTimingDet.rho(), GeometricDet.rho(), reco::CastorTower.rho(), reco::CastorCluster.rho(), AlignmentMonitorMuonSystemMap1D::MyResidual.rho, DAClusterizerInZ_vect::vertex_t.rho, HGCalImagingAlgo::Hexel.rho, HGCalCLUEAlgoT< TILE >::CellsOnLayer.rho, DAClusterizerInZT_vect::vertex_t.rho, objects.JetAnalyzer.JetAnalyzer.rho, and 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.
References displacedMuons_cfi.pfIsolationR03, displacedMuons_cfi.pfIsolationR04, and PhysicsObject.PhysicsObject.physObj.
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.
References displacedMuons_cfi.pfIsolationR03, displacedMuons_cfi.pfIsolationR04, and PhysicsObject.PhysicsObject.physObj.
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().
Referenced by ntupleDataFormat.Track.dxyPull().
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().
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.
References muon.isLooseMuon(), and PhysicsObject.PhysicsObject.physObj.
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(), cutBasedMuonId_MuonPOG_V0_cff.globalTrack, susybsm::HSCParticleType.innerTrack, reco::CaloMuon.innerTrack(), reco::Muon.innerTrack(), pat::Muon.innerTrack(), HcalRaddamMuon.innerTrack, Phase2L1GMT::MuonROI.isGlobalMuon(), Phase2L1GMT::PreTrackMatchedMuon.isGlobalMuon(), reco::ShallowClonePtrCandidate.isGlobalMuon(), reco::ShallowCloneCandidate.isGlobalMuon(), ScoutingMuon.isGlobalMuon(), reco::LeafRefCandidateT.isGlobalMuon(), Run3ScoutingMuon.isGlobalMuon(), reco::Candidate.isGlobalMuon(), reco::LeafCandidate.isGlobalMuon(), CandidateWithRef< Ref >.isGlobalMuon(), HGCalClusterT< C >.isGlobalMuon(), reco::Muon.isGlobalMuon(), pat::PackedGenParticle.isGlobalMuon(), pat::PackedCandidate.isGlobalMuon(), muon.isHighPtMuon(), muon.isLooseMuon(), muon.isSoftMuon(), muon.isTightMuon(), Muon.Muon.looseId(), TrackCollections2monitor_cff.normalizedChi2, L1Analysis::L1AnalysisRecoMuonDataFormat.numberOfMatchedStations, reco::Muon.numberOfMatchedStations(), TrackCollections2monitor_cff.numberOfValidPixelHits, PhysicsObject.PhysicsObject.physObj, and muon.segmentCompatibility().
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.
References displacedMuons_cfi.pfIsolationR03, displacedMuons_cfi.pfIsolationR04, and PhysicsObject.PhysicsObject.physObj.
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.
References displacedMuons_cfi.pfIsolationR03, displacedMuons_cfi.pfIsolationR04, and PhysicsObject.PhysicsObject.physObj.
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(), 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.
References displacedMuons_cfi.pfIsolationR03, displacedMuons_cfi.pfIsolationR04, and PhysicsObject.PhysicsObject.physObj.
Referenced by Lepton.Lepton.absIsoR(), and Muon.Muon.absIsoWithFSR().
def Muon.Muon.setTrackForDxyDz | ( | self, | |
what | |||
) |
Definition at line 10 of file Muon.py.
References Muon.Muon._trackForDxyDz.
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().