]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/macros/TestEMCALSimulation.C
remove unsused classes
[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
2994ff3b 18 //OCDB settings
19 simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
20 simulator.SetSpecificStorage("GRP/GRP/Data",
21 Form("local://%s",gSystem->pwd()));
22
23 //Avoid the HLT to run
24 simulator.SetRunHLT("");
aaa3cb7c 25
26 TStopwatch timer;
27 timer.Start();
28
90cf79b3 29 simulator.Run(nev);
aaa3cb7c 30
90cf79b3 31 timer.Stop();
32 timer.Print();
33
34}