12 #ifndef ALIMUONCALIBPARAMNF_H
13 #define ALIMUONCALIBPARAMNF_H
15 #ifndef ALIMUONVCALIBPARAM_H
23 AliMUONCalibParamNF(Int_t dimension, Int_t theSize, Int_t id0, Int_t id1, Float_t fillWithValue=0);
35 virtual void Print(Option_t* opt=
"")
const;
49 virtual Int_t
ValueAsInt(Int_t i, Int_t j=0)
const;
55 Int_t
Index(Int_t i, Int_t j)
const;
void CopyTo(AliMUONCalibParamNF &destination) const
virtual void SetValueAsInt(Int_t i, Int_t j, Int_t value)
Set one value, for channel i, dimension j. Consider value is an integer.
virtual void SetValueAsFloat(Int_t i, Int_t j, Float_t value)
Set one value, for channel i, dimension j. Consider value is a float.
virtual void Print(Option_t *opt="") const
Int_t fDimension
dimension of this object
Int_t fN
The total number of floats we hold (fDimension*fSize)
Implementation of AliMUONVCalibParam for tuples of floats.
Int_t fSize
The number of float pair we hold.
virtual Float_t ValueAsFloat(Int_t i, Int_t j=0) const
virtual Float_t ValueAsFloatFast(Int_t i, Int_t j=0) const
Same as above but without bound checking.
Container of calibration values for a given number of channels.
AliMUONCalibParamNF & operator=(const AliMUONCalibParamNF &other)
Int_t IndexFast(Int_t i, Int_t j) const
virtual void SetValueAsFloatFast(Int_t i, Int_t j, Float_t value)
virtual Int_t Size() const
Return size - the number of float pair we hold.
Int_t Index(Int_t i, Int_t j) const
virtual Int_t ValueAsIntFast(Int_t i, Int_t j=0) const
Same as above but w/o bound checking.
virtual ~AliMUONCalibParamNF()
virtual Int_t ValueAsInt(Int_t i, Int_t j=0) const
Float_t * fValues
The values array.
virtual void SetValueAsIntFast(Int_t i, Int_t j, Int_t value)
Same as above but w/o bound checkings.
virtual Int_t Dimension() const
Return dimension.
virtual TObject * Clone(const char *="") const
Own clone methods (as the default TObject::Clone turned out to be pretty slow !)