]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliDigit.h
Updated VZERO source
[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 {
16public:
17 Int_t fTracks[3]; //tracks number making this digit (up to 3)
18
19public:
20 AliDigit();
21 AliDigit(Int_t *track);
8918e700 22 virtual ~AliDigit() {}
23 virtual Int_t *GetTracks() {return &fTracks[0];}
24 virtual Int_t GetTrack(Int_t i) const
25 {assert(0<=i&&i<=2); return fTracks[i];}
fe4da5cc 26
27 ClassDef(AliDigit,1) //Base class for all Alice digits
28};
29#endif