SND@LHC Software
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 = {}
 
 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"
 
 study_GammaConv.theSeed = int(10000 * time.time() % 10000000)
 
float study_GammaConv.ecut = 0.0
 
 study_GammaConv.ship_geo = ConfigRegistry.loadpy("$FAIRSHIP/geometry/geometry_config.py", Yheight = 10, tankDesign = 5, muShieldDesign = 7, nuTauTargetDesign=1)
 
 study_GammaConv.timer = ROOT.TStopwatch()
 
 study_GammaConv.run = ROOT.FairRunSim()
 
 study_GammaConv.rtdb = run.GetRuntimeDb()
 
 study_GammaConv.cave = ROOT.ShipCave("CAVE")
 
 study_GammaConv.sensPlane = ROOT.exitHadronAbsorber()
 
 study_GammaConv.target = Block()
 
 study_GammaConv.primGen = ROOT.FairPrimaryGenerator()
 
 study_GammaConv.myPgun = ROOT.FairBoxGenerator(22,1)
 
 study_GammaConv.gMC = ROOT.TVirtualMC.GetMC()
 
 study_GammaConv.fStack = gMC.GetStack()
 
int study_GammaConv.boostFactor = 100.
 
 study_GammaConv.gProcessTable = ROOT.G4ProcessTable.GetProcessTable()
 
 study_GammaConv.procAnnihil = gProcessTable.FindProcess(ROOT.G4String('AnnihiToMuPair'),ROOT.G4String('e+'))
 
 study_GammaConv.procGMuPair = gProcessTable.FindProcess(ROOT.G4String('GammaToMuPair'),ROOT.G4String('gamma'))
 
 study_GammaConv.emP = ROOT.G4EmParameters.Instance()
 
 study_GammaConv.f = ROOT.gROOT.GetListOfFiles()[0]
 
dict study_GammaConv.h = {}
 
 study_GammaConv.sTree = f.cbmsim
 
 study_GammaConv.rc = sTree.GetEvent(n)
 
int study_GammaConv.nMu = 0
 
int study_GammaConv.nEl = 0
 
 study_GammaConv.rtime = timer.RealTime()
 
 study_GammaConv.ctime = timer.CpuTime()