/*
$Log$
+Revision 1.1 1999/12/17 09:01:14 fca
+Y.Schutz new classes for reconstruction
+
*/
#include "AliDigitNew.h"
{
}
-AliDigitNew::AliDigitNew(Int_t *tracks)
-{
- fTracks[0] = tracks[0];
- fTracks[1] = tracks[1];
- fTracks[2] = tracks[2];
-}
-
#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
} ;