1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
7 /// \class AliMUONVCalibParam
8 /// \brief Container of calibration values for a given number of channels.
10 /// \author Laurent Aphecetche
12 #ifndef ALIMUONVCALIBPARAM_H
13 #define ALIMUONVCALIBPARAM_H
19 class AliMUONVCalibParam : public TObject
22 virtual ~AliMUONVCalibParam();
24 /// j indices in following methods are valid from 0 to Dimension()-1.
25 virtual Int_t Dimension() const = 0;
27 /// Set one value, for channel i, dimension j. Consider value is a float.
28 virtual void SetValueAsFloat(Int_t i, Int_t j, Float_t value) = 0;
30 /// Set one value, for channel i, dimension j. Consider value is an integer.
31 virtual void SetValueAsInt(Int_t i, Int_t j, Int_t value) = 0;
33 /// The number of channels handled by this object.
34 virtual Int_t Size() const = 0;
36 /// Retrieve the value for a given (channel,dim) as a float.
37 virtual Float_t ValueAsFloat(Int_t i, Int_t j=0) const = 0;
39 /// Retrieve the value for a given (channel,dim) as an integer.
40 virtual Int_t ValueAsInt(Int_t i, Int_t j=0) const = 0;
42 ClassDef(AliMUONVCalibParam,0) //