SND@LHC Software
Loading...
Searching...
No Matches
thermalNeutrons.py File Reference

Go to the source code of this file.

Namespaces

namespace  thermalNeutrons
 

Functions

 thermalNeutrons.count (hFile=outFile)
 
 thermalNeutrons.myPrint (tc, tname)
 
 thermalNeutrons.absorptionLength ()
 
 thermalNeutrons.absorptionLengthOLD ()
 
 thermalNeutrons.debugging ()
 

Variables

 thermalNeutrons.parser = ArgumentParser()
 
 thermalNeutrons.dest
 
 thermalNeutrons.type
 
 thermalNeutrons.int
 
 thermalNeutrons.help
 
 thermalNeutrons.default
 
 thermalNeutrons.str
 
 thermalNeutrons.float
 
 thermalNeutrons.required
 
 thermalNeutrons.False
 
 thermalNeutrons.action
 
 thermalNeutrons.options = parser.parse_args()
 
 thermalNeutrons.logEstart = int(ROOT.TMath.Log10(options.Estart))
 
 thermalNeutrons.logEend = int(ROOT.TMath.Log10(options.Eend))
 
str thermalNeutrons.outFile = 'thermNeutron_'+options.targetMaterial+'_'+str(options.targetLength)+'_'+str(logEstart)+'_'+str(logEend)+'_'+str(options.run)+'.root'
 
str thermalNeutrons.parFile = outFile.replace('thermNeutron','params-thermNeutron')
 
 thermalNeutrons.timer = ROOT.TStopwatch()
 
 thermalNeutrons.run = ROOT.FairRunSim()
 
 thermalNeutrons.primGen = ROOT.FairPrimaryGenerator()
 
 thermalNeutrons.Neutrongen = ROOT.NeutronGenerator_FLUKA()
 
 thermalNeutrons.myPgun = ROOT.FairBoxGenerator(options.pID,1)
 
 thermalNeutrons.cave = ROOT.ShipCave("CAVE")
 
 thermalNeutrons.target = ROOT.boxTarget()
 
 thermalNeutrons.neutron = ROOT.G4Neutron.Neutron()
 
 thermalNeutrons.pManager = neutron.GetProcessManager()
 
bool thermalNeutrons.thermal = False
 
 thermalNeutrons.process = pManager.GetProcess("hadElastic")
 
 thermalNeutrons.process1 = ROOT.G4HadronElasticProcess()
 
 thermalNeutrons.model1a = ROOT.G4ParticleHPElastic()
 
int thermalNeutrons.eV = 1E-6
 
 thermalNeutrons.model1b = ROOT.G4ParticleHPThermalScattering()
 
 thermalNeutrons.gMC = ROOT.TVirtualMC.GetMC()
 
 thermalNeutrons.fStack = gMC.GetStack()
 
 thermalNeutrons.rtime = timer.RealTime()
 
 thermalNeutrons.ctime = timer.CpuTime()
 
 thermalNeutrons.sGeo = ROOT.gGeoManager
 
dict thermalNeutrons.h = {}
 
str thermalNeutrons.pathToPlots = "/mnt/hgfs/microDisk/CERNBOX/SND@LHC/Thermal Neutrons/"
 
 thermalNeutrons.rate = ROOT.TF1('rate','1./10**x*exp(-[0]/([1]*sqrt(10**x)))',-9,2)