]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliDigit.h
Possibility to convolute the original cov.matrix of the point with the matrix coming...
[u/mrichter/AliRoot.git] / STEER / AliDigit.h
1 #ifndef ALIDIGIT_H
2 #define ALIDIGIT_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 ////////////////////////////////////////////////
9 //  Base class for Alice Digits               //
10 ////////////////////////////////////////////////
11
12 #include <assert.h>
13 #include "TObject.h"
14
15 class AliDigit : public TObject {
16 public:
17   AliDigit();
18   AliDigit(Int_t *track);
19   virtual ~AliDigit() {}
20   virtual Int_t *GetTracks() {return fTracks;}
21   virtual Int_t GetTrack(Int_t i) const 
22   {assert(0<=i&&i<=2); return fTracks[i];}
23   
24 protected:
25   Int_t     fTracks[3];   //tracks number making this digit (up to 3)
26
27   ClassDef(AliDigit,1)  //Base class for all Alice digits
28 };
29 #endif