FairShip
Loading...
Searching...
No Matches
study_GammaConv Namespace Reference

Classes

class  Block
 

Variables

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

Variable Documentation

◆ boostFactor

float study_GammaConv.boostFactor = 100.0

Definition at line 55 of file study_GammaConv.py.

◆ cave

ROOT study_GammaConv.cave = ROOT.ShipCave("CAVE")

Definition at line 65 of file study_GammaConv.py.

◆ checkOverlap

bool study_GammaConv.checkOverlap = True

Definition at line 35 of file study_GammaConv.py.

◆ ctime

ROOT study_GammaConv.ctime = timer.CpuTime()

Definition at line 168 of file study_GammaConv.py.

◆ ecut

float study_GammaConv.ecut = 0.0

Definition at line 39 of file study_GammaConv.py.

◆ emP

ROOT study_GammaConv.emP = ROOT.G4EmParameters.Instance()

Definition at line 142 of file study_GammaConv.py.

◆ f

ROOT study_GammaConv.f = ROOT.gROOT.GetListOfFiles()[0]

Definition at line 147 of file study_GammaConv.py.

◆ fStack

ROOT study_GammaConv.fStack = gMC.GetStack()

Definition at line 123 of file study_GammaConv.py.

◆ gMC

ROOT study_GammaConv.gMC = ROOT.TVirtualMC.GetMC()

Definition at line 121 of file study_GammaConv.py.

◆ gProcessTable

ROOT study_GammaConv.gProcessTable = ROOT.G4ProcessTable.GetProcessTable()

Definition at line 131 of file study_GammaConv.py.

◆ h

dict study_GammaConv.h = {}

Definition at line 148 of file study_GammaConv.py.

◆ material

dict study_GammaConv.material = setup[s]["material"]

Definition at line 32 of file study_GammaConv.py.

◆ mcEngine

str study_GammaConv.mcEngine = "TGeant4"

Definition at line 18 of file study_GammaConv.py.

◆ momentum

dict study_GammaConv.momentum = setup[s]["momentum"]

Definition at line 33 of file study_GammaConv.py.

◆ myPgun

ROOT study_GammaConv.myPgun = ROOT.FairBoxGenerator(22, 1)

Definition at line 110 of file study_GammaConv.py.

◆ nEl

int study_GammaConv.nEl = 0

Definition at line 155 of file study_GammaConv.py.

◆ nev

int study_GammaConv.nev = 10

Definition at line 20 of file study_GammaConv.py.

◆ nMu

int study_GammaConv.nMu = 0

Definition at line 154 of file study_GammaConv.py.

◆ outFile

str study_GammaConv.outFile = "gconv" + s + ".root"

Definition at line 37 of file study_GammaConv.py.

◆ primGen

ROOT study_GammaConv.primGen = ROOT.FairPrimaryGenerator()

Definition at line 109 of file study_GammaConv.py.

◆ procAnnihil

ROOT study_GammaConv.procAnnihil = gProcessTable.FindProcess(ROOT.G4String("AnnihiToMuPair"), ROOT.G4String("e+"))

Definition at line 132 of file study_GammaConv.py.

◆ procGMuPair

ROOT study_GammaConv.procGMuPair = gProcessTable.FindProcess(ROOT.G4String("GammaToMuPair"), ROOT.G4String("gamma"))

Definition at line 133 of file study_GammaConv.py.

◆ rc

dict study_GammaConv.rc = sTree.GetEvent(n)

Definition at line 153 of file study_GammaConv.py.

◆ rtdb

ROOT study_GammaConv.rtdb = run.GetRuntimeDb()

Definition at line 60 of file study_GammaConv.py.

◆ rtime

ROOT study_GammaConv.rtime = timer.RealTime()

Definition at line 167 of file study_GammaConv.py.

◆ run

ROOT study_GammaConv.run = ROOT.FairRunSim()

Definition at line 51 of file study_GammaConv.py.

◆ runnr

int study_GammaConv.runnr = 1

Definition at line 19 of file study_GammaConv.py.

◆ s

sys study_GammaConv.s = sys.argv[1]

Definition at line 30 of file study_GammaConv.py.

◆ sensPlane

ROOT study_GammaConv.sensPlane = ROOT.exitHadronAbsorber()

Definition at line 101 of file study_GammaConv.py.

◆ setup

dict study_GammaConv.setup = {}

Definition at line 22 of file study_GammaConv.py.

◆ ship_geo

geometry_config study_GammaConv.ship_geo = geometry_config.create_config(Yheight=10, shieldName="warm_opt")

Definition at line 44 of file study_GammaConv.py.

◆ sTree

ROOT study_GammaConv.sTree = f.Get("cbmsim")

Definition at line 151 of file study_GammaConv.py.

◆ target

Block study_GammaConv.target = Block()

Definition at line 105 of file study_GammaConv.py.

◆ theSeed

int study_GammaConv.theSeed = int(10000 * time.time() % 10000000)

Definition at line 38 of file study_GammaConv.py.

◆ thickness

dict study_GammaConv.thickness = setup[s]["thickness"]

Definition at line 31 of file study_GammaConv.py.

◆ timer

ROOT study_GammaConv.timer = ROOT.TStopwatch()

Definition at line 47 of file study_GammaConv.py.