]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/macros/Embed/Sim.C
Simulation parameters collected in AliPHOSSimParam
[u/mrichter/AliRoot.git] / PHOS / macros / Embed / Sim.C
CommitLineData
70895cc0 1void Sim(const Int_t nevents=10,
2 const Int_t debLevel=0)
3{
4 //make simulation of MC events and merging
5 //with previouly reconstructed Digits from
6 //raw event. We assume they are in dir "Bg"
7
8 AliLog::SetGlobalDebugLevel(debLevel);
9 AliSimulation sim;
10 sim.SetMakeSDigits("PHOS") ;
11 sim.SetMakeDigits("PHOS") ;
12// sim.SetMakeDigitsFromHits("ITS TPC");
13// sim.SetMakeTrigger("PHOS");
14 //Set path to reconstricted raw digits
15 //and set number of simulated events per one raw
16 sim.MergeWith("Bg/galice.root",1) ;
17 sim.Run(nevents);
18
19
20}