]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSRawStream.h
Reorganization + comment added
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRawStream.h
index 26136a3df6265a7a93bdf3e14c4a75c38bb0b9fb..3545b872a322dc4547c84f2ca80a052c438791f4 100644 (file)
 ///
 ///////////////////////////////////////////////////////////////////////////////
 
-#include "AliAltroRawStream.h"
+// --- ROOT system ---
 
+// --- AliRoot header files ---
+#include "AliAltroRawStream.h"
 class AliRawReader;
 
 
 class AliPHOSRawStream: public AliAltroRawStream {
-  public :
-    AliPHOSRawStream(AliRawReader* rawReader);
-
-    Int_t            GetModule() const {return fSector;};
-    Int_t            GetPrevModule() const {return fPrevSector;};
-    Bool_t           IsNewModule() const {return fSector != fPrevSector;};
-    Int_t            GetRow() const {return fRow;};
-    Int_t            GetPrevRow() const {return fPrevRow;};
-    Bool_t           IsNewRow() const {return (fRow != fPrevRow) || IsNewModule();};
-    Int_t            GetColumn() const {return fPad;};
-    Int_t            GetPrevColumn() const {return fPrevPad;};
-    Bool_t           IsNewColumn() const {return (fPad != fPrevPad) || IsNewRow();};
-    Int_t            GetTime() const {return fTime;};
-    Int_t            GetSignal() const {return fSignal;};
-
-    ClassDef(AliPHOSRawStream, 0)   // class for reading PHOS raw digits
-};
+
+public :
+  
+  AliPHOSRawStream(AliRawReader* rawReader);
+  
+  Int_t            GetColumn() const {return fPad;};
+  Int_t            GetModule() const {return fSector;};
+  Int_t            GetPrevColumn() const {return fPrevPad;};
+  Int_t            GetPrevModule() const {return fPrevSector;};
+  Int_t            GetPrevRow() const {return fPrevRow;};
+  Int_t            GetRow() const {return fRow;};
+  Int_t            GetSignal() const {return fSignal;};
+  Int_t            GetTime() const {return fTime;};
+  Bool_t           IsNewColumn() const {return (GetColumn() != GetPrevColumn()) || IsNewRow();};
+  Bool_t           IsNewModule() const {return GetModule() != GetPrevModule();};
+  Bool_t           IsNewRow() const {return (GetRow() != GetPrevRow()) || IsNewModule();};
+  
+  ClassDef(AliPHOSRawStream, 0)   // class for reading PHOS raw digits
+    };
 
 #endif