--
SajanEaso - 21 Jan 2014
Options for Target study
Ensure that you have the latest versions of Sim/GaussTools and Gen/LbPGuns
getpack Sim/SimChecks
cd scripts/Target
Remember to setup Gauss "SetupProject Gauss (your version)"
Single Target
cd
SingleTarget
gaudirun.py Gauss-LHCb-Target-2013.py Gauss-Job-SingleTarget.py
This creates the histogram files in this area which one can read using root.
Multiple Target
This options file allow to run the tool at once for many patricle types and energies and for many target materials and thicknesses.
cd
MultiTarget
In the file Targer_RunAll.py you'll find the following lines which you can modify to run with your choice of energies, materials, etc.
models=['QGSP_BERT','FTFP_BERT','LHEP'] #any present in the version of Gauss you are using
energies=['1']#, '5', '10', '50', '100'] #any
materialsTodo=['Al'] # 'Al' 'Be' 'Si' thicks=['1'] #in mm 1, 5, 10
particlesTodo=['p', 'pbar', 'Piminus', 'Piplus', 'Kminus', 'Kplus'] # Available: 'Piminus' 'Piplus' 'Kminus' 'Kplus' 'p' 'pbar'
Finally to run the tool: python Target_RunAll.py
This creates the histograms in the
TargetOutput subdirectory in this area. Inside this a folder structure is created organizing the root files.
A log allows you to visualize the running status of the tool while is runs. You may change the location of the output by changing the variable "path".