Belle II Software development
|
Strategy to construct discrete curve points from discrete overlap specifications. More...
#include <CurvRep.h>
Public Member Functions | |
CurvBinsSpec (double lowerBound, double upperBound, long nBins, int nOverlap, int nWidth) | |
Constructs a specification for equally spaced discrete curvature values with discrete overlap specification. | |
DiscreteCurv::Array | constructArray () const |
Construct the array of discrete curve positions. | |
DiscreteCurv::Array | constructInvLinearArray () const |
Construct the array of discrete curve positions such that the inverse curvatures are distributed equally. | |
DiscreteCurv::Array | constructLinearArray () const |
Construct the array of discrete curve positions such that the curvatures are distributed equally. | |
DiscreteCurvWithArcLength2DCache::Array | constructCacheArray () const |
Construct the array of discrete curve positions including cache for the two dimensional arc length. | |
long | getNPositions () const |
Getter for the number of bounds. | |
double | getBinWidth () const |
Getter for the bin width in real curve to investigate the value that results from the discrete overlap specification. | |
double | getOverlap () const |
Getter for the overlap in real curve to investigate the value that results from the discrete overlap specification. | |
int | getNOverlap () const |
Getter for the overlap in discrete number of positions. | |
Private Attributes | |
double | m_lowerBound |
Lower bound of the binning range. | |
double | m_upperBound |
Upper bound of the binning range. | |
long | m_nBins |
Number of accessible bins. | |
int | m_nOverlap = 1 |
Overlap of the leaves in curve counted in number of discrete values. | |
int | m_nWidth = 3 |
Width of the leaves at the maximal level in curve counted in number of discrete values. | |
Strategy to construct discrete curve points from discrete overlap specifications.
CurvBinsSpec | ( | double | lowerBound, |
double | upperBound, | ||
long | nBins, | ||
int | nOverlap, | ||
int | nWidth | ||
) |
Constructs a specification for equally spaced discrete curvature values with discrete overlap specification.
lowerBound | Lower bound of the value range |
upperBound | Upper bound of the value range |
nBins | Total number of final bins to be constructed |
nWidth | Number of discrete values in each bin (counted semi open [start, stop)). |
nOverlap | Number of discrete values that overlapping bins have in common (counted semi open [start, stop)). |
Definition at line 15 of file CurvRep.cc.
|
inline |
Construct the array of discrete curve positions.
Definition at line 40 of file CurvRep.h.
DiscreteCurvWithArcLength2DCache::Array constructCacheArray | ( | ) | const |
Construct the array of discrete curve positions including cache for the two dimensional arc length.
Definition at line 76 of file CurvRep.cc.
DiscreteCurv::Array constructInvLinearArray | ( | ) | const |
Construct the array of discrete curve positions such that the inverse curvatures are distributed equally.
Definition at line 41 of file CurvRep.cc.
DiscreteCurv::Array constructLinearArray | ( | ) | const |
Construct the array of discrete curve positions such that the curvatures are distributed equally.
Definition at line 26 of file CurvRep.cc.
double getBinWidth | ( | ) | const |
Getter for the bin width in real curve to investigate the value that results from the discrete overlap specification.
Definition at line 94 of file CurvRep.cc.
|
inline |
Getter for the overlap in discrete number of positions.
long getNPositions | ( | ) | const |
Getter for the number of bounds.
Definition at line 87 of file CurvRep.cc.
double getOverlap | ( | ) | const |
Getter for the overlap in real curve to investigate the value that results from the discrete overlap specification.
Definition at line 109 of file CurvRep.cc.
|
private |
|
private |
|
private |
|
private |