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