-- SajanEaso - 21 Jan 2014

Target tool to study hadronic cross secitons in blocks of material in Gauss

The tool fires particles into blocks of material and returns information on the probability of hadronic interaction and multiplicity and composition of daughters.

The tool is documented in LHCb-INT-2013-026.

How to run

To run the Target package you first need to setup the desired Gauss version (SetupProject Gauss (version)). If the SimChecks package is present in its latest version youwill have the variables $SIMCHECKSROOT and $TARGETOPTS defined. In case they are not defined, you need to getpack the SimChecks package:

SetupProject --build-env Gauss (version) 
getpack Sim/SimChecks 
cd Sim/SimChecks/cmt 
cmt make 
SetupProject Gauss (version)

Now the package is setup. To produce plots you can use the options defined in $TARGETOPTS. For example the option file MakeEvents _1mm_Al_AllPGun.py will produce events for all available particle guns, using a target of 1 mm Aluminium.

To run this script:

python $TARGETOPTS/MakeEvents_1mm_Al_AllPGun.py

You may also copy the option in a local folder if you wish.

At the top of the option file several parameters can be set:

  • The output folder: path=os.environ[?HOME?]. I suggest to use a folder with at least 10GB of free space
  • Models to use: models=[?FTFP_BERT?,?QGSP_BERT?] or all other models available in you selected Gauss version
  • Incoming particle energy: energies=[1,2,5,10,50,100] or any other number, in GeV.
  • Target thicknesses: thicks=[1,10], only 1, 5 and 10 mm available.
  • Target materials: materials=[?Al?], only Al, Be and Si available.
  • The IDs of the incoming particles: pguns=["p","pbar"]. Available particles: p, pbar, Kminus, Kplus, Piminus, Piplus. If you add both a particle and its antiparticle in a row ratio plots will be produced too.
The scripts output several plots and .txt files with summary tables. Furthermore, two root files are produced:

  • TargetOutput.root: this is the direct output of the event production. It contains all information about each projectile and its daughters,
  • TargetsPlots.root: this file contains instead summary information extrated from the first (e.g. cross sections and multiplicities) file for easier readability.


Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r8 - 2015-11-27 - 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-2023 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