SND@LHC Software
Loading...
Searching...
No Matches
g4Ex_gap.py File Reference

Go to the source code of this file.

Classes

class  g4Ex_gap.MyGeneratorAction
 
class  g4Ex_gap.MyRunAction
 
class  g4Ex_gap.MyEventAction
 
class  g4Ex_gap.MySteppingAction
 
class  g4Ex_gap.MyTrackingAction
 
class  g4Ex_gap.MyTrackingActionD
 
class  g4Ex_gap.ScoreSD
 

Namespaces

namespace  g4Ex_gap
 

Functions

 g4Ex_gap.get_work_dir (run_number)
 
 g4Ex_gap.init ()
 
 g4Ex_gap.ConstructGeom ()
 

Variables

bool g4Ex_gap.local = False
 
bool g4Ex_gap.debug = False
 
bool g4Ex_gap.particleGun = False
 
bool g4Ex_gap.withStepping = False
 
bool g4Ex_gap.withNtuple = True
 
bool g4Ex_gap.muonNuclear = True
 
str g4Ex_gap.model = "QGSP_BERT_EMV"
 
int g4Ex_gap.runnr = 1
 
int g4Ex_gap.nev = 1000
 
int g4Ex_gap.nevTot = 0
 
int g4Ex_gap.myEventnr = 0
 
int g4Ex_gap.mytrack = 1
 
int g4Ex_gap.scoreLog = 1
 
bool g4Ex_gap.inclusive = True
 
dict g4Ex_gap.myTimer = {'total':0,'pythia':0,'geant4_conv':0}
 
bool g4Ex_gap.tauOnly = False
 
bool g4Ex_gap.JpsiMainly = False
 
bool g4Ex_gap.fullTungsten = False
 
str g4Ex_gap.work_dir = "./"
 
float g4Ex_gap.ecut = 0.5
 
bool g4Ex_gap.allPart = True
 
list g4Ex_gap.qedlist = [22,11,-11,12,-12,14,14,2212,2112,13,-13]
 
bool g4Ex_gap.rangeCut = False
 
dict g4Ex_gap.trackHistory = {}
 
 g4Ex_gap.logger = logging.getLogger(os.path.splitext(os.path.basename(os.sys.argv[0]))[0])
 
 g4Ex_gap.args = init()
 
 g4Ex_gap.pdg = ROOT.TDatabasePDG()
 
 g4Ex_gap.myPythia = ROOT.TPythia8()
 
 g4Ex_gap.rnr = ROOT.TRandom()
 
 g4Ex_gap.R = int(time.time()%900000000)
 
dict g4Ex_gap.h = {}
 
 g4Ex_gap.f = ROOT.TFile.Open('pythia8_Geant4_'+str(runnr)+'_'+str(ecut)+'.root', 'RECREATE')
 
 g4Ex_gap.rand_engine = Ranlux64Engine()
 
int g4Ex_gap.world_r = 200.*m
 
 g4Ex_gap.xx = G4physicslists.GetReferencePhysList(model)
 
 g4Ex_gap.myGE = MyGeneratorAction()
 
 g4Ex_gap.myTA
 
 g4Ex_gap.myRA = MyRunAction()
 
 g4Ex_gap.myEA = MyEventAction()
 
 g4Ex_gap.mySA = MySteppingAction()
 
 g4Ex_gap.sens = ScoreSD('Score')
 
 g4Ex_gap.t0 = time.time()
 
 g4Ex_gap.t1 = time.time()
 
 g4Ex_gap.wrld = snoopyPhys.GetMotherLogical()
 
 g4Ex_gap.parser = G4GDMLParser()
 
str g4Ex_gap.geofile = work_dir+'/g4Geom.gdml'
 
 g4Ex_gap.geomgr = ROOT.gGeoManager