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 virtual ~AliRsnHistoDef() { }
22 Int_t GetNBins() const {return fNBins;}
23 Double_t GetMin() const {return fMin;}
24 Double_t GetMax() const {return fMax;}
26 void SetBins(Int_t n, Double_t min, Double_t max);
30 Int_t fNBins; // number of bins
31 Double_t fMin; // lower edge
32 Double_t fMax; // upper edge
35 ClassDef(AliRsnHistoDef, 1)