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