SND@LHC Software
|
Classes | |
class | Block |
Variables | |
str | mcEngine = "TGeant4" |
int | runnr = 1 |
int | nev = 10 |
dict | setup = {} |
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" |
theSeed = int(10000 * time.time() % 10000000) | |
float | ecut = 0.0 |
ship_geo = ConfigRegistry.loadpy("$FAIRSHIP/geometry/geometry_config.py", Yheight = 10, tankDesign = 5, muShieldDesign = 7, nuTauTargetDesign=1) | |
timer = ROOT.TStopwatch() | |
run = ROOT.FairRunSim() | |
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() | |
int | boostFactor = 100. |
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.cbmsim | |
rc = sTree.GetEvent(n) | |
int | nMu = 0 |
int | nEl = 0 |
rtime = timer.RealTime() | |
ctime = timer.CpuTime() | |
int study_GammaConv.boostFactor = 100. |
Definition at line 107 of file study_GammaConv.py.
study_GammaConv.cave = ROOT.ShipCave("CAVE") |
Definition at line 52 of file study_GammaConv.py.
bool study_GammaConv.checkOverlap = True |
Definition at line 27 of file study_GammaConv.py.
study_GammaConv.ctime = timer.CpuTime() |
Definition at line 147 of file study_GammaConv.py.
float study_GammaConv.ecut = 0.0 |
Definition at line 31 of file study_GammaConv.py.
study_GammaConv.emP = ROOT.G4EmParameters.Instance() |
Definition at line 123 of file study_GammaConv.py.
study_GammaConv.f = ROOT.gROOT.GetListOfFiles()[0] |
Definition at line 128 of file study_GammaConv.py.
study_GammaConv.fStack = gMC.GetStack() |
Definition at line 103 of file study_GammaConv.py.
study_GammaConv.gMC = ROOT.TVirtualMC.GetMC() |
Definition at line 101 of file study_GammaConv.py.
study_GammaConv.gProcessTable = ROOT.G4ProcessTable.GetProcessTable() |
Definition at line 112 of file study_GammaConv.py.
dict study_GammaConv.h = {} |
Definition at line 129 of file study_GammaConv.py.
Definition at line 24 of file study_GammaConv.py.
str study_GammaConv.mcEngine = "TGeant4" |
Definition at line 10 of file study_GammaConv.py.
Definition at line 25 of file study_GammaConv.py.
study_GammaConv.myPgun = ROOT.FairBoxGenerator(22,1) |
Definition at line 90 of file study_GammaConv.py.
int study_GammaConv.nEl = 0 |
Definition at line 136 of file study_GammaConv.py.
int study_GammaConv.nev = 10 |
Definition at line 12 of file study_GammaConv.py.
int study_GammaConv.nMu = 0 |
Definition at line 135 of file study_GammaConv.py.
str study_GammaConv.outFile = "gconv"+s+".root" |
Definition at line 29 of file study_GammaConv.py.
study_GammaConv.primGen = ROOT.FairPrimaryGenerator() |
Definition at line 89 of file study_GammaConv.py.
study_GammaConv.procAnnihil = gProcessTable.FindProcess(ROOT.G4String('AnnihiToMuPair'),ROOT.G4String('e+')) |
Definition at line 113 of file study_GammaConv.py.
study_GammaConv.procGMuPair = gProcessTable.FindProcess(ROOT.G4String('GammaToMuPair'),ROOT.G4String('gamma')) |
Definition at line 114 of file study_GammaConv.py.
dict study_GammaConv.rc = sTree.GetEvent(n) |
Definition at line 134 of file study_GammaConv.py.
study_GammaConv.rtdb = run.GetRuntimeDb() |
Definition at line 47 of file study_GammaConv.py.
study_GammaConv.rtime = timer.RealTime() |
Definition at line 146 of file study_GammaConv.py.
study_GammaConv.run = ROOT.FairRunSim() |
Definition at line 43 of file study_GammaConv.py.
int study_GammaConv.runnr = 1 |
Definition at line 11 of file study_GammaConv.py.
study_GammaConv.s = sys.argv[1] |
Definition at line 22 of file study_GammaConv.py.
study_GammaConv.sensPlane = ROOT.exitHadronAbsorber() |
Definition at line 81 of file study_GammaConv.py.
dict study_GammaConv.setup = {} |
Definition at line 14 of file study_GammaConv.py.
study_GammaConv.ship_geo = ConfigRegistry.loadpy("$FAIRSHIP/geometry/geometry_config.py", Yheight = 10, tankDesign = 5, muShieldDesign = 7, nuTauTargetDesign=1) |
Definition at line 36 of file study_GammaConv.py.
study_GammaConv.sTree = f.cbmsim |
Definition at line 132 of file study_GammaConv.py.
study_GammaConv.target = Block() |
Definition at line 85 of file study_GammaConv.py.
study_GammaConv.theSeed = int(10000 * time.time() % 10000000) |
Definition at line 30 of file study_GammaConv.py.
Definition at line 23 of file study_GammaConv.py.
study_GammaConv.timer = ROOT.TStopwatch() |
Definition at line 39 of file study_GammaConv.py.