Use built-in equipment maps; the override option is commented out in the macro.
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 28 Jun 2006 13:31:28 +0000 (13:31 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 28 Jun 2006 13:31:28 +0000 (13:31 +0000)
EVE/test-macros/tpc_sector_raw_test.C

index 78111be..08d8166 100644 (file)
@@ -29,9 +29,9 @@ void tpc_sector_raw_test(const char *file = "", Int_t ievent = 0)
   gStyle->SetPalette(1, 0);
 
   reader = new AliRawReaderRoot(file);
-  reader->LoadEquipmentIdsMap
-    (gSystem->ExpandPathName("$(ALICE_ROOT)/TPC/mapping/EquipmentIdMap.data"));
-  //(gSystem->ExpandPathName("EquipmentIdMap.data"));
+  //reader->LoadEquipmentIdsMap
+  //  (gSystem->ExpandPathName("$(ALICE_ROOT)/TPC/mapping/EquipmentIdMap.data"));
+  //  (gSystem->ExpandPathName("EquipmentIdMap.data"));
 
   reader->Reset();
   for(Int_t i=0; i<ievent; ++i, ++event) {
@@ -81,7 +81,7 @@ void next_event()
   reader->Reset();
   AliTPCRawStream input(reader);
   input.SetOldRCUFormat(kTRUE);
-  // reader->Select(0, firstRCU, lastRCU);
+  reader->Select("TPC"); // ("TPC", firstRCU, lastRCU);
 
   x->DropAllSectors();
   x->LoadRaw(input, kTRUE, kTRUE);