2 // Class AliRsnHistoDef
4 // Histogram definition.
5 // Contains required informations to create a histogram
6 // with fixed bin size: number of bins, minimum and maximum.
7 // Variable bin sizes are not considered because they are
8 // not used as typical output of analysis in this package.
11 #ifndef ALIRSNHISTODEF_H
12 #define ALIRSNHISTODEF_H
14 class AliRsnHistoDef : public TObject
19 AliRsnHistoDef(Int_t n, Double_t min, Double_t max);
20 AliRsnHistoDef(Double_t min, Double_t max, Double_t step);
21 virtual ~AliRsnHistoDef() { }
23 Int_t GetNBins() const {return fNBins;}
24 Double_t GetMin() const {return fMin;}
25 Double_t GetMax() const {return fMax;}
27 void SetBins(Int_t n, Double_t min, Double_t max);
28 void SetBins(Double_t min, Double_t max, Double_t step);
32 Int_t fNBins; // number of bins
33 Double_t fMin; // lower edge
34 Double_t fMax; // upper edge
37 ClassDef(AliRsnHistoDef, 1)