From 8c687deeb91f449ca85f98547086c83a4891a443 Mon Sep 17 00:00:00 2001 From: mivanov Date: Thu, 30 Oct 2014 15:51:15 +0100 Subject: [PATCH] ATO-17 - one more change - ULong_t not properly handled by the TTree::BuildIndex. Return back to UInt_t but using 30 bit UID --- TPC/Base/AliTPCROC.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/TPC/Base/AliTPCROC.h b/TPC/Base/AliTPCROC.h index 81f8c331063..472ab2a87b5 100644 --- a/TPC/Base/AliTPCROC.h +++ b/TPC/Base/AliTPCROC.h @@ -58,8 +58,7 @@ class AliTPCROC : public TObject { Float_t GetPadRowRadii(UInt_t isec, UInt_t irow) const { return ( (isec < fNSectors[0]) ?GetPadRowRadiiLow(irow):GetPadRowRadiiUp(irow));} // - static ULong64_t GetTPCUniqueID(UInt_t sector, UInt_t row, UInt_t pad, UInt_t time){ULong64_t uid=sector+(row<<7)+(pad<<14)+(time<<22); return uid; - } // unique Id can be used for absolute adressing of the TPC element + static UInt_t GetTPCUniqueID(UInt_t sector, UInt_t row, UInt_t pad, UInt_t time){UInt_t uid=time+pad*1000+row*1000*140+sector*1000*140*159; return uid; } // unique Id can be used for absolute adressing of the TPC element protected: // // number of pads -- 2.43.0