]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ZDC/AliZDCDigit.h
In stand-allone mode, pass stack to entries.
[u/mrichter/AliRoot.git] / ZDC / AliZDCDigit.h
index 8836730e321302427c164eb01bc0602dc7c1d655..7f7a66b2706fbd8071c6a465664f808459d651db 100644 (file)
@@ -10,9 +10,9 @@
 //
 //_________________________________________________________________________
 
-#include "AliDigitNew.h"
+#include<TObject.h>
 
-class AliZDCDigit : public AliDigitNew {
+class AliZDCDigit : public TObject {
 
  public:
   
@@ -22,8 +22,8 @@ class AliZDCDigit : public AliDigitNew {
   virtual ~AliZDCDigit() {}
 
   // Getters 
-  virtual Float_t   GetSector(Int_t i) {return fSector[i];}
-  virtual Float_t   GetADCValue() {return fADCValue;}
+  virtual Int_t   GetSector(Int_t i) {return fSector[i];}
+  virtual Int_t   GetADCValue()      {return fADCValue;}
 
   // Operators
   Int_t operator == (AliZDCDigit &digit) {
@@ -42,17 +42,18 @@ class AliZDCDigit : public AliDigitNew {
  protected:
 
   //Data members
-  Int_t   fSector[2];         // Detecor and tower in which light is produced
-  Float_t fADCValue;          // ADC channel value
+  Int_t  fSector[2];         // Detector and tower in which light is produced
+  Int_t  fADCValue;          // ADC channel value
 
   // Print method
   virtual void Print(Option_t *) {
-     printf(" -> DIGIT: Detector =  %d Quadrant =  %d ADCCh =  %f\n ",
+     printf(" -> DIGIT: Detector =  %d Quadrant =  %d ADCCh =  %d\n ",
      fSector[0], fSector[1], fADCValue);
   }
     
-  ClassDef(AliZDCDigit,1)   // Digits in ZDC 
+  ClassDef(AliZDCDigit,3)   // Digits in ZDC 
 
 } ;
 
 #endif //  ALIZDCDIGIT_H
+