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 |
Provides Chi-square in function of parameter vector. More... | |
virtual double | Up () const |
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 69 of file TileMuonTrackDistance.h.
|
inlinevirtual |
Definition at line 79 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 92 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 83 of file TileMuonTrackDistance.cxx.
|
inline |
X mean getter.
Definition at line 96 of file TileMuonTrackDistance.h.
|
inline |
Y mean getter.
Definition at line 100 of file TileMuonTrackDistance.h.
|
inline |
Z mean getter.
Definition at line 104 of file TileMuonTrackDistance.h.
|
inline |
Get weight/no-weight flag.
Definition at line 113 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.
|
virtual |
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 109 of file TileMuonTrackDistance.h.
|
inlinevirtual |
Definition at line 84 of file TileMuonTrackDistance.h.
|
private |
Weight/no-weight flag.
Definition at line 128 of file TileMuonTrackDistance.h.
|
private |
Definition at line 130 of file TileMuonTrackDistance.h.
|
private |
Definition at line 131 of file TileMuonTrackDistance.h.
|
private |
Definition at line 132 of file TileMuonTrackDistance.h.
|
private |
Vector of cell energies.
Definition at line 125 of file TileMuonTrackDistance.h.
|
private |
Vector of cell center X coordinates.
Definition at line 119 of file TileMuonTrackDistance.h.
|
private |
Vector of cell center Y coordinates.
Definition at line 121 of file TileMuonTrackDistance.h.
|
private |
Vector of cell center Z coordinates.
Definition at line 123 of file TileMuonTrackDistance.h.