]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - CRT/AliCRTdigit.h
EffC++ warnings corrected.
[u/mrichter/AliRoot.git] / CRT / AliCRTdigit.h
index d6570c732219de49a061813ba63e6bb1e2f6315c..81857bdc30db426df48a57af011890603fbc3d4c 100644 (file)
@@ -5,20 +5,26 @@
 
 /* $Id$ */
 
-#include <TArrayF.h>
-#include <TArrayI.h>
+////////////////////////////////////////////////////////////////////////////
+//  CRT digit: Id
+//
+// The digits are made in FinishEvent() by summing all the hits in a 
+// counter.
+////////////////////////////////////////////////////////////////////////////
 
 #include "AliDigit.h"
-#include "AliCRT.h"
 
-class AliCRTdigit: public TObject  {
+class TArrayF;
+class TArrayI;
 
+class AliCRTdigit: public AliDigit  {
 public:
-            AliCRTdigit();
-            AliCRTdigit(Int_t tracknum, Int_t* vol, Float_t* digit);
-            AliCRTdigit(const AliCRTdigit & digit);
-    AliCRTdigit& operator= (const AliCRTdigit& digit);
-    virtual ~AliCRTdigit() {}
+  AliCRTdigit();
+  AliCRTdigit(Int_t* tracks, Int_t* vol, Float_t* digit);
+  AliCRTdigit(const AliCRTdigit& digit);
+  virtual ~AliCRTdigit();
+
+  AliCRTdigit& operator= (const AliCRTdigit& digit);
 
 protected:
   Int_t     fSector;  // number of sector
@@ -27,10 +33,8 @@ protected:
   Int_t     fPadx;    // number of pad along x
   Int_t     fPadz;    // number of pad along z
   Int_t     fNDigits;  // dimension of fTdc array
-  TArrayF   *fTdc;     // tdc values for sdigit
-  TArrayF   *fAdc;     // adc values for sdigit
-  TArrayI   *fTracks;  // contributing tracks, kMAXDIGITS entries per
-                     // 1 tdc value
+  TArrayF*  fTdc;     // tdc values for sdigit
+  TArrayF*  fAdc;     // adc values for sdigit
 
 private:
     ClassDef(AliCRTdigit,1)  //Digit (Header) object for set : CRT (ACORDE)