-- 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".

Edit | Attach | Watch | Print version | History: r8 | r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r4 - 2014-01-22 - LucaPescatore
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback