A particle object for use as a return value from the particle samplers.
Definition at line 837 of file samplers.py.
◆ __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):
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).
848 self.mom = mom
or ROOT.TLorentzVector(0,0,0,0)
849 self.pos = pos
or ROOT.TLorentzVector(0,0,0,0)
◆ mass
python.samplers.SampledParticle.mass |
◆ mom
python.samplers.SampledParticle.mom |
◆ pid
python.samplers.SampledParticle.pid |
◆ pos
python.samplers.SampledParticle.pos |
The documentation for this class was generated from the following file: