ATLAS Offline Software
Loading...
Searching...
No Matches
LArG4ShowerLibFunctions.StoredEnergyShower Class Reference
Collaboration diagram for LArG4ShowerLibFunctions.StoredEnergyShower:

Public Member Functions

 __init__ (self)
 __hash__ (self)
 __eq__ (self, other)

Public Attributes

list shower = []
float egen = 0.0
float rsize = 0.0
float zsize = 0.0

Detailed Description

Definition at line 24 of file LArG4ShowerLibFunctions.py.

Constructor & Destructor Documentation

◆ __init__()

LArG4ShowerLibFunctions.StoredEnergyShower.__init__ ( self)

Definition at line 25 of file LArG4ShowerLibFunctions.py.

25 def __init__(self):
26 self.shower = [] #hits, list of four vectors (which are actually 5-vector in this case)
27 self.egen = 0.0
28 self.rsize = 0.0
29 self.zsize = 0.0

Member Function Documentation

◆ __eq__()

LArG4ShowerLibFunctions.StoredEnergyShower.__eq__ ( self,
other )

Definition at line 32 of file LArG4ShowerLibFunctions.py.

32 def __eq__(self,other): #same here
33 return self.egen == other.egen
34

◆ __hash__()

LArG4ShowerLibFunctions.StoredEnergyShower.__hash__ ( self)

Definition at line 30 of file LArG4ShowerLibFunctions.py.

30 def __hash__(self): #needed for making a set
31 return hash(self.egen)

Member Data Documentation

◆ egen

LArG4ShowerLibFunctions.StoredEnergyShower.egen = 0.0

Definition at line 27 of file LArG4ShowerLibFunctions.py.

◆ rsize

float LArG4ShowerLibFunctions.StoredEnergyShower.rsize = 0.0

Definition at line 28 of file LArG4ShowerLibFunctions.py.

◆ shower

list LArG4ShowerLibFunctions.StoredEnergyShower.shower = []

Definition at line 26 of file LArG4ShowerLibFunctions.py.

◆ zsize

float LArG4ShowerLibFunctions.StoredEnergyShower.zsize = 0.0

Definition at line 29 of file LArG4ShowerLibFunctions.py.


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