ATLAS Offline Software
Loading...
Searching...
No Matches
python.samplers.SampledParticle Class Reference
Inheritance diagram for python.samplers.SampledParticle:
Collaboration diagram for python.samplers.SampledParticle:

Public Types

typedef HLT::TypeInformation::for_each_type_c< typenameEDMLIST::map, my_functor, my_result<>, my_arg< HLT::TypeInformation::get_cont, CONTAINER > >::type result

Public Member Functions

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

Public Attributes

 pid = pid
 mom = mom or ROOT.TLorentzVector(0,0,0,0)
 pos = pos or ROOT.TLorentzVector(0,0,0,0)
 mass = None

Detailed Description

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

Definition at line 837 of file samplers.py.

Member Typedef Documentation

◆ result

Definition at line 90 of file EDM_MasterSearch.h.

Constructor & Destructor Documentation

◆ __init__()

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 = None

Definition at line 850 of file samplers.py.

◆ mom

python.samplers.SampledParticle.mom = mom or ROOT.TLorentzVector(0,0,0,0)

Definition at line 848 of file samplers.py.

◆ pid

python.samplers.SampledParticle.pid = pid

Definition at line 847 of file samplers.py.

◆ pos

python.samplers.SampledParticle.pos = pos or ROOT.TLorentzVector(0,0,0,0)

Definition at line 849 of file samplers.py.


The documentation for this class was generated from the following file: