]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliDigits.h
Remove for the moment the QA analysis from the PartCorr wagon and move it to its...
[u/mrichter/AliRoot.git] / TPC / AliDigits.h
index f23027f47e7f0b0c5360f4a18747e379755adadd..ccbc722b036f75292f168647b25ab4cf4595b399 100644 (file)
@@ -47,6 +47,9 @@ public:
   Int_t GetSize();//return total size of object in bytes
   Int_t GetDigitSize(); //return total size of pure digits 
   Int_t GetOverTh(Float_t threshold,Float_t x1=-1, Float_t x2=-1, Float_t y1=-1, Float_t y2=-1); //return number of digits over threshold 
+
+  inline Short_t * GetDigitsColumn(Int_t row);                              //return row  pointer to the array digits
+
 protected:
   virtual  void Invalidate();  
   void ExpandBuffer1(); //expand buffer of type to twodimensional array
@@ -101,6 +104,14 @@ inline Short_t AliDigits::GetDigitUnchecked(Int_t row, Int_t column)
   return fElements->fArray[fIndex->fArray[column]+row]; 
 }
 
+inline Short_t * AliDigits::GetDigitsColumn(Int_t column){
+  //
+  //return row  pointer to the array digits
+  //
+  return &(fElements->fArray[fIndex->fArray[column]]);
+}
+
+
 inline void  AliDigits::SetDigitFast(Short_t value, Int_t row, Int_t column)
 {
   //