1 void sim(Int_t nev=100)
3 if ( VAR_PURELY_LOCAL) {
4 TGeoGlobalMagField::Instance()->SetField(new AliMagF("Maps","Maps", -1., -1, AliMagF::k5kG));
7 AliSimulation simulator;
8 simulator.SetRunQA("MUON:ALL");
9 simulator.SetRunHLT("");
11 if ( VAR_USE_ITS_RECO )
13 simulator.SetMakeSDigits("MUON T0 VZERO FMD"); // T0 and VZERO for trigger efficiencies, FMD for diffractive studies
14 simulator.SetMakeDigitsFromHits("ITS"); // ITS needed to propagate the simulated vertex
15 simulator.SetMakeDigits("MUON T0 VZERO FMD");// ITS"); // ITS needed to propagate the simulated vertex
19 simulator.SetTriggerConfig("MUON");
20 simulator.SetMakeSDigits("MUON");
21 simulator.SetMakeDigits("MUON");// ITS"); // ITS needed to propagate the simulated vertex
25 simulator.SetDefaultStorage(VAR_OCDB_PATH);
27 if ( VAR_OCDB_SNAPSHOT )
29 simulator.SetCDBSnapshotMode("OCDB_sim.root");
32 if ( ! VAR_PURELY_LOCAL ) {
35 simulator.SetSpecificStorage("MUON/Align/Data",VAR_SIM_ALIGNDATA);
37 simulator.SetSpecificStorage("ITS/Align/Data", "alien://Folder=/alice/simulation/2008/v4-15-Release/Ideal");
38 // Mag.field from OCDB
39 simulator.UseMagFieldFromGRP();
41 if ( VAR_USE_ITS_RECO )
43 simulator.UseVertexFromCDB();