|
ATLAS Offline Software
|
Go to the documentation of this file.
23 using CLHEP::Hep3Vector;
31 int ncells =
m_theX.size();
34 for (
int i = 0;
i < ncells;
i++) {
50 for (
int i = 0;
i < ncells;
i++) {
65 std::vector<double> fourPar;
68 fourPar.push_back(
par[0]);
70 fourPar.push_back(
par[1]);
85 const std::vector<double>&
par)
const {
87 Hep3Vector dataP(
x,
y,
z);
90 return (dataP - lineP).mag2();
104 xort = dataPoint->getX() + bb * (dataPoint->getY() -
aa) +
dd * (dataPoint->getZ() -
cc);
105 xort /= (1 + bb * bb +
dd *
dd);
106 linePoint.setX(xort);
107 linePoint.setY(
aa + bb * xort);
108 linePoint.setZ(
cc +
dd * xort);
bool m_doWeighted
Weight/no-weight flag.
std::vector< double > m_theZ
Vector of cell center Z coordinates.
double Distance2SinglePoint(double x, double y, double z, const std::vector< double > &par) const
Returns squared distance from point to track defined by par.
std::vector< double > m_theE
Vector of cell energies.
void Means()
Calculates means (weighted or not) of cell positions.
std::vector< double > m_theY
Vector of cell center Y coordinates.
CLHEP::Hep3Vector ClosestPoint(CLHEP::Hep3Vector *dataPoint, const std::vector< double > &par) const
Returns point in track defined by par closest to dataPoint.
std::vector< double > m_theX
Vector of cell center X coordinates.
virtual double operator()(const std::vector< double > &) const override
Provides Chi-square in function of parameter vector.
Selection rules: declare transient members.