2 // Class AliRsnHistoDef
4 // Definition for a histogram type.
5 // Since one could do an analysis which is not an invariant mass
6 // the histogram definition should be more flexible, and it is stored
7 // separately in a new class.
8 // This class considers the possibility of a 1D or 2D histograms
9 // with its related binning, and can create a new histo from his definitions
15 #include "AliRsnHistoDef.h"
17 ClassImp(AliRsnHistoDef)
19 //_____________________________________________________________________________
20 AliRsnHistoDef::AliRsnHistoDef() :
26 // Default constructor
30 //_____________________________________________________________________________
31 AliRsnHistoDef::AliRsnHistoDef
32 (Int_t nbins, Double_t min, Double_t max) :
38 // 1D histo definition.
40 SetBins(nbins, min, max);
43 //_____________________________________________________________________________
44 void AliRsnHistoDef::SetBins(Int_t n, Double_t min, Double_t max)
47 // Binning for histogram.