![]() |
FairShip
|
Classes | |
| class | Setup |
| class | Block |
Variables | |
| str | mcEngine = "TGeant4" |
| int | runnr = 1 |
| int | nev = 10 |
| dict | setup |
| s = sys.argv[1] | |
| thickness | |
| material | |
| momentum | |
| bool | checkOverlap = True |
| str | outFile = "gconv" + s + ".root" |
| theSeed = int(10000 * time.time() % 10000000) | |
| float | ecut = 0.0 |
| ship_geo = geometry_config.create_config(Yheight=10, shieldName="TRY_2026") | |
| timer = ROOT.TStopwatch() | |
| run = ROOT.FairRunSim() | |
| sink = ROOT.FairRootFileSink(outFile) | |
| float | boostFactor = 100.0 |
| rtdb = run.GetRuntimeDb() | |
| cave = ROOT.ShipCave("CAVE") | |
| sensPlane = ROOT.exitHadronAbsorber() | |
| target = Block() | |
| primGen = ROOT.FairPrimaryGenerator() | |
| myPgun = ROOT.FairBoxGenerator(22, 1) | |
| gMC = ROOT.TVirtualMC.GetMC() | |
| fStack = gMC.GetStack() | |
| gProcessTable = ROOT.G4ProcessTable.GetProcessTable() | |
| procAnnihil = gProcessTable.FindProcess(ROOT.G4String("AnnihiToMuPair"), ROOT.G4String("e+")) | |
| procGMuPair = gProcessTable.FindProcess(ROOT.G4String("GammaToMuPair"), ROOT.G4String("gamma")) | |
| emP = ROOT.G4EmParameters.Instance() | |
| f = ROOT.gROOT.GetListOfFiles()[0] | |
| dict | h = {} |
| sTree = f.Get("cbmsim") | |
| rc = sTree.GetEvent(n) | |
| int | nMu = 0 |
| int | nEl = 0 |
| rtime = timer.RealTime() | |
| ctime = timer.CpuTime() | |
| float study_GammaConv.boostFactor = 100.0 |
Definition at line 66 of file study_GammaConv.py.
| study_GammaConv.cave = ROOT.ShipCave("CAVE") |
Definition at line 76 of file study_GammaConv.py.
| bool study_GammaConv.checkOverlap = True |
Definition at line 44 of file study_GammaConv.py.
| study_GammaConv.ctime = timer.CpuTime() |
Definition at line 179 of file study_GammaConv.py.
| float study_GammaConv.ecut = 0.0 |
Definition at line 48 of file study_GammaConv.py.
| study_GammaConv.emP = ROOT.G4EmParameters.Instance() |
Definition at line 153 of file study_GammaConv.py.
| study_GammaConv.f = ROOT.gROOT.GetListOfFiles()[0] |
Definition at line 158 of file study_GammaConv.py.
| study_GammaConv.fStack = gMC.GetStack() |
Definition at line 134 of file study_GammaConv.py.
| study_GammaConv.gMC = ROOT.TVirtualMC.GetMC() |
Definition at line 132 of file study_GammaConv.py.
| study_GammaConv.gProcessTable = ROOT.G4ProcessTable.GetProcessTable() |
Definition at line 142 of file study_GammaConv.py.
| dict study_GammaConv.h = {} |
Definition at line 159 of file study_GammaConv.py.
| study_GammaConv.material |
Definition at line 42 of file study_GammaConv.py.
| str study_GammaConv.mcEngine = "TGeant4" |
Definition at line 19 of file study_GammaConv.py.
| study_GammaConv.momentum |
Definition at line 42 of file study_GammaConv.py.
| study_GammaConv.myPgun = ROOT.FairBoxGenerator(22, 1) |
Definition at line 121 of file study_GammaConv.py.
| int study_GammaConv.nEl = 0 |
Definition at line 166 of file study_GammaConv.py.
| int study_GammaConv.nev = 10 |
Definition at line 21 of file study_GammaConv.py.
| int study_GammaConv.nMu = 0 |
Definition at line 165 of file study_GammaConv.py.
| str study_GammaConv.outFile = "gconv" + s + ".root" |
Definition at line 46 of file study_GammaConv.py.
| study_GammaConv.primGen = ROOT.FairPrimaryGenerator() |
Definition at line 120 of file study_GammaConv.py.
| study_GammaConv.procAnnihil = gProcessTable.FindProcess(ROOT.G4String("AnnihiToMuPair"), ROOT.G4String("e+")) |
Definition at line 143 of file study_GammaConv.py.
| study_GammaConv.procGMuPair = gProcessTable.FindProcess(ROOT.G4String("GammaToMuPair"), ROOT.G4String("gamma")) |
Definition at line 144 of file study_GammaConv.py.
| dict study_GammaConv.rc = sTree.GetEvent(n) |
Definition at line 164 of file study_GammaConv.py.
| study_GammaConv.rtdb = run.GetRuntimeDb() |
Definition at line 71 of file study_GammaConv.py.
| study_GammaConv.rtime = timer.RealTime() |
Definition at line 178 of file study_GammaConv.py.
| study_GammaConv.run = ROOT.FairRunSim() |
Definition at line 60 of file study_GammaConv.py.
| int study_GammaConv.runnr = 1 |
Definition at line 20 of file study_GammaConv.py.
| study_GammaConv.s = sys.argv[1] |
Definition at line 41 of file study_GammaConv.py.
| study_GammaConv.sensPlane = ROOT.exitHadronAbsorber() |
Definition at line 112 of file study_GammaConv.py.
| dict study_GammaConv.setup |
Definition at line 32 of file study_GammaConv.py.
| study_GammaConv.ship_geo = geometry_config.create_config(Yheight=10, shieldName="TRY_2026") |
Definition at line 53 of file study_GammaConv.py.
| study_GammaConv.sink = ROOT.FairRootFileSink(outFile) |
Definition at line 62 of file study_GammaConv.py.
| study_GammaConv.sTree = f.Get("cbmsim") |
Definition at line 162 of file study_GammaConv.py.
| study_GammaConv.target = Block() |
Definition at line 116 of file study_GammaConv.py.
| study_GammaConv.theSeed = int(10000 * time.time() % 10000000) |
Definition at line 47 of file study_GammaConv.py.
| study_GammaConv.thickness |
Definition at line 42 of file study_GammaConv.py.
| study_GammaConv.timer = ROOT.TStopwatch() |
Definition at line 56 of file study_GammaConv.py.