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 */
8 ///////////////////////////////////////////////////////////////////////////////
10 /// This class provides access to EMCAL digits in raw data.
12 ///////////////////////////////////////////////////////////////////////////////
14 // --- ROOT system ---
16 // --- AliRoot header files ---
17 #include "AliAltroRawStream.h"
21 class AliEMCALRawStream: public AliAltroRawStream {
25 AliEMCALRawStream(AliRawReader* rawReader);
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());};
34 ClassDef(AliEMCALRawStream, 0) // class for reading EMCAL raw digits