]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliDigitNew.h
Quantum efficiency implemented by setting energy deposition to zero to flag inefficiency.
[u/mrichter/AliRoot.git] / STEER / AliDigitNew.h
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"
13 class TClonesArray;
14
15 typedef TClonesArray DigitsList ;       
16
17 class AliDigitNew : public TObject {
18
19  public: 
20   AliDigitNew();   
21   ~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