![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
25 #include "Minuit2/FCNBase.h"
26 #include "CLHEP/Vector/ThreeVector.h"
41 class TileMuonTrackDistance:
public FCNBase {
47 const std::vector<double>&
E)
55 virtual double operator()(
const std::vector<double>&)
const;
56 virtual double Up()
const {
65 CLHEP::Hep3Vector
ClosestPoint(CLHEP::Hep3Vector *dataPoint,
const std::vector<double>&
par)
const;
91 std::vector<double>
m_theX;
93 std::vector<double>
m_theY;
95 std::vector<double>
m_theZ;
97 std::vector<double>
m_theE;
bool GetWeighted()
Get weight/no-weight flag.
double GetMeanX()
X mean getter.
virtual double Up() const
bool m_doWeighted
Weight/no-weight flag.
std::vector< double > m_theZ
Vector of cell center Z coordinates.
virtual ~TileMuonTrackDistance()
double Distance2SinglePoint(double x, double y, double z, const std::vector< double > &par) const
Returns squared distance from point to track defined by par.
void SetWeighted(bool weight)
Set weight/no-weight flag.
std::vector< double > m_theE
Vector of cell energies.
TileMuonTrackDistance(const std::vector< double > &X, const std::vector< double > &Y, const std::vector< double > &Z, const std::vector< double > &E)
Constructor.
double GetMeanZ()
Z mean getter.
virtual double operator()(const std::vector< double > &) const
Provides Chi-square in function of parameter vector.
void Means()
Calculates means (weighted or not) of cell positions.
std::vector< double > m_theY
Vector of cell center Y coordinates.
double GetMeanY()
Y mean getter.
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.