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