1 #ifndef CombineTools_BinByBin_h
2 #define CombineTools_BinByBin_h
100 bbb_threshold_ = val;
108 merge_threshold_ = val;
133 poisson_errors_ = poisson_errors;
141 merge_zero_bins_ = merge;
149 merge_saturated_bins_ = merge;
166 std::string pattern_;
168 double bbb_threshold_;
169 double merge_threshold_;
171 bool poisson_errors_;
172 bool merge_zero_bins_;
173 bool merge_saturated_bins_;
Merges bin uncertainties and creates bin-by-bin statistical uncertainties.
BinByBinFactory & SetAddThreshold(double val)
Set the fractional bin error threshold for bin-by-bin creation and for participation in the merging a...
unsigned GetVerbosity()
Getter functions for class attributes.
BinByBinFactory & SetFixNorm(bool fix)
Whether or not the bin-by-bin systematics are allowed to vary the process normalisation.
BinByBinFactory & SetPattern(std::string const &pattern)
The pattern-string for the systematic naming convention.
BinByBinFactory & SetMergeZeroBins(bool merge)
Set whether bins with zero content can participate in the merging procedure.
void MergeBinErrors(CombineHarvester &cb)
Merges histogram bin errors between processes.
BinByBinFactory & SetMergeSaturatedBins(bool merge)
Set whether bins with error >= content participate in the merging procedure.
BinByBinFactory & SetPoissonErrors(bool poisson_errors)
Construct approximate Poisson uncertainties instead of default Gaussian.
BinByBinFactory & SetVerbosity(unsigned verbosity)
By default this class only produces output on the screen when an error occurs, set to a value greater...
void MergeAndAdd(CombineHarvester &src, CombineHarvester &dest)
A convenience function which calls MergeBinErrors and AddBinByBin in turn.
BinByBinFactory & SetMergeThreshold(double val)
The threshold for the merging algorithm.
void AddBinByBin(CombineHarvester &src, CombineHarvester &dest)
Create bin-by-bin shape uncertainties for every process in src, and add these to dest
bool GetMergeSaturatedBins()
double GetMergeThreshold()