]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliDigitNew.h
Right cathode numbering (Christian)
[u/mrichter/AliRoot.git] / STEER / AliDigitNew.h
CommitLineData
2a33668d 1#ifndef ALIDIGITNEW_H
2#define ALIDIGITNEW_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 "TObject.h"
94de3818 13class TClonesArray;
65a2d2b0 14
15typedef TClonesArray DigitsList ;
2a33668d 16
17class AliDigitNew : public TObject {
98209527 18
2a33668d 19 public:
e2afb3b6 20 AliDigitNew();
21 ~AliDigitNew() {}
98209527 22 Int_t GetAmp() const { return fAmp ; }
65a2d2b0 23 Int_t GetId() const { return fId ; }
24 Int_t GetIndexInList() const { return fIndexInList ; }
25 void SetIndexInList(Int_t val) { fIndexInList = val ; }
26
98209527 27 protected:
28
98209527 29 Int_t fAmp ; // digitalized energy
65a2d2b0 30 Int_t fId ; // absolute id
31 Int_t fIndexInList ; // the index of this digit in the list stored in TreeD
32
2a33668d 33 ClassDef(AliDigitNew,1) //Base class for all Alice digits
34
35} ;
36#endif // ALIDIGITNEW_H