AliRoot Core  edcc906 (edcc906)
AliDigitNew.h
Go to the documentation of this file.
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 
9 // Base class for Alice Digits //
11 
12 #include "TObject.h"
13 class TClonesArray;
14 
15 typedef TClonesArray DigitsList ;
16 
17 class AliDigitNew : public TObject {
18 
19  public:
20  AliDigitNew();
22  Int_t GetAmp() const { return fAmp ; }
23  Int_t GetId() const { return fId ; }
24  Int_t GetIndexInList() const { return fIndexInList ; }
25  void SetIndexInList(Int_t val) { fIndexInList = val ; }
26 
27  protected:
28 
29  Int_t fAmp ; // digitalized energy
30  Int_t fId ; // absolute id
31  Int_t fIndexInList ; // the index of this digit in the list stored in TreeD
32 
33  ClassDef(AliDigitNew,1) //Base class for all Alice digits
34 
35 } ;
36 #endif // ALIDIGITNEW_H
Int_t fIndexInList
Definition: AliDigitNew.h:31
Int_t GetIndexInList() const
Definition: AliDigitNew.h:24
void SetIndexInList(Int_t val)
Definition: AliDigitNew.h:25
Int_t GetId() const
Definition: AliDigitNew.h:23
TClonesArray DigitsList
Definition: AliDigitNew.h:13
Int_t GetAmp() const
Definition: AliDigitNew.h:22
Int_t fAmp
Definition: AliDigitNew.h:29