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