115{
116 out <<
m_name <<
": Checks whether the last bin(s) of a histogram exceed the given thresholds.\n"
117 "Mandatory green/red thresholds: Threshold - the thresholds against which the bin contents are compared.\n"
118 "Optional parameter: NBinsToWatch - number of final bins that will be checked. (NBinsToWatch >= 1, default = 1)\n"
119 " The result of the algorithm is the worst-case result of all checked bins.\n"
120 "Optional parameter: NBinsToExceed - minimal number of checked bins that have to exceed the given thresholds\n"
121 " before the corresponding result is returned. (1 <= NBinsToExceed <= NBinsToWatch, default = 1)\n"
122 "Optional parameter: BinMinEntries: Minimum number of entries in a TProfile (1D only) for a bin to be checked against thresolds\n"
123 " If a bin does not have a sufficient number of entries it also will not be printed (default = 0)\n"
124 "Optional parameter: GreaterThan - how the values will be compared. (GreaterThan = {0, 1}, default = 1)\n"
125 " GreaterThan == 0: the given thresholds are lower thresholds. (requires green >= red)\n"
126 " GreaterThan == 1: the given thresholds are upper thresholds. (requires green <= red)\n"
127 "Optional parameter: ValueThresholds - which values will be compared. (ValueThresholds = {0, 1}, default = 0)\n"
128 " ValueThresholds == 0: the thresholds correspond to the bin content.\n"
129 " ValueThresholds == 1: the thresholds correspond to the bin x-axis value.\n"
130 "Optional parameter: GetEntries - how to determine which bin is the last. (GetEntries = {0, 1, 2}, default = 0)\n"
131 " GetEntries == 0: find the rightmost non-zero bin, ignore trailing zero bins.\n"
132 " GetEntries == 1: take the return value of TH1::GetEntries() as the number of the last bin.\n"
133 " GetEntries == 2: take the rightmost bin as the last bin, regardless of the bin content.\n"
134 "Returned value: LastBinNumber - the bin number of the last checked (i. e. non-zero) bin.\n"
135 "Returned value: LastBinCenter - the centre of that bin on the horizontal axis.\n"
136 "Returned value: GreenExceeded - how many bins exceeded the green threshold.\n"
137 "Returned value: RedExceeded - how many bins exceeded the red threshold." << std::endl;
138}