]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONVCalibParam.h
Coding conventions
[u/mrichter/AliRoot.git] / MUON / AliMUONVCalibParam.h
CommitLineData
7bda16d5 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2* See cxx source for full Copyright notice */
3
4// $Id$
5
6/// \ingroup base
7/// \class AliMUONVCalibParam
8/// \brief Container of calibration values for a given number of channels.
9///
10/// \author Laurent Aphecetche
11
12#ifndef ALIMUONVCALIBPARAM_H
13#define ALIMUONVCALIBPARAM_H
14
15#ifndef ROOT_TObject
16# include "TObject.h"
17#endif
18
19class AliMUONVCalibParam : public TObject
20{
21public:
22 virtual ~AliMUONVCalibParam();
23
24 /// j indices in following methods are valid from 0 to Dimension()-1.
25 virtual Int_t Dimension() const = 0;
26
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;
29
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;
32
33 /// The number of channels handled by this object.
34 virtual Int_t Size() const = 0;
35
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;
38
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;
41
42 ClassDef(AliMUONVCalibParam,0) //
43};
44
45#endif