]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDCalibGain.cxx
added loading libTestShuttle.so
[u/mrichter/AliRoot.git] / FMD / AliFMDCalibGain.cxx
index 6f20ab63fd8f8e19446e831c63b4a5357e8bb5cb..de18b4ac610cf1814befaf0353900bc73128223f 100644 (file)
 */
 //____________________________________________________________________
 //                                                                          
-//
+// Gain value and width for each strip in the FMD. 
+// Foo 
+// Bar 
+// Baz
+// Gnus
 //
 #include "AliFMDCalibGain.h"   // ALIFMDCALIBGAIN_H
 //____________________________________________________________________
@@ -31,20 +35,28 @@ ClassImp(AliFMDCalibGain)
 
 //____________________________________________________________________
 AliFMDCalibGain::AliFMDCalibGain()
+  : fValue(),
+    fThreshold(-1.)
 {
+  // CTOR
   fValue.Reset(-1.);
   fThreshold = -1.;
 }
 
 //____________________________________________________________________
 AliFMDCalibGain::AliFMDCalibGain(const AliFMDCalibGain& o)
-  : TObject(o), fValue(o.fValue), fThreshold(o.fThreshold)
-{}
+  : TObject(o), 
+    fValue(o.fValue), 
+    fThreshold(o.fThreshold)
+{
+  // Copy CTOR 
+}
 
 //____________________________________________________________________
 AliFMDCalibGain&
 AliFMDCalibGain::operator=(const AliFMDCalibGain& o)
 {
+  // Assignment operator 
   fValue     = o.fValue;
   fThreshold = o.fThreshold;
   return (*this);
@@ -55,6 +67,7 @@ void
 AliFMDCalibGain::Set(UShort_t det, Char_t ring, UShort_t sec, 
                     UShort_t str, Float_t val)
 {
+  // Set the value for a strip 
   if (fValue.CheckIndex(det, ring, sec, str) < 0) return;
   fValue(det, ring, sec, str) = val;
 }
@@ -64,6 +77,7 @@ Float_t
 AliFMDCalibGain::Value(UShort_t det, Char_t ring, UShort_t sec, 
                       UShort_t str)
 {
+  // Get the value for a strip 
   return fValue(det, ring, sec, str);
 }