3 Simple macro to test EMCAL Simulation
10 void TestEMCALSimulation(Int_t nev =10, Bool_t raw = kFALSE) {
12 AliSimulation simulator;
13 simulator.SetConfigFile("Config.C");
14 simulator.SetMakeSDigits("EMCAL");
15 simulator.SetMakeDigits ("EMCAL");
17 //simulator.SetRunGeneration(kFALSE); // Generate or not particles
18 //simulator.SetRunSimulation(kFALSE); // Generate or not HITS (detector response) or not, start from SDigits
20 if(raw) simulator.SetWriteRawData("EMCAL","raw.root",kTRUE);
23 simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
24 simulator.SetSpecificStorage("GRP/GRP/Data",
25 Form("local://%s",gSystem->pwd()));
27 // In case of anchoring MC, comment previous OCDB lines
28 // select the appropriate year
29 //simulator.SetDefaultStorage("alien://Folder=/alice/data/2011/OCDB");
30 //simulator.UseVertexFromCDB();
31 //simulator.UseMagFieldFromGRP();
33 //Avoid the HLT to run
34 simulator.SetRunHLT("");
37 simulator.SetRunQA(":");
42 simulator.SetRunNumber(159582); // LHC11d run