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