]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliDigitNew.h
Remove old geometries
[u/mrichter/AliRoot.git] / STEER / AliDigitNew.h
index ec0045a2b99c93aa58d50de69ec5ed3315e03cd6..d6aba30583eb89ed20438469050c7b67d913fdc0 100644 (file)
 ////////////////////////////////////////////////
 
 #include "TObject.h"
+class TClonesArray;
+
+typedef TClonesArray DigitsList ;       
 
 class AliDigitNew : public TObject {
 
  public: 
-  AliDigitNew() ;   
-  ~AliDigitNew() {;}
+  AliDigitNew();   
+  ~AliDigitNew() {}
   Int_t   GetAmp() const { return fAmp  ; } 
-  Int_t   GetId() const { return fId ; }     
-   
+  Int_t   GetId() const  { return fId ; }      
+  Int_t   GetIndexInList() const { return fIndexInList ; } 
+  void    SetIndexInList(Int_t val) { fIndexInList = val ; } 
+
  protected:
  
-  Int_t fId ;                // absolute id
   Int_t fAmp ;               // digitalized energy
-     
+  Int_t fId ;                // absolute id
+  Int_t fIndexInList ;       // the index of this digit in the list stored in TreeD
+   
   ClassDef(AliDigitNew,1)  //Base class for all Alice digits
 
 } ;