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