Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MDTCALIBDATA_SAMPLEPOINTUTILS_H
5 #define MDTCALIBDATA_SAMPLEPOINTUTILS_H
29 const IRtResolution& resoFunc);
35 const IRtRelation& rtRel);
50 std::vector<SamplePoint>
normalizeDomain(
const std::vector<SamplePoint>& dataPoints);
52 double calculateChi2(
const std::vector<SamplePoint>& dataPoints,
53 const IRtRelation& rtRel);
54 double calculateChi2(
const std::vector<SamplePoint>& dataPoints,
55 const ITrRelation& trRel);
56 double calculateChi2(
const std::vector<SamplePoint>& dataPoints,
57 const IRtResolution& rtReso);
61 std::pair<double, double>
minMax(
const std::vector<SamplePoint>&
points);
63 std::pair<double, double>
interval(
const std::vector<SamplePoint>&
points);
std::vector< SamplePoint > normalizeDomain(const std::vector< SamplePoint > &dataPoints)
Normalizes the domain of the samples points to the interval -1 to 1.
std::vector< SamplePoint > fetchResolution(const std::vector< SamplePoint > &points, const double uncert)
Creates a new vector of sample points where the x2 is assigned to the uncertainty and the uncertainty...
double calculateChi2(const std::vector< SamplePoint > &dataPoints, const IRtRelation &rtRel)
Returns the chi2 of the rt-relation w.r.t.
std::pair< double, double > interval(const std::vector< SamplePoint > &points)
Returns the interval covered by the sample points.
std::pair< double, double > minMax(const std::vector< SamplePoint > &points)
Returns the minimum & maximum values covered by the sample points.
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
std::vector< SamplePoint > fetchDataPoints(const IRtRelation &rtRel, const double relUnc)
Constructs a list of sample points from the rt-relation.
std::vector< SamplePoint > swapCoordinates(const std::vector< SamplePoint > &points, const IRtRelation &rtRel)
Creates a new vector of samples points with x1 exchanged by x2 and vice-versa.
std::vector< SamplePoint > resoFromRadius(const std::vector< SamplePoint > &points, const double uncert)
Creates a new vector of sample points where the x2 coordinate becomes the x1 coordinate and the resol...