|
SND@LHC Software
|
Functions | |
| count (hFile=outFile) | |
| myPrint (tc, tname) | |
| absorptionLength () | |
| absorptionLengthOLD () | |
| debugging () | |
Variables | |
| parser = ArgumentParser() | |
| dest | |
| type | |
| int | |
| help | |
| default | |
| str | |
| float | |
| required | |
| False | |
| action | |
| options = parser.parse_args() | |
| logEstart = int(ROOT.TMath.Log10(options.Estart)) | |
| logEend = int(ROOT.TMath.Log10(options.Eend)) | |
| str | outFile = 'thermNeutron_'+options.targetMaterial+'_'+str(options.targetLength)+'_'+str(logEstart)+'_'+str(logEend)+'_'+str(options.run)+'.root' |
| str | parFile = outFile.replace('thermNeutron','params-thermNeutron') |
| timer = ROOT.TStopwatch() | |
| run = ROOT.FairRunSim() | |
| primGen = ROOT.FairPrimaryGenerator() | |
| Neutrongen = ROOT.NeutronGenerator_FLUKA() | |
| myPgun = ROOT.FairBoxGenerator(options.pID,1) | |
| cave = ROOT.ShipCave("CAVE") | |
| target = ROOT.boxTarget() | |
| neutron = ROOT.G4Neutron.Neutron() | |
| pManager = neutron.GetProcessManager() | |
| bool | thermal = False |
| process = pManager.GetProcess("hadElastic") | |
| process1 = ROOT.G4HadronElasticProcess() | |
| model1a = ROOT.G4ParticleHPElastic() | |
| int | eV = 1E-6 |
| model1b = ROOT.G4ParticleHPThermalScattering() | |
| gMC = ROOT.TVirtualMC.GetMC() | |
| fStack = gMC.GetStack() | |
| rtime = timer.RealTime() | |
| ctime = timer.CpuTime() | |
| sGeo = ROOT.gGeoManager | |
| dict | h = {} |
| str | pathToPlots = "/mnt/hgfs/microDisk/CERNBOX/SND@LHC/Thermal Neutrons/" |
| rate = ROOT.TF1('rate','1./10**x*exp(-[0]/([1]*sqrt(10**x)))',-9,2) | |
| thermalNeutrons.absorptionLength | ( | ) |
Definition at line 173 of file thermalNeutrons.py.
| thermalNeutrons.absorptionLengthOLD | ( | ) |
Definition at line 186 of file thermalNeutrons.py.
| thermalNeutrons.count | ( | hFile = outFile | ) |
Definition at line 133 of file thermalNeutrons.py.
| thermalNeutrons.debugging | ( | ) |
Definition at line 240 of file thermalNeutrons.py.
| thermalNeutrons.myPrint | ( | tc, | |
| tname | |||
| ) |
Definition at line 167 of file thermalNeutrons.py.
| thermalNeutrons.action |
Definition at line 35 of file thermalNeutrons.py.
| thermalNeutrons.cave = ROOT.ShipCave("CAVE") |
Definition at line 73 of file thermalNeutrons.py.
| thermalNeutrons.ctime = timer.CpuTime() |
Definition at line 118 of file thermalNeutrons.py.
| thermalNeutrons.default |
Definition at line 26 of file thermalNeutrons.py.
| thermalNeutrons.dest |
Definition at line 26 of file thermalNeutrons.py.
| int thermalNeutrons.eV = 1E-6 |
Definition at line 98 of file thermalNeutrons.py.
| thermalNeutrons.False |
Definition at line 32 of file thermalNeutrons.py.
| thermalNeutrons.float |
Definition at line 30 of file thermalNeutrons.py.
| thermalNeutrons.fStack = gMC.GetStack() |
Definition at line 108 of file thermalNeutrons.py.
| thermalNeutrons.gMC = ROOT.TVirtualMC.GetMC() |
Definition at line 107 of file thermalNeutrons.py.
| dict thermalNeutrons.h = {} |
Definition at line 131 of file thermalNeutrons.py.
| thermalNeutrons.help |
Definition at line 26 of file thermalNeutrons.py.
| thermalNeutrons.int |
Definition at line 26 of file thermalNeutrons.py.
| thermalNeutrons.logEend = int(ROOT.TMath.Log10(options.Eend)) |
Definition at line 40 of file thermalNeutrons.py.
| thermalNeutrons.logEstart = int(ROOT.TMath.Log10(options.Estart)) |
Definition at line 39 of file thermalNeutrons.py.
| thermalNeutrons.model1a = ROOT.G4ParticleHPElastic() |
Definition at line 97 of file thermalNeutrons.py.
| thermalNeutrons.model1b = ROOT.G4ParticleHPThermalScattering() |
Definition at line 102 of file thermalNeutrons.py.
| thermalNeutrons.myPgun = ROOT.FairBoxGenerator(options.pID,1) |
Definition at line 62 of file thermalNeutrons.py.
| thermalNeutrons.neutron = ROOT.G4Neutron.Neutron() |
Definition at line 88 of file thermalNeutrons.py.
| thermalNeutrons.Neutrongen = ROOT.NeutronGenerator_FLUKA() |
Definition at line 59 of file thermalNeutrons.py.
| thermalNeutrons.options = parser.parse_args() |
Definition at line 36 of file thermalNeutrons.py.
| thermalNeutrons.outFile = 'thermNeutron_'+options.targetMaterial+'_'+str(options.targetLength)+'_'+str(logEstart)+'_'+str(logEend)+'_'+str(options.run)+'.root' |
Definition at line 41 of file thermalNeutrons.py.
| str thermalNeutrons.parFile = outFile.replace('thermNeutron','params-thermNeutron') |
Definition at line 43 of file thermalNeutrons.py.
| thermalNeutrons.parser = ArgumentParser() |
Definition at line 25 of file thermalNeutrons.py.
| str thermalNeutrons.pathToPlots = "/mnt/hgfs/microDisk/CERNBOX/SND@LHC/Thermal Neutrons/" |
Definition at line 166 of file thermalNeutrons.py.
| thermalNeutrons.pManager = neutron.GetProcessManager() |
Definition at line 89 of file thermalNeutrons.py.
| thermalNeutrons.primGen = ROOT.FairPrimaryGenerator() |
Definition at line 56 of file thermalNeutrons.py.
| thermalNeutrons.process = pManager.GetProcess("hadElastic") |
Definition at line 93 of file thermalNeutrons.py.
| thermalNeutrons.process1 = ROOT.G4HadronElasticProcess() |
Definition at line 95 of file thermalNeutrons.py.
| thermalNeutrons.rate = ROOT.TF1('rate','1./10**x*exp(-[0]/([1]*sqrt(10**x)))',-9,2) |
Definition at line 227 of file thermalNeutrons.py.
| thermalNeutrons.required |
Definition at line 32 of file thermalNeutrons.py.
| thermalNeutrons.rtime = timer.RealTime() |
Definition at line 117 of file thermalNeutrons.py.
| thermalNeutrons.run = ROOT.FairRunSim() |
Definition at line 50 of file thermalNeutrons.py.
| thermalNeutrons.sGeo = ROOT.gGeoManager |
Definition at line 125 of file thermalNeutrons.py.
| thermalNeutrons.str |
Definition at line 29 of file thermalNeutrons.py.
| thermalNeutrons.target = ROOT.boxTarget() |
Definition at line 77 of file thermalNeutrons.py.
| bool thermalNeutrons.thermal = False |
Definition at line 91 of file thermalNeutrons.py.
| thermalNeutrons.timer = ROOT.TStopwatch() |
Definition at line 46 of file thermalNeutrons.py.
| thermalNeutrons.type |
Definition at line 26 of file thermalNeutrons.py.