Public Member Functions | |
def | __init__ |
def | charge |
def | energy |
def | eta |
def | mass |
def | p4 |
def | pdgId |
def | phi |
def | pt |
Public Attributes | |
leg1 | |
leg2 | |
Private Attributes | |
_charge | |
_p4 | |
_pdgid | |
_status | |
Resonance decaying into 2 particles. The interface of this class mimics the interface of the CMS Candidate class. In this way Resonance objects or CMS Candidate objects can be processed transparently.
Definition at line 10 of file ResonanceBuilder.py.
def ResonanceBuilder.Resonance.__init__ | ( | self, | |
leg1, | |||
leg2, | |||
pdgid, | |||
status = 3 |
|||
) |
Parameters (stored as attributes): leg1,2 : first and second leg. pdgid : pdg code of the resonance status : status code of the resonance
Definition at line 18 of file ResonanceBuilder.py.
def ResonanceBuilder.Resonance.charge | ( | self | ) |
Definition at line 50 of file ResonanceBuilder.py.
References ResonanceBuilder.Resonance._charge.
def ResonanceBuilder.Resonance.energy | ( | self | ) |
Definition at line 38 of file ResonanceBuilder.py.
Referenced by Jet.Jet.rawEnergy().
def ResonanceBuilder.Resonance.eta | ( | self | ) |
Definition at line 41 of file ResonanceBuilder.py.
Referenced by Particle.Particle.__str__(), Jet.Jet.jetID(), and Jet.Jet.puJetId().
def ResonanceBuilder.Resonance.mass | ( | self | ) |
Definition at line 47 of file ResonanceBuilder.py.
Referenced by Particle.Particle.__str__(), and DiObject.DiMuon.__str__().
def ResonanceBuilder.Resonance.p4 | ( | self | ) |
Definition at line 32 of file ResonanceBuilder.py.
References ResonanceBuilder.Resonance._p4.
Referenced by Tau.Tau.dxy_approx(), Tau.Tau.dz(), and Lepton.Lepton.p4WithFSR().
def ResonanceBuilder.Resonance.pdgId | ( | self | ) |
Definition at line 53 of file ResonanceBuilder.py.
References ResonanceBuilder.Resonance._pdgid.
Referenced by Particle.Particle.__str__().
def ResonanceBuilder.Resonance.phi | ( | self | ) |
Definition at line 44 of file ResonanceBuilder.py.
Referenced by Particle.Particle.__str__().
def ResonanceBuilder.Resonance.pt | ( | self | ) |
Definition at line 35 of file ResonanceBuilder.py.
Referenced by Particle.Particle.__str__(), DiObject.DiMuon.__str__(), Photon.Photon.calScaledIsoValueExp(), Photon.Photon.calScaledIsoValueLin(), Photon.Photon.calScaledIsoValueQuadr(), Electron.Electron.mvaIDLoose(), Electron.Electron.mvaIDRun2(), Electron.Electron.mvaIDTight(), Electron.Electron.ptErr(), Lepton.Lepton.relIso(), Lepton.Lepton.relIsoFromEA(), Lepton.Lepton.relIsoR(), and Jet.Jet.setCorrP4().
|
private |
Definition at line 28 of file ResonanceBuilder.py.
Referenced by ResonanceBuilder.Resonance.charge().
|
private |
Definition at line 27 of file ResonanceBuilder.py.
Referenced by ResonanceBuilder.Resonance.p4().
|
private |
Definition at line 29 of file ResonanceBuilder.py.
Referenced by ResonanceBuilder.Resonance.pdgId().
|
private |
Definition at line 30 of file ResonanceBuilder.py.
ResonanceBuilder.Resonance.leg1 |
Definition at line 25 of file ResonanceBuilder.py.
Referenced by DiObject.DiObject.__str__(), and DiObject.DiObject.sumPt().
ResonanceBuilder.Resonance.leg2 |
Definition at line 26 of file ResonanceBuilder.py.
Referenced by DiObject.DiObject.__str__(), and DiObject.DiObject.sumPt().