]>
Commit | Line | Data |
---|---|---|
90cf79b3 | 1 | /* |
2 | ||
3 | Simple macro to test EMCAL Simulation | |
4 | ||
5 | J.L. Klay | |
6 | LLNL | |
7 | ||
8 | */ | |
9 | ||
aaa3cb7c | 10 | void 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 | } |