Geant4  10.02.p03
mcscore.MCParticle Class Reference
Collaboration diagram for mcscore.MCParticle:

Public Member Functions

def __init__ (self, aname, aZ, aA, akE, apx, apy, apz)
 
def printout (self)
 
def __init__ (self, aname, aZ, aA, akE, apx, apy, apz)
 
def printout (self)
 

Public Attributes

 name
 
 Z
 
 A
 
 kineticE
 
 px
 
 py
 
 pz
 

Detailed Description

Definition at line 28 of file mcscore.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

def mcscore.MCParticle.__init__ (   self,
  aname,
  aZ,
  aA,
  akE,
  apx,
  apy,
  apz 
)

Definition at line 30 of file mcscore.py.

30  def __init__(self, aname, aZ, aA, akE, apx, apy, apz):
31  self.name = aname
32  self.Z = aZ
33  self.A = aA
34  self.kineticE = akE
35  self.px = apx
36  self.py = apy
37  self.pz = apz
38 
Here is the caller graph for this function:

◆ __init__() [2/2]

def mcscore.MCParticle.__init__ (   self,
  aname,
  aZ,
  aA,
  akE,
  apx,
  apy,
  apz 
)

Definition at line 30 of file python3/mcscore.py.

30  def __init__(self, aname, aZ, aA, akE, apx, apy, apz):
31  self.name = aname
32  self.Z = aZ
33  self.A = aA
34  self.kineticE = akE
35  self.px = apx
36  self.py = apy
37  self.pz = apz
38 
Here is the call graph for this function:

Member Function Documentation

◆ printout() [1/2]

def mcscore.MCParticle.printout (   self)

Definition at line 39 of file mcscore.py.

39  def printout(self):
40  print "--- particle: %s, Z=%2d, A=%2d, kE=%g" % \
41  (self.name, self.Z, self.A, self.kineticE/MeV)
42 
43 # ------------------------------------------------------------------
44 # MCVertex
45 # ------------------------------------------------------------------
Here is the caller graph for this function:

◆ printout() [2/2]

def mcscore.MCParticle.printout (   self)

Definition at line 39 of file python3/mcscore.py.

39  def printout(self):
40  print("--- particle: %s, Z=%2d, A=%2d, kE=%g" % \
41  (self.name, self.Z, self.A, self.kineticE/MeV))
42 
43 # ------------------------------------------------------------------
44 # MCVertex
45 # ------------------------------------------------------------------
void print(G4double elem)
Here is the call graph for this function:

Member Data Documentation

◆ A

mcscore.MCParticle.A

Definition at line 33 of file mcscore.py.

◆ kineticE

mcscore.MCParticle.kineticE

Definition at line 34 of file mcscore.py.

◆ name

mcscore.MCParticle.name

Definition at line 31 of file mcscore.py.

◆ px

mcscore.MCParticle.px

Definition at line 35 of file mcscore.py.

◆ py

mcscore.MCParticle.py

Definition at line 36 of file mcscore.py.

◆ pz

mcscore.MCParticle.pz

Definition at line 37 of file mcscore.py.

◆ Z

mcscore.MCParticle.Z

Definition at line 32 of file mcscore.py.


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