ROOT logo
#ifndef ALIDIGIT_H
#define ALIDIGIT_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/* $Id$ */

////////////////////////////////////////////////
//  Base class for Alice Digits               //
////////////////////////////////////////////////

#include <assert.h>
#include "TObject.h"

class AliDigit : public TObject {
public:
  AliDigit();
  AliDigit(Int_t *track);
  virtual ~AliDigit() {}
  virtual Int_t *GetTracks() {return fTracks;}
  virtual Int_t GetTrack(Int_t i) const 
  {assert(0<=i&&i<=2); return fTracks[i];}
  
protected:
  Int_t     fTracks[3];   //tracks number making this digit (up to 3)

  ClassDef(AliDigit,1)  //Base class for all Alice digits
};
#endif
 AliDigit.h:1
 AliDigit.h:2
 AliDigit.h:3
 AliDigit.h:4
 AliDigit.h:5
 AliDigit.h:6
 AliDigit.h:7
 AliDigit.h:8
 AliDigit.h:9
 AliDigit.h:10
 AliDigit.h:11
 AliDigit.h:12
 AliDigit.h:13
 AliDigit.h:14
 AliDigit.h:15
 AliDigit.h:16
 AliDigit.h:17
 AliDigit.h:18
 AliDigit.h:19
 AliDigit.h:20
 AliDigit.h:21
 AliDigit.h:22
 AliDigit.h:23
 AliDigit.h:24
 AliDigit.h:25
 AliDigit.h:26
 AliDigit.h:27
 AliDigit.h:28
 AliDigit.h:29