 |
Belle II Software
release-05-02-19
|
29 class Chi2MinimumFinder1D {
51 Minimum(
double pos,
double err,
double chi2_min,
bool valid_flag):
85 void add(
unsigned i,
double chi2);
153 TH1F
getHistogram(std::string name, std::string title)
const;
175 std::vector<double>
m_x;
176 std::vector<double>
m_chi2;
Minimum m_minimum
result: global minimum
bool valid
valid minimum found
void findMinimum()
Finds minimum.
TH1F getHistogram(std::string name, std::string title) const
Returns chi^2 packed into 1D histogram.
std::vector< double > m_chi2
chi^2 values at bin centers
int getEntries() const
Returns number of entries (counted for bin 0)
const std::vector< double > & getBinCenters() const
Returns vector of bin centers.
double position
position of the minimum
double getXmax() const
Returns upper limit of search region.
Minimum finder using tabulated chi^2 values in one dimension.
const std::vector< double > & getChi2Values() const
Returns vector of chi^2.
Result of minimum finder.
const Minimum & getMinimum()
Returns parabolic minimum.
Abstract base class for different kinds of events.
int m_entries
number of entries (counted for bin 0)
Chi2MinimumFinder1D()
Default constructor.
std::vector< double > m_x
bin centers
double error
error on the position
double m_xmax
upper limit of search region
void add(unsigned i, double chi2)
Add chi^2 value to bin i.
double getBinSize() const
Returns bin (or step) size.
double m_xmin
lower limit of search region
void clear()
Set chi^2 values to zero.
double getXmin() const
Returns lower limit of search region.
int getNbins() const
Returns number of bins.
double chi2
chi2 at minimum
bool m_searched
internal flag
Minimum()
Default constructor.