]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALRawStream.h
update of Jenn and Marco
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALRawStream.h
1 #ifndef ALIEMCALRAWSTREAM_H
2 #define ALIEMCALRAWSTREAM_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 ///
10 /// This class provides access to EMCAL digits in raw data.
11 ///
12 ///////////////////////////////////////////////////////////////////////////////
13
14 // --- ROOT system ---
15
16 // --- AliRoot header files ---
17 #include "AliAltroRawStream.h"
18 class AliRawReader;
19
20
21 class AliEMCALRawStream: public AliAltroRawStream {
22
23 public :
24   
25   AliEMCALRawStream(AliRawReader* rawReader);
26   
27   Int_t            GetId() const {return fPad;};
28   Int_t            GetModule() const {return fSector;}
29   Int_t            GetPrevId() const {return fPrevPad;};
30   Int_t            GetSignal() const {return fSignal;};
31   Int_t            GetTime() const {return fTime;};
32   Bool_t           IsNewId() const {return (GetId() != GetPrevId());};
33   
34   ClassDef(AliEMCALRawStream, 0)   // class for reading EMCAL raw digits
35     };
36
37 #endif