1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 //____________________________________________________________________
22 #include "AliFMDCalibGain.h" // ALIFMDCALIBGAIN_H
23 //____________________________________________________________________
24 ClassImp(AliFMDCalibGain)
26 ; // This is here to keep Emacs for indenting the next line
29 //____________________________________________________________________
30 AliFMDCalibGain::AliFMDCalibGain()
36 //____________________________________________________________________
37 AliFMDCalibGain::AliFMDCalibGain(const AliFMDCalibGain& o)
38 : TObject(o), fValue(o.fValue), fThreshold(o.fThreshold)
41 //____________________________________________________________________
43 AliFMDCalibGain::operator=(const AliFMDCalibGain& o)
46 fThreshold = o.fThreshold;
50 //____________________________________________________________________
52 AliFMDCalibGain::Set(UShort_t det, Char_t ring, UShort_t sec,
53 UShort_t str, Float_t val)
55 if (fValue.CheckIndex(det, ring, sec, str) < 0) return;
56 fValue(det, ring, sec, str) = val;
59 //____________________________________________________________________
61 AliFMDCalibGain::Value(UShort_t det, Char_t ring, UShort_t sec,
64 return fValue(det, ring, sec, str);
67 //____________________________________________________________________