]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/macros/TestEMCALSimulation.C
track matching macros from Alberto
[u/mrichter/AliRoot.git] / EMCAL / macros / TestEMCALSimulation.C
1 /* 
2
3 Simple macro to test EMCAL Simulation
4
5 J.L. Klay
6 LLNL
7  
8 */
9
10 void TestEMCALSimulation(Int_t nev =1) {
11
12   AliSimulation simulator;
13
14   TStopwatch timer;
15   timer.Start();
16   simulator.SetConfigFile("Config.C");
17   simulator.SetMakeSDigits("EMCAL");
18   simulator.SetMakeDigits("EMCAL");
19   simulator.Run(nev);
20   timer.Stop();
21   timer.Print();
22
23 }