ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
python.samplers.SampledParticle Class Reference
Inheritance diagram for python.samplers.SampledParticle:
Collaboration diagram for python.samplers.SampledParticle:

Public Member Functions

def __init__ (self, pid=None, mom=None, pos=None)
 

Public Attributes

 pid
 
 mom
 
 pos
 
 mass
 

Detailed Description

A particle object for use as a return value from the particle samplers.

Definition at line 837 of file samplers.py.

Constructor & Destructor Documentation

◆ __init__()

def python.samplers.SampledParticle.__init__ (   self,
  pid = None,
  mom = None,
  pos = None 
)
Constructor/initializer: PID is the (int) PDG particle ID code
of this particle, mom is its momentum 4-vector, and pos is
the vertex 4-position (both as ROOT.TLorentzVector, in MeV).

Definition at line 841 of file samplers.py.

841  def __init__(self, pid=None, mom=None, pos=None):
842  """
843  Constructor/initializer: PID is the (int) PDG particle ID code
844  of this particle, mom is its momentum 4-vector, and pos is
845  the vertex 4-position (both as ROOT.TLorentzVector, in MeV).
846  """
847  self.pid = pid
848  self.mom = mom or ROOT.TLorentzVector(0,0,0,0)
849  self.pos = pos or ROOT.TLorentzVector(0,0,0,0)
850  self.mass = None
851 
852 

Member Data Documentation

◆ mass

python.samplers.SampledParticle.mass

Definition at line 850 of file samplers.py.

◆ mom

python.samplers.SampledParticle.mom

Definition at line 848 of file samplers.py.

◆ pid

python.samplers.SampledParticle.pid

Definition at line 847 of file samplers.py.

◆ pos

python.samplers.SampledParticle.pos

Definition at line 849 of file samplers.py.


The documentation for this class was generated from the following file:
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18