]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDCalibGain.h
Try to get the aliroot version to be stored in the raw data tree
[u/mrichter/AliRoot.git] / FMD / AliFMDCalibGain.h
index e0c030d8c2ba82f6a4c77161a0f805e99f50f309..fb8209d4f501fc28e323e5b6c2dcb4334ee1ce7f 100644 (file)
@@ -5,27 +5,58 @@
  *
  * See cxx source for full Copyright notice                               
  */
+/** @file    AliFMDCalibGain.h
+    @author  Christian Holm Christensen <cholm@nbi.dk>
+    @date    Sun Mar 26 18:30:16 2006
+    @brief   Per strip gain calibration 
+*/
+// Gain value and width for each strip in the FMD. 
+// Foo 
+// Bar 
+//
 #ifndef ALIFMDFLOATMAP_H
 # include <AliFMDFloatMap.h>
 #endif
 //____________________________________________________________________
-//
-// Gain value and width for each strip in the FMD
-//
+/** @brief Gain value and width for each strip in the FMD 
+    @ingroup FMD_base
+*/
 class AliFMDCalibGain : public TObject 
 {
 public:
+  /** Constructor */
   AliFMDCalibGain();
+  /** Destructor */
   ~AliFMDCalibGain() {}
+  /** Copy constructor 
+      @param o object to copy from */
   AliFMDCalibGain(const AliFMDCalibGain& o);
+  /** Assignment operator 
+      @param o Object to assign from */
   AliFMDCalibGain& operator=(const AliFMDCalibGain& o);
+  /** Set the values for a strip. 
+      @param det  Detector 
+      @param ring Ring 
+      @param sec  Sector 
+      @param str  Strip
+      @param val  Value of gain */
   void Set(UShort_t det, Char_t ring, UShort_t sec, UShort_t str, Float_t val);
+  /** Set the global threshold 
+      @param thres Threshold */
   void Set(Float_t thres) { fThreshold = thres; }
+  /** Get gain for a strip. 
+      @param det  Detector 
+      @param ring Ring 
+      @param sec  Sector 
+      @param str  Strip
+      @return Gain for strip */
   Float_t Value(UShort_t det, Char_t ring, UShort_t sec, UShort_t str);
+  /** @return threshold */
   Float_t Threshold() const { return fThreshold; }
+  const AliFMDFloatMap& Values() const { return fValue; }
 private:
-  AliFMDFloatMap fValue;
-  Float_t        fThreshold;
+  AliFMDFloatMap fValue;       // Map
+  Float_t        fThreshold;   // Global threshold
   ClassDef(AliFMDCalibGain, 1) // Gain data for the FMD 
 };