]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
New version from Y.Schutz
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 14 Feb 2000 11:44:29 +0000 (11:44 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 14 Feb 2000 11:44:29 +0000 (11:44 +0000)
STEER/AliDigitNew.cxx
STEER/AliDigitNew.h

index 387497f6f27547e9256a9eda0eaf3751bd4fd39b..86a3b28f863be6a51d2ad1dff435fa4f0c2fdaf8 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.1  1999/12/17 09:01:14  fca
+Y.Schutz new classes for reconstruction
+
 */
 
 #include "AliDigitNew.h"
@@ -25,11 +28,4 @@ AliDigitNew::AliDigitNew()
 {
 }
 
-AliDigitNew::AliDigitNew(Int_t *tracks)
-{
-  fTracks[0] = tracks[0];
-  fTracks[1] = tracks[1];
-  fTracks[2] = tracks[2];
-}
-
         
index e2cf9102faa17429d970f05491e891e19090e880..ec0045a2b99c93aa58d50de69ec5ed3315e03cd6 100644 (file)
 #include "TObject.h"
 
 class AliDigitNew : public TObject {
- public:
-  Int_t     fTracks[3];   //tracks number making this digit (up to 3)
-  
+
  public: 
   AliDigitNew() ;   
-  AliDigitNew(Int_t *track);
   ~AliDigitNew() {;}
-  inline virtual int *GetTracks() {return &fTracks[0];}
-  inline virtual Int_t GetAmp() = 0 ;
-  
- private:
-  
-
- public:  
+  Int_t   GetAmp() const { return fAmp  ; } 
+  Int_t   GetId() const { return fId ; }     
+   
+ protected:
+  Int_t fId ;                // absolute id
+  Int_t fAmp ;               // digitalized energy
+     
   ClassDef(AliDigitNew,1)  //Base class for all Alice digits
 
 } ;