]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDdataArrayI.h
First commit.
[u/mrichter/AliRoot.git] / TRD / AliTRDdataArrayI.h
index 7f1008ba37906fb01fbe38576830447896ac1f1b..11f33d25e2729f7b19015ad4dd98c10f4de6ec2d 100644 (file)
@@ -36,19 +36,25 @@ class AliTRDdataArrayI : public AliTRDdataArray {
   virtual void   Reset();
 
           void   SetData(Int_t row, Int_t col, Int_t time, Int_t value);
+          void   SetDataUnchecked(Int_t row, Int_t col, Int_t time, Int_t value)
+                                 { SetDataFast(GetIdx1Unchecked(row,col),time,value); };
+
   virtual void   SetThreshold(Int_t threshold) { fThreshold = threshold; };
 
   virtual Int_t  GetData(Int_t row, Int_t col, Int_t time) const;
+          Int_t  GetDataUnchecked(Int_t row, Int_t col, Int_t time) const
+                                 { return GetDataFast(GetIdx1Unchecked(row,col),time); };
+
   virtual Int_t  GetThreshold() const          { return fThreshold;  };
 
-  virtual Int_t  GetSize();
-  virtual Int_t  GetDataSize(); 
+  virtual Int_t  GetSize() const;
+  virtual Int_t  GetDataSize() const
   virtual Int_t  GetOverThreshold(Int_t threshold);  
 
  protected:
 
-  inline  void   SetDataFast(Int_t idx1, Int_t idx2, Int_t value); 
-  inline  Int_t  GetDataFast(Int_t idx1, Int_t idx2) const; 
+  void   SetDataFast(Int_t idx1, Int_t idx2, Int_t value);
+  Int_t  GetDataFast(Int_t idx1, Int_t idx2) const;
 
   Int_t          GetData1(Int_t idx1, Int_t idx2) const; 
   void           Expand1();