Coding rules
[u/mrichter/AliRoot.git] / CORRFW / AliCFFrame.h
CommitLineData
563113d0 1#ifndef ALICFFRAME_H
2#define ALICFFRAME_H
3
4/* $Id$ */
5
6//--------------------------------------------------------------------//
7// //
8// AliCFFrame.cxx Class //
9// Class to handle input data for correction Framework //
10// //
11//--------------------------------------------------------------------//
12
9f6be3a2 13#include "TNamed.h"
1e9dad92 14
563113d0 15class AliCFFrame : public TNamed
16{
17 public:
18 AliCFFrame();
19 AliCFFrame(const Char_t* name,const Char_t* title);
fb494025 20 virtual ~AliCFFrame() {} ;
21 virtual void Copy(TObject& c) const {TNamed::Copy(c);}
22
23 virtual Int_t GetNVar() const = 0 ; // number of variables
24 virtual void PrintBinLimits() const = 0 ; // prints the bin limits for each variable
25 virtual void PrintNBins() const = 0 ; // prints the number of bins for each variable
26 virtual void SetBinLimits(Int_t ivar, const Double_t * array) = 0 ; // sets the bin limits specified in array
27 virtual void GetBinLimits(Int_t ivar, Double_t * array) const = 0 ; // puts in array the bin limits for variable ivar
28 virtual Double_t * GetBinLimits(Int_t ivar) const = 0 ; // returns an array of bin limits for variable ivar
29 virtual Long_t GetNBinsTotal() const = 0 ; // total number of bins
30 virtual Int_t GetNBins(Int_t ivar) const = 0 ; // number of bins for variable ivar
31 virtual Int_t * GetNBins() const = 0 ; // returns an array containing the bins for each variable
32 virtual Float_t GetBinCenter(Int_t ivar,Int_t ibin) const = 0 ; // the center of bin number ibin for variable ivar
33 virtual Float_t GetBinSize (Int_t ivar,Int_t ibin) const = 0 ; // the size of bin number ibin for variable ivar
34 //virtual void GetBinCenters(const Int_t *ibin, Float_t *binCenter) const = 0 ; //
35 //virtual void GetBinSizes (const Int_t *ibin, Float_t *binSizes) const = 0 ; //
36
37 // probably not needed anymore
38/* virtual Int_t GetBinIndex(const Int_t *ibin) const = 0 ; */
39/* virtual void GetBinIndex(Int_t iel, const Int_t *ibin) const = 0 ; */
40/* virtual Int_t GetBinIndex(Int_t ivar, Int_t ind) const = 0 ; */
41
42 ClassDef(AliCFFrame,3);
563113d0 43};
44
45#endif
46