Added commented lines showing how to use a different TPC equipment map.
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 27 Jun 2006 18:02:14 +0000 (18:02 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 27 Jun 2006 18:02:14 +0000 (18:02 +0000)
EVE/test-macros/tpc_gui.C
EVE/test-macros/tpc_gui_hack.C
EVE/test-macros/tpc_sector_raw_test.C

index e3e56b19ab5e115a75234ddd266ecea5614a7ee4..942ef8ec818a7a3ea5333142d1125d2ade89b66b 100644 (file)
@@ -42,6 +42,8 @@ void tpc_gui(const char *file=0, Int_t ievent=0)
   d->SetAutoPedestal(kTRUE);
   l->SetData(d);
   l->SetDoubleSR(kTRUE);
+  // l->SetInitParams(40, 980, 10); // min-time, max-time, threshold
+  // l->SetTPCEquipementMap("EquipmentIdMap.data");
 
   TGListTreeItem* loader_item = gReve->AddRenderElement(l);
 
index 8247f5ef56458ef1fc5b9dc75d2d7233e40b2df3..97cb17317f138fd9febbb50f2b51a542e0f0c6e4 100644 (file)
@@ -48,6 +48,7 @@ void tpc_gui_hack(const char *file=0, Int_t ievent=0)
   l->SetData(d);
   l->SetDoubleSR(kTRUE);
   l->SetInitParams(50, 980, 15);
+  // l->SetTPCEquipementMap("EquipmentIdMap.data");
 
   su = d->GetSectorData( 4, kTRUE);
   sl = d->GetSectorData(13, kTRUE);
index 85fe006b5f77c69f2ddaf134ded12b2a916260af..78111be231fa4b3197ea16269cb74810d4ade87f 100644 (file)
@@ -31,6 +31,8 @@ void tpc_sector_raw_test(const char *file = "", Int_t ievent = 0)
   reader = new AliRawReaderRoot(file);
   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) {
     if(reader->NextEvent() == kFALSE) {