]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONVCalibParam.h
Macro to calculate the resolution and the efficiency of chamber(s) (Nicolas)
[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///
13985652 10// Author Laurent Aphecetche
7bda16d5 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:
85fec35d 22 AliMUONVCalibParam();
7bda16d5 23 virtual ~AliMUONVCalibParam();
24
25 /// j indices in following methods are valid from 0 to Dimension()-1.
26 virtual Int_t Dimension() const = 0;
27
28 /// Set one value, for channel i, dimension j. Consider value is a float.
29 virtual void SetValueAsFloat(Int_t i, Int_t j, Float_t value) = 0;
30
31 /// Set one value, for channel i, dimension j. Consider value is an integer.
32 virtual void SetValueAsInt(Int_t i, Int_t j, Int_t value) = 0;
33
34 /// The number of channels handled by this object.
35 virtual Int_t Size() const = 0;
36
37 /// Retrieve the value for a given (channel,dim) as a float.
38 virtual Float_t ValueAsFloat(Int_t i, Int_t j=0) const = 0;
39
40 /// Retrieve the value for a given (channel,dim) as an integer.
41 virtual Int_t ValueAsInt(Int_t i, Int_t j=0) const = 0;
42
6c3ec718 43 static Float_t InvalidFloatValue() { return 1E38; }
44
7bda16d5 45 ClassDef(AliMUONVCalibParam,0) //
46};
47
48#endif