|
ATLAS Offline Software
|
Go to the documentation of this file.
25 #include "Minuit2/FCNBase.h"
27 #include "CLHEP/Vector/ThreeVector.h"
42 class TileMuonTrackDistance:
public FCNBase {
48 const std::vector<double>&
E)
56 virtual double operator()(
const std::vector<double>&)
const override;
57 virtual double Up()
const override {
66 CLHEP::Hep3Vector
ClosestPoint(CLHEP::Hep3Vector *dataPoint,
const std::vector<double>&
par)
const;
92 std::vector<double>
m_theX;
94 std::vector<double>
m_theY;
96 std::vector<double>
m_theZ;
98 std::vector<double>
m_theE;
bool GetWeighted()
Get weight/no-weight flag.
double GetMeanX()
X mean getter.
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.
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.
virtual double Up() const override
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.