]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - MUON/READMEfast.txt
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / MUON / READMEfast.txt
... / ...
CommitLineData
1// $Id$
2
3/*!
4
5\page README_fast Fast simulation
6
7
8The macro fastMUONGen.C allows to generate events using the
9AliGenMUONCocktailpp generator. In the current implementation, the
10generator is set up in order to force all generated particles to decay
11within Pythia, including the muonic decay of pions and kaons:
12gener->SetDecayModePythia(kAllMuonic);
13By changing the argument from "kAllMuonic" back to "kAll" one can
14leave it up to GEANT to do these decays.
15In addition, we require that the "trigger muons" - whose number
16(single- or dimuon trigger or MB trigger),
17specified as the third argument of fastMUONGen.C - must have their origin
18before the hadron absorber in order to "simulate" GEANT:
19gener->SetMuonOriginCut(-130.);
20
21The output of this generation ("galice.root" and "Kinematic.root")
22can then be processed by the macro fastMUONSim.C that produces a
23root file, called "fastSim_pp.root". It uses the "fast generator" to
24simulate the detector response. The output file contains
25TClonesArrays holding AliMUONTrackLight and AliMUONPairLight objects
26that are built on the basis of the surviving muons.
27
28Both macros can be run from fastSim.sh test script.
29
30This chapter is defined in the READMEfast.txt file.
31
32*/
33
34