]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/macros/TestEMCALSimulation.C
Linkning with libMinuit on Windows/Cygwin
[u/mrichter/AliRoot.git] / EMCAL / macros / TestEMCALSimulation.C
CommitLineData
90cf79b3 1/*
2
3Simple macro to test EMCAL Simulation
4
5J.L. Klay
6LLNL
7
8*/
9
aaa3cb7c 10void TestEMCALSimulation(Int_t nev =10) {
90cf79b3 11
12 AliSimulation simulator;
90cf79b3 13 simulator.SetConfigFile("Config.C");
14 simulator.SetMakeSDigits("EMCAL");
15 simulator.SetMakeDigits("EMCAL");
aaa3cb7c 16 simulator.SetWriteRawData("EMCAL","raw.root",kTRUE);
17
18
19 TStopwatch timer;
20 timer.Start();
21
90cf79b3 22 simulator.Run(nev);
aaa3cb7c 23
90cf79b3 24 timer.Stop();
25 timer.Print();
26
27}