FairShip
Loading...
Searching...
No Matches
study_GammaConv.py File Reference

Go to the source code of this file.

Classes

class  study_GammaConv.Block
 

Namespaces

namespace  study_GammaConv
 

Variables

str study_GammaConv.mcEngine = "TGeant4"
 
int study_GammaConv.runnr = 1
 
int study_GammaConv.nev = 10
 
dict study_GammaConv.setup = {}
 
sys study_GammaConv.s = sys.argv[1]
 
dict study_GammaConv.thickness = setup[s]["thickness"]
 
dict study_GammaConv.material = setup[s]["material"]
 
dict study_GammaConv.momentum = setup[s]["momentum"]
 
bool study_GammaConv.checkOverlap = True
 
str study_GammaConv.outFile = "gconv" + s + ".root"
 
int study_GammaConv.theSeed = int(10000 * time.time() % 10000000)
 
float study_GammaConv.ecut = 0.0
 
geometry_config study_GammaConv.ship_geo = geometry_config.create_config(Yheight=10, shieldName="warm_opt")
 
ROOT study_GammaConv.timer = ROOT.TStopwatch()
 
ROOT study_GammaConv.run = ROOT.FairRunSim()
 
float study_GammaConv.boostFactor = 100.0
 
ROOT study_GammaConv.rtdb = run.GetRuntimeDb()
 
ROOT study_GammaConv.cave = ROOT.ShipCave("CAVE")
 
ROOT study_GammaConv.sensPlane = ROOT.exitHadronAbsorber()
 
Block study_GammaConv.target = Block()
 
ROOT study_GammaConv.primGen = ROOT.FairPrimaryGenerator()
 
ROOT study_GammaConv.myPgun = ROOT.FairBoxGenerator(22, 1)
 
ROOT study_GammaConv.gMC = ROOT.TVirtualMC.GetMC()
 
ROOT study_GammaConv.fStack = gMC.GetStack()
 
ROOT study_GammaConv.gProcessTable = ROOT.G4ProcessTable.GetProcessTable()
 
ROOT study_GammaConv.procAnnihil = gProcessTable.FindProcess(ROOT.G4String("AnnihiToMuPair"), ROOT.G4String("e+"))
 
ROOT study_GammaConv.procGMuPair = gProcessTable.FindProcess(ROOT.G4String("GammaToMuPair"), ROOT.G4String("gamma"))
 
ROOT study_GammaConv.emP = ROOT.G4EmParameters.Instance()
 
ROOT study_GammaConv.f = ROOT.gROOT.GetListOfFiles()[0]
 
dict study_GammaConv.h = {}
 
ROOT study_GammaConv.sTree = f.Get("cbmsim")
 
ROOT study_GammaConv.rc = sTree.GetEvent(n)
 
int study_GammaConv.nMu = 0
 
int study_GammaConv.nEl = 0
 
ROOT study_GammaConv.rtime = timer.RealTime()
 
ROOT study_GammaConv.ctime = timer.CpuTime()