Using specific VZERO OCDB entry for Pb-Pb simulation/reconstruction.
[u/mrichter/AliRoot.git] / test / PbPbbench / sim.C
index bac9dbe57e4a34efbd0182d3ecf02d10ca7fd86d..b366b893af45c7aadbed68cb224e2953c6f00865 100644 (file)
@@ -4,11 +4,13 @@ void sim(Int_t nev=1) {
    nev = atoi(gSystem->Getenv("EVENT")) ;   
   simulator.SetWriteRawData("ALL","raw.root",kTRUE);
 
-  simulator.SetDefaultStorage("local://$ALICE_ROOT");
+  simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
   simulator.SetSpecificStorage("GRP/GRP/Data",
                               Form("local://%s",gSystem->pwd()));
+  simulator.SetSpecificStorage("VZERO/Calib/Data",
+                              "local://$ALICE_ROOT/OCDB/VZERO/PbPb");
   simulator.SetRunQA("ALL:ALL") ; 
-  AliQA::SetQARefStorage("local://$ALICE_ROOT") ;
+  simulator.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
   
   for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
     simulator.SetQACycles(det, nev+1) ;