* about the suitability of this software for any purpose. It is *
* provided "as is" without express or implied warranty. *
**************************************************************************/
-
/* $Id$ */
-
+/** @file AliFMDCalibGain.cxx
+ @author Christian Holm Christensen <cholm@nbi.dk>
+ @date Sun Mar 26 18:30:02 2006
+ @brief Per strip gain calibration
+*/
//____________________________________________________________________
//
-//
+// Gain value and width for each strip in the FMD.
+// Foo
+// Bar
+// Baz
+// Gnus
//
#include "AliFMDCalibGain.h" // ALIFMDCALIBGAIN_H
//____________________________________________________________________
//____________________________________________________________________
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);
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;
}
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);
}