|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef MuonCalib_DataBinH
10 #define MuonCalib_DataBinH
44 DataBin(
const std::vector<DataPoint>& points,
const double & epsilon);
76 const std::vector<DataPoint> &
dataPoints(
void)
const;
98 void setPoints(
const std::vector<DataPoint> & points);
Amg::VectorX m_bin_centre
Eigen::Matrix< double, Eigen::Dynamic, 1 > VectorX
Dynamic Vector - dynamic allocation.
double density(void) const
get the data point density in the bin
Amg::VectorX m_upper_boundaries
Amg::VectorX m_centre_of_gravity
void addPointAndResize(const DataPoint &point, const double &epsilon)
add the data point to the bin; the bin will be resized if the point does not fit into the bin; the up...
const Amg::VectorX & centreOfGravity(void) const
get the centre of gravity of the data points
unsigned int numberOfDataPoints(void) const
get the number of data points
DataBin * splitBin(const unsigned int &ref_coord)
divide the bin into two of equal content; splitting is done along the coordinate ref_coord; the metho...
const Amg::VectorX & centreOfBin(void) const
get the centre of the bin
DataBin(void)
Default constructor. Give a bin with 0 content and no extensions.
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
bool addPoint(const DataPoint &point)
add the data point to the bin if possible; returns true if the point can be added,...
const Amg::VectorX & standardDeviations(void) const
get the standard deviations of the data points from the centre of gravity in all dimensions
void setPoints(const std::vector< DataPoint > &points)
fill the bin with the given points; the use of this method is highly discouraged, it is needed for th...
const Amg::VectorX & upperbinBoundaries(void) const
get the upper boundaries of the bin
const std::vector< DataPoint > & dataPoints(void) const
get the data points filling this bin
Amg::VectorX m_standard_deviations
const Amg::VectorX & lowerBinBoundaries(void) const
get the lower boundaries of the bin
std::vector< DataPoint > m_points
Amg::VectorX m_lower_boundaries