![]() |
ATLAS Offline Software
|
Auxiliary to TileMuonFitter. 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. | |
| virtual | ~TileMuonTrackDistance () |
| virtual double | operator() (const std::vector< double > &) const override |
| Provides Chi-square in function of parameter vector. | |
| virtual double | Up () const override |
| void | Means () |
| Calculates means (weighted or not) of cell positions. | |
| double | Distance2SinglePoint (double x, double y, double z, const std::vector< double > &par) const |
| Returns squared distance from point to track defined by par. | |
| CLHEP::Hep3Vector | ClosestPoint (CLHEP::Hep3Vector *dataPoint, const std::vector< double > &par) const |
| Returns point in track defined by par closest to dataPoint. | |
| double | GetMeanX () |
| X mean getter. | |
| double | GetMeanY () |
| Y mean getter. | |
| double | GetMeanZ () |
| Z mean getter. | |
| void | SetWeighted (bool weight) |
| Set weight/no-weight flag. | |
| bool | GetWeighted () |
| Get weight/no-weight flag. | |
Private Attributes | |
| std::vector< double > | m_theX |
| Vector of cell center X coordinates. | |
| std::vector< double > | m_theY |
| Vector of cell center Y coordinates. | |
| std::vector< double > | m_theZ |
| Vector of cell center Z coordinates. | |
| std::vector< double > | m_theE |
| Vector of cell energies. | |
| bool | m_doWeighted |
| Weight/no-weight flag. | |
| 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 42 of file TileMuonTrackDistance.h.
|
inline |
Constructor.
Definition at line 47 of file TileMuonTrackDistance.h.
|
inlinevirtual |
Definition at line 52 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 |
|
inline |
|
inline |
|
inline |
Get weight/no-weight flag.
Definition at line 86 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 |
|
inlineoverridevirtual |
Definition at line 57 of file TileMuonTrackDistance.h.
|
private |
Weight/no-weight flag.
Definition at line 101 of file TileMuonTrackDistance.h.
|
private |
Definition at line 103 of file TileMuonTrackDistance.h.
|
private |
Definition at line 104 of file TileMuonTrackDistance.h.
|
private |
Definition at line 105 of file TileMuonTrackDistance.h.
|
private |
Vector of cell energies.
Definition at line 98 of file TileMuonTrackDistance.h.
|
private |
Vector of cell center X coordinates.
Definition at line 92 of file TileMuonTrackDistance.h.
|
private |
Vector of cell center Y coordinates.
Definition at line 94 of file TileMuonTrackDistance.h.
|
private |
Vector of cell center Z coordinates.
Definition at line 96 of file TileMuonTrackDistance.h.