]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFDigitMap.h
minor fixes
[u/mrichter/AliRoot.git] / TOF / AliTOFDigitMap.h
index a5256606d31f5a1561bb80d5165ed61213432c76..24e3d7ab585d770277401199ba5abc6be8789cba 100644 (file)
@@ -45,16 +45,23 @@ class AliTOFDigitMap : public TObject
     // Assignment operator
     AliTOFDigitMap& operator = (const AliTOFDigitMap& rhs);
     
-    Int_t GetFilledCellNumber() const;
+    Int_t  GetFilledCellNumber() const;
+    Bool_t StripDigitCheck(Int_t iSector, Int_t iPlate, Int_t iStrip) const;
+    Int_t  DigitInStrip(Int_t iSector, Int_t iPlate, Int_t iStrip) const;
+    Int_t  FilledCellsInStrip(Int_t iSector, Int_t iPlate, Int_t iStrip) const;
+    void   ResetDigitNumber(Int_t *vol, Int_t dig);
+    void   ResetDigit(Int_t *vol, Int_t dig);
+    void   ResetDigit(Int_t *vol);
+    Int_t  GetNumberOfDigits(Int_t *vol);
 
- private:
-    // Check index
-    Int_t CheckedIndex(Int_t *vol) const;
- private:
     enum {
-      kMaxDigitsPerPad = 3
+      kMaxDigitsPerPad = 10
     };
 
+ private:
+    // Check index
+    Int_t CheckedIndex(Int_t * const vol) const;
+
     Int_t fNSector;                       // Number of sectors
     Int_t fNplate;                        // Number of plates
     Int_t fNstrip;                        // Maximum number of strips