SND@LHC Software
Loading...
Searching...
No Matches
Namespaces
|
Functions
|
Variables
run_MufluxfixedTarget.py File Reference
Go to the source code of this file.
Namespaces
namespace
run_MufluxfixedTarget
Functions
run_MufluxfixedTarget.get_work_dir
(run_number, tag=None)
run_MufluxfixedTarget.init
()
Variables
str
run_MufluxfixedTarget.mcEngine
= "TGeant4"
str
run_MufluxfixedTarget.simEngine
= "Pythia8"
int
run_MufluxfixedTarget.runnr
= 1000
int
run_MufluxfixedTarget.nev
= 500
bool
run_MufluxfixedTarget.checkOverlap
= False
bool
run_MufluxfixedTarget.G4only
= False
bool
run_MufluxfixedTarget.storeOnlyMuons
= False
bool
run_MufluxfixedTarget.withEvtGen
= True
int
run_MufluxfixedTarget.boostDiMuon
= 1.
int
run_MufluxfixedTarget.boostFactor
= 1.
bool
run_MufluxfixedTarget.charm
= False
bool
run_MufluxfixedTarget.beauty
= False
float
run_MufluxfixedTarget.chicc
= 1.7e-3
float
run_MufluxfixedTarget.chibb
= 1.6e-7
int
run_MufluxfixedTarget.npot
= 5E13
int
run_MufluxfixedTarget.nStart
= 0
str
run_MufluxfixedTarget.charmInputFile
= "root://eoslhcb.cern.ch//eos/ship/data/Charm/Cascade-parp16-MSTP82-1-MSEL4-76Mpot_1.root"
str
run_MufluxfixedTarget.outputDir
= "."
run_MufluxfixedTarget.theSeed
= int(10000 * time.time() % 10000000)
str
run_MufluxfixedTarget.work_dir
= "./"
float
run_MufluxfixedTarget.ecut
= 0.5
int
run_MufluxfixedTarget.dy
= 10.
int
run_MufluxfixedTarget.dv
= 5
int
run_MufluxfixedTarget.ds
= 7
int
run_MufluxfixedTarget.nud
= 1
run_MufluxfixedTarget.logger
= logging.getLogger(os.path.splitext(os.path.basename(os.sys.argv[0]))[0])
run_MufluxfixedTarget.args
=
init
()
run_MufluxfixedTarget.ship_geo
=
ConfigRegistry.loadpy
("$FAIRSHIP/geometry/
charm
-geometry_config.py",
Setup
= args.CharmdetSetup, cTarget = args.CharmTarget)
str
run_MufluxfixedTarget.txt
= 'pythia8_Geant4_'
str
run_MufluxfixedTarget.outFile
=
outputDir
+'/'+
txt
+str(
runnr
)+'
_
'+str(
ecut
)+'.root'
str
run_MufluxfixedTarget.parFile
=
outputDir
+'/ship.params.'+
txt
+str(
runnr
)+'
_
'+str(
ecut
)+'.root'
run_MufluxfixedTarget.timer
= ROOT.TStopwatch()
run_MufluxfixedTarget.run
= ROOT.FairRunSim()
run_MufluxfixedTarget.rtdb
= run.GetRuntimeDb()
run_MufluxfixedTarget.modules
=
shipDet_conf.configure
(
run
,
ship_geo
)
run_MufluxfixedTarget.primGen
= ROOT.FairPrimaryGenerator()
run_MufluxfixedTarget.P8gen
= ROOT.FixedTargetGenerator()
run_MufluxfixedTarget.gMC
= ROOT.TVirtualMC.GetMC()
run_MufluxfixedTarget.fStack
= gMC.GetStack()
run_MufluxfixedTarget.gProcessTable
= ROOT.G4ProcessTable.GetProcessTable()
run_MufluxfixedTarget.procAnnihil
= gProcessTable.FindProcess(ROOT.G4String('AnnihiToMuPair'),ROOT.G4String('e+'))
run_MufluxfixedTarget.procGMuPair
= gProcessTable.FindProcess(ROOT.G4String('GammaToMuPair'),ROOT.G4String('gamma'))
run_MufluxfixedTarget.rtime
= timer.RealTime()
run_MufluxfixedTarget.ctime
= timer.CpuTime()
str
run_MufluxfixedTarget.tmpFile
=
outFile
+"tmp"
run_MufluxfixedTarget.fin
= ROOT.gROOT.GetListOfFiles()[0]
run_MufluxfixedTarget.fHeader
= fin.FileHeader
run_MufluxfixedTarget.poteq
= P8gen.GetPotForCharm()
run_MufluxfixedTarget.t
= fin.cbmsim
run_MufluxfixedTarget.fout
= ROOT.TFile(
tmpFile
,'recreate' )
run_MufluxfixedTarget.sTree
= t.CloneTree(0)
int
run_MufluxfixedTarget.nEvents
= 0
run_MufluxfixedTarget.rc
= t.GetEvent(n)
run_MufluxfixedTarget.xcopy
= x.Clone()
run_MufluxfixedTarget.ff
= fin.FileHeader.Clone(fout.GetName())
run_MufluxfixedTarget.sGeo
= ROOT.gGeoManager
muonShieldOptimization
run_MufluxfixedTarget.py
Generated by
1.9.8