![]() |
AliRoot Core
ee782a0 (ee782a0)
|
An example how to use the AliGenMUONCocktailpp generator without GEANT simulation of the detector. More...
#include "AliGenerator.h"
#include "AliRunLoader.h"
#include "AliRun.h"
#include "AliHeader.h"
#include "AliStack.h"
#include "AliGenCocktail.h"
#include "AliDecayerPythia.h"
#include "AliPDG.h"
#include "AliGenMUONCocktailpp.h"
#include "TParticle.h"
Go to the source code of this file.
Functions | |
AliGenerator * | CreateGeneratorMC (Int_t mult) |
Int_t | SetupOutputDirectory () |
void | fastMUONGen (Int_t nev=1, char *filename="galice.root", Int_t mult=2) |
An example how to use the AliGenMUONCocktailpp generator without GEANT simulation of the detector.
The macro switches on all decay modes for the resonances, while for the minimum bias Pythia event we additionally switch on the muonic decays of pions and Kaons Its outcome can be further processed by the macro fastMUONSim.C
Definition in file fastMUONGen.C.
AliGenerator * CreateGeneratorMC | ( | Int_t | mult | ) |
Definition at line 117 of file fastMUONGen.C.
Referenced by fastMUONGen().
void fastMUONGen | ( | Int_t | nev = 1 , |
char * | filename = "galice.root" , |
||
Int_t | mult = 2 |
||
) |
The third argument mult allows to select at a "pre-trigger" level events with "mult" muons in the MUON detector's phase space window, which is defined in the method "CreateGeneratorMC(Int_t mult)". Note that in this routine also a cut on the muon's origin should be placed in order not to trigger on muons from pi/K decays that were decayed by Pythia way inside the absorber or in the muon spectrometer itself
Definition at line 55 of file fastMUONGen.C.
Int_t SetupOutputDirectory | ( | ) |
Definition at line 139 of file fastMUONGen.C.
Referenced by fastMUONGen().