]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDBaseDA.h
Allowed for seperate gain analysis on the ten halfrings and expanded the SOD information
[u/mrichter/AliRoot.git] / FMD / AliFMDBaseDA.h
index fcea581fd7b4b979c33207a621e00a8f054ac35e..ee2b74a3c01a4aa32768a6a1833b2f3d9d80af2f 100644 (file)
@@ -30,6 +30,7 @@
 #include "AliRawReader.h"
 #include "AliFMDDigit.h"
 #include "AliFMDParameters.h"
+#include "TArrayS.h"
 class TDirectory;
 
 
@@ -65,6 +66,15 @@ protected:
   std::ofstream fConditionsFile;
   Bool_t fSaveHistograms;
   TObjArray fDetectorArray;
+
+  Int_t GetHalfringIndex(UShort_t, Char_t, UShort_t);
+  Int_t GetPulseSize(UShort_t det , 
+                    Char_t ring, 
+                    UShort_t board) {return fPulseSize.At(GetHalfringIndex(det,ring,board));}
+  Int_t GetPulseLength(UShort_t det, 
+                      Char_t ring, 
+                      UShort_t board) {return fPulseLength.At(GetHalfringIndex(det,ring,board));}
+
   
   const char* GetDetectorPath(UShort_t det, Bool_t full=kTRUE) const;
   const char* GetRingPath(UShort_t det, Char_t ring, Bool_t full=kTRUE) const;
@@ -73,6 +83,9 @@ protected:
   const char* GetStripPath(UShort_t det, Char_t ring, UShort_t sec, 
                           UShort_t str, Bool_t full=kTRUE) const;
   
+  TArrayS fPulseSize;
+  TArrayS fPulseLength;
+
 private:
  
   void WriteConditionsData();
@@ -82,6 +95,8 @@ private:
   Int_t fCurrentEvent;   
 
   
+  
+  
   ClassDef(AliFMDBaseDA,0)
 
 };