|
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()
const;
Amg::VectorX m_bin_centre
unsigned int numberOfDataPoints() const
get the number of data points
Eigen::Matrix< double, Eigen::Dynamic, 1 > VectorX
Dynamic Vector - dynamic allocation.
Amg::VectorX m_upper_boundaries
double density() const
get the data point density in the bin
Amg::VectorX m_centre_of_gravity
const std::vector< DataPoint > & dataPoints() const
get the data points filling this bin
const Amg::VectorX & upperbinBoundaries() const
get the upper boundaries of the bin
const Amg::VectorX & standardDeviations() const
get the standard deviations of the data points from the centre of gravity in all dimensions
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 & lowerBinBoundaries() const
get the lower boundaries of the bin
const Amg::VectorX & centreOfBin() const
get the centre of the bin
const Amg::VectorX & centreOfGravity() const
get the centre of gravity of the data points
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...
DataBin()
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,...
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...
Amg::VectorX m_standard_deviations
std::vector< DataPoint > m_points
Amg::VectorX m_lower_boundaries