ATLAS Offline Software
|
Auxiliary to TileMuonFitter. Chi-square function for Minuit. More...
#include <TileMuonTrackDistance.h>
Public Member Functions | |
TileMuonTrackDistance (const std::vector< double > &X, const std::vector< double > &Y, const std::vector< double > &Z, const std::vector< double > &E) | |
Constructor. More... | |
virtual | ~TileMuonTrackDistance () |
virtual double | operator() (const std::vector< double > &) const override |
Provides Chi-square in function of parameter vector. More... | |
virtual double | Up () const override |
void | Means () |
Calculates means (weighted or not) of cell positions. More... | |
double | Distance2SinglePoint (double x, double y, double z, const std::vector< double > &par) const |
Returns squared distance from point to track defined by par. More... | |
CLHEP::Hep3Vector | ClosestPoint (CLHEP::Hep3Vector *dataPoint, const std::vector< double > &par) const |
Returns point in track defined by par closest to dataPoint. More... | |
double | GetMeanX () |
X mean getter. More... | |
double | GetMeanY () |
Y mean getter. More... | |
double | GetMeanZ () |
Z mean getter. More... | |
void | SetWeighted (bool weight) |
Set weight/no-weight flag. More... | |
bool | GetWeighted () |
Get weight/no-weight flag. More... | |
Private Attributes | |
std::vector< double > | m_theX |
Vector of cell center X coordinates. More... | |
std::vector< double > | m_theY |
Vector of cell center Y coordinates. More... | |
std::vector< double > | m_theZ |
Vector of cell center Z coordinates. More... | |
std::vector< double > | m_theE |
Vector of cell energies. More... | |
bool | m_doWeighted |
Weight/no-weight flag. More... | |
double | m_meanX |
double | m_meanY |
double | m_meanZ |
Auxiliary to TileMuonFitter. Chi-square function for Minuit.
This class is auxiliary to TileMuonFitter. Provides sum of squared orthogonal distances from cells to track. Implemented as a FCNBase in order to be called directly by Minuit.
Definition at line 70 of file TileMuonTrackDistance.h.
|
inlinevirtual |
Definition at line 80 of file TileMuonTrackDistance.h.
Hep3Vector ROOT::Minuit2::TileMuonTrackDistance::ClosestPoint | ( | CLHEP::Hep3Vector * | dataPoint, |
const std::vector< double > & | par | ||
) | const |
Returns point in track defined by par closest to dataPoint.
Definition at line 93 of file TileMuonTrackDistance.cxx.
double ROOT::Minuit2::TileMuonTrackDistance::Distance2SinglePoint | ( | double | x, |
double | y, | ||
double | z, | ||
const std::vector< double > & | par | ||
) | const |
Returns squared distance from point to track defined by par.
Definition at line 84 of file TileMuonTrackDistance.cxx.
|
inline |
X mean getter.
Definition at line 97 of file TileMuonTrackDistance.h.
|
inline |
Y mean getter.
Definition at line 101 of file TileMuonTrackDistance.h.
|
inline |
Z mean getter.
Definition at line 105 of file TileMuonTrackDistance.h.
|
inline |
Get weight/no-weight flag.
Definition at line 114 of file TileMuonTrackDistance.h.
void ROOT::Minuit2::TileMuonTrackDistance::Means | ( | ) |
Calculates means (weighted or not) of cell positions.
Definition at line 28 of file TileMuonTrackDistance.cxx.
|
overridevirtual |
Provides Chi-square in function of parameter vector.
Definition at line 62 of file TileMuonTrackDistance.cxx.
|
inline |
Set weight/no-weight flag.
Definition at line 110 of file TileMuonTrackDistance.h.
|
inlineoverridevirtual |
Definition at line 85 of file TileMuonTrackDistance.h.
|
private |
Weight/no-weight flag.
Definition at line 129 of file TileMuonTrackDistance.h.
|
private |
Definition at line 131 of file TileMuonTrackDistance.h.
|
private |
Definition at line 132 of file TileMuonTrackDistance.h.
|
private |
Definition at line 133 of file TileMuonTrackDistance.h.
|
private |
Vector of cell energies.
Definition at line 126 of file TileMuonTrackDistance.h.
|
private |
Vector of cell center X coordinates.
Definition at line 120 of file TileMuonTrackDistance.h.
|
private |
Vector of cell center Y coordinates.
Definition at line 122 of file TileMuonTrackDistance.h.
|
private |
Vector of cell center Z coordinates.
Definition at line 124 of file TileMuonTrackDistance.h.