]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDarrayDictionary.h
Fix for true centrality estimator with hijing npart (Alberica)
[u/mrichter/AliRoot.git] / TRD / AliTRDarrayDictionary.h
index ac97c315a9bcc78fac244bac324f8fc73d38747f..54d9916ac18b670b051fd2baebe1b71b65fdac73 100644 (file)
@@ -37,7 +37,8 @@ class AliTRDarrayDictionary: public TObject
   void  Reset();\r
   Int_t GetData(Int_t nrow, Int_t ncol, Int_t ntime) const;\r
   void  SetData(Int_t nrow, Int_t ncol, Int_t ntime, Int_t value);\r
-  static  void    CreateLut(); \r
+  static  void    CreateLut();\r
+  Bool_t WasExpandCalled() const {return fFlag;};\r
 \r
  protected:\r
 \r
@@ -48,9 +49,10 @@ class AliTRDarrayDictionary: public TObject
   Int_t   fNtime;       //Number of time bins\r
   Int_t   fNDdim;       //Dimension of the Dictionary array\r
   Int_t*  fDictionary;  //[fNDdim]  //Pointer to integers array\r
+  Bool_t  fFlag;        //! Has Expand() being called before?\r
   static Short_t *fgLutPadNumbering;   //  [fNcol] Look Up Table\r
 \r
-  ClassDef(AliTRDarrayDictionary,3) //Dictionary container class\r
+  ClassDef(AliTRDarrayDictionary,7) //Dictionary container class\r
     \r
 };\r
 #endif\r