Belle II Software development
|
Strategy to construct discrete impact points from discrete overlap specifications. More...
#include <ImpactRep.h>
Public Member Functions | |
ImpactBinsSpec (double lowerBound, double upperBound, long nBins, int nOverlap, int nWidth) | |
Constructs a specification for equally spaced discrete impactature values with discrete overlap specification. | |
DiscreteImpact::Array | constructArray () const |
Construct the array of discrete impact positions. | |
long | getNPositions () const |
Getter for the number of bounds. | |
double | getBinWidth () const |
Getter for the bin width in real impact to investigate the value that results from the discrete overlap specification. | |
double | getOverlap () const |
Getter for the overlap in real impact to investigate the value that results from the discrete overlap specification. | |
long | 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 impact counted in number of discrete values. | |
int | m_nWidth = 3 |
Width of the leaves at the maximal level in impact counted in number of discrete values. | |
Strategy to construct discrete impact points from discrete overlap specifications.
Definition at line 19 of file ImpactRep.h.
ImpactBinsSpec | ( | double | lowerBound, |
double | upperBound, | ||
long | nBins, | ||
int | nOverlap, | ||
int | nWidth | ||
) |
Constructs a specification for equally spaced discrete impactature 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 ImpactRep.cc.
DiscreteImpact::Array constructArray | ( | ) | const |
Construct the array of discrete impact positions.
Definition at line 26 of file ImpactRep.cc.
double getBinWidth | ( | ) | const |
Getter for the bin width in real impact to investigate the value that results from the discrete overlap specification.
Definition at line 38 of file ImpactRep.cc.
|
inline |
Getter for the overlap in discrete number of positions.
Definition at line 54 of file ImpactRep.h.
long getNPositions | ( | ) | const |
Getter for the number of bounds.
Definition at line 32 of file ImpactRep.cc.
double getOverlap | ( | ) | const |
Getter for the overlap in real impact to investigate the value that results from the discrete overlap specification.
Definition at line 45 of file ImpactRep.cc.
|
private |
Lower bound of the binning range.
Definition at line 61 of file ImpactRep.h.
|
private |
Number of accessible bins.
Definition at line 67 of file ImpactRep.h.
|
private |
Overlap of the leaves in impact counted in number of discrete values.
Definition at line 70 of file ImpactRep.h.
|
private |
Width of the leaves at the maximal level in impact counted in number of discrete values.
Definition at line 73 of file ImpactRep.h.
|
private |
Upper bound of the binning range.
Definition at line 64 of file ImpactRep.h.