]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliCaloRawStream.h
Update of DCS aliases
[u/mrichter/AliRoot.git] / RAW / AliCaloRawStream.h
index c398bdf2954318bce54525b946590a5113ba0271..884426b94219a613a75281aa2322d5fe8b825bf6 100644 (file)
@@ -14,6 +14,7 @@
 ///////////////////////////////////////////////////////////////////////////////
 
 // --- ROOT system ---
+#include "TString.h"
 
 // --- AliRoot header files ---
 #include "AliAltroRawStream.h"
@@ -39,7 +40,8 @@ public :
   Bool_t           IsNewRow()      const {return (GetRow() != GetPrevRow()) || IsNewModule();}
   Bool_t           IsNewColumn()   const {return (GetColumn() != GetPrevColumn()) || IsNewRow();}
   Int_t            GetNRCU() const {return fNRCU;}
-
+  Int_t            GetNSides() const {return fNSides;}
+  TString          GetCalorimeter() const {return fCalo;}
   enum EAliCaloFlag { kLowGain=0, kHighGain=1, kTRUData=2, kLEDMonData=3 };
   Bool_t           IsLowGain()     const {return (fCaloFlag == kLowGain);}
   Bool_t           IsHighGain()    const {return (fCaloFlag == kHighGain);}
@@ -68,10 +70,12 @@ protected:
   Int_t            fCaloFlag;     // low (0) or (1) high gain; see enum EAliCaloFlag above
   Int_t            fFilter; // default 0 = let everything through
   Int_t            fNRCU;   // number of RCU per (super)module
+  Int_t            fNSides;   // Division of EMCal in "A" "C" sides
+  TString          fCalo; // Calorimeter name
   Bool_t           fExternalMapping;   // use external mapping or create a default one
   AliAltroMapping *fMapping[4];   // pointers to ALTRO mapping
 
-  ClassDef(AliCaloRawStream, 0)   // class for reading PHOS/EMCAL raw digits
+  ClassDef(AliCaloRawStream, 1)   // class for reading PHOS/EMCAL raw digits
 
 };