9 #ifndef ROOT_TUnfoldBinning 10 #define ROOT_TUnfoldBinning 79 fBinFactorConstant=normalisation; fBinFactorFunction=userFunc; }
94 char const *histogramName,
97 char const *histogramTitle=0);
121 Int_t *isOptionGiven)
const;
127 return (
TVectorD const *)fAxisList->
At(axis); }
129 return ((
TObjString *
const)fAxisLabelList->
At(axis))->GetString(); }
143 Int_t const *axisList)
const;
150 Int_t axisBins[MAXDIM])
const;
154 Int_t *binMap)
const;
const TUnfoldBinning * GetBinLocation(Int_t binTHxx, const char *axisSteering, Int_t axisBins[MAXDIM]) const
TUnfoldBinning const * GetChildNode(void) const
TUnfoldBinning * parentNode
TH1 * CreateHistogram(const char *histogramName, Bool_t originalAxisBinning=kFALSE, Int_t **binMap=0, const char *histogramTitle=0, const char *axisSteering=0) const
TH2D * CreateErrorMatrixHistogram(const char *histogramName, Bool_t originalAxisBinning, Int_t **binMap=0, const char *histogramTitle=0, const char *axisSteering=0) const
virtual Double_t GetDistributionBinCenter(Int_t axis, Int_t bin) const
const TUnfoldBinning * GetNonemptyNode(void) const
Collectable string class.
TUnfoldBinning * childNode
virtual Double_t GetDistributionAverageBinSize(Int_t axis, Bool_t includeUnderflow, Bool_t includeOverflow) const
Int_t * CreateBinMap(const TH1 *hist, Int_t nDim, const Int_t *axisList, const char *axisSteering) const
TString BuildHistogramTitle2D(const char *histogramName, const char *histogramTitle, Int_t xAxis, const TUnfoldBinning *yAxisBinning, Int_t yAxis) const
TUnfoldBinning const * ToAxisBins(Int_t globalBin, Int_t *axisBins) const
Double_t GetBinSize(Int_t iBin) const
TUnfoldBinning * nextNode
void GetBinNeighbours(Int_t globalBin, Int_t axis, Int_t *prev, Double_t *distPrev, Int_t *next, Double_t *distNext) const
void GetBinUnderflowOverflowStatus(Int_t iBin, Int_t *uStatus, Int_t *oStatus) const
void PrintStream(std::ostream &out, Int_t indent=0) const
TObject * At(Int_t idx) const
Int_t GetTHxxBinning(Int_t maxDim, Int_t *axisBins, Int_t *axisList, const char *axisSteering) const
virtual ~TUnfoldBinning(void)
TUnfoldBinning const * GetNextNode(void) const
Int_t UpdateFirstLastBin(Bool_t startWithRootNode=kTRUE)
Double_t fBinFactorConstant
const TUnfoldBinning * GetBinLocationRecursive(Int_t &offset, const char *axisSteering, Int_t axisBins[MAXDIM]) const
static const double x2[5]
Int_t GetEndBin(void) const
#define ClassDef(name, id)
Int_t ToGlobalBin(Int_t const *axisBins) const
The TNamed class is the base class for all named ROOT classes.
TObjArray * fAxisLabelList
void Initialize(Int_t nBins)
Int_t GetStartBin(void) const
TVectorD const * GetDistributionBinning(Int_t axis) const
Int_t GetDistributionDimension(void) const
TUnfoldBinning const * GetParentNode(void) const
TH1 * ExtractHistogram(const char *histogramName, const TH1 *globalBins, const TH2 *globalBinsEmatrix=0, Bool_t originalAxisBinning=kTRUE, const char *axisSteering=0) const
Bool_t AddAxis(const char *name, Int_t nBins, const Double_t *binBorders, Bool_t hasUnderflow, Bool_t hasOverflow)
void DecodeAxisSteering(const char *axisSteering, const char *options, Int_t *isOptionGiven) const
void SetBinFactorFunction(Double_t normalisation, TF1 *userFunc=0)
Service class for 2-Dim histogram classes.
Class to manage histogram axis.
virtual Double_t GetDistributionUnderflowBinWidth(Int_t axis) const
Int_t GetEntriesFast() const
TUnfoldBinning const * GetPrevNode(void) const
static void indent(ostringstream &buf, int indent_level)
static TH2D * CreateHistogramOfMigrations(TUnfoldBinning const *xAxis, TUnfoldBinning const *yAxis, char const *histogramName, Bool_t originalXAxisBinning=kFALSE, Bool_t originalYAxisBinning=kFALSE, char const *histogramTitle=0)
This class serves as a container of analysis bins analysis bins are specified by defining the axes of...
TString GetDistributionAxisLabel(Int_t axis) const
static const double x1[5]
TUnfoldBinning * prevNode
Int_t GetDistributionNumberOfBins(void) const
Int_t FillBinMapSingleNode(const TH1 *hist, Int_t startBin, Int_t nDim, const Int_t *axisList, const char *axisSteering, Int_t *binMap) const
#define TUnfold_CLASS_VERSION
Int_t GetGlobalBinNumber(Double_t x) const
TString GetBinName(Int_t iBin) const
you should not use this method at all Int_t Int_t z
Int_t GetTH1xNumberOfBins(Bool_t originalAxisBinning=kTRUE, const char *axisSteering=0) const
Int_t FillBinMapRecursive(Int_t startBin, const char *axisSteering, Int_t *binMap) const
Bool_t HasUnconnectedBins(void) const
virtual Double_t GetDistributionOverflowBinWidth(Int_t axis) const
TUnfoldBinning(const char *name=0, Int_t nBins=0, const char *binNames=0)
Int_t GetTHxxBinningSingleNode(Int_t maxDim, Int_t *axisBins, Int_t *axisList, const char *axisSteering) const
TString BuildHistogramTitle(const char *histogramName, const char *histogramTitle, Int_t const *axisList) const
Int_t GetTHxxBinsRecursive(const char *axisSteering) const
TUnfoldBinning * GetRootNode(void)
TUnfoldBinning * AddBinning(TUnfoldBinning *binning)
TUnfoldBinning const * FindNode(char const *name) const
virtual Double_t GetBinFactor(Int_t iBin) const
static const double x3[11]
tomato 2-D histogram with a double per channel (see TH1 documentation)}