Loading [MathJax]/extensions/tex2jax.js
|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef INDETTRACKPERFMON_VERTEXPARAMETERSHELPER_H
6 #define INDETTRACKPERFMON_VERTEXPARAMETERSHELPER_H
29 inline float posX(
const V&
v ) {
return v.x(); }
33 inline float posY(
const V&
v ) {
return v.y(); }
37 inline float posZ(
const V&
v ) {
return v.z(); }
52 return accHasValidTime.isAvailable(
v) ? accHasValidTime(
v) : 0;
60 return accTime.isAvailable(
v) ? accTime(
v) : -9999.;
76 return v.covariancePosition()( par1, par2 );
92 return accTimeResol.isAvailable(
v) ? accTimeResol(
v) : -9999.;
100 #endif // > ! INDETTRACKPERFMON_VERTEXPARAMETERSHELPER_H
uint8_t getHasValidTime(const xAOD::TrackParticle &p)
Accessor utility function for getting the track hasValidTime.
float getTime(const xAOD::TrackParticle &p)
Accessor utility function for getting the track time.
Helper class to provide constant type-safe access to aux data.
int getVertexType(const xAOD::Vertex &v)
Accessor utility function for getting the vertex type.
float getTimeErr(const xAOD::Vertex &v)
Accessor utility function for getting the vertex time resolution.
float getCov(const xAOD::TrackParticle &p, Trk::ParamDefs par1, Trk::ParamDefs par2)
Accessor utility function for getting the track parameters covariance.
float getError(const xAOD::TrackParticle &p, Trk::ParamDefs par)
Accessor utility function for getting the track parameters error.
float posY(const V &v)
Accessor utility function for getting the value of vertex position y.
float cov(const U &p, Trk::ParamDefs par1, Trk::ParamDefs par2)
VposDefs
enum for vertex position
float posZ(const V &v)
Accessor utility function for getting the value of vertex position z.
float timeErr(const V &v)
Class describing a truth vertex in the MC record.
float posX(const V &v)
Accessor utility function for getting the value of vertex position x.
float getChiSquared(const xAOD::TrackParticle &p)
Accessor utility function for getting the value of chi^2.
Class describing a Vertex.
int vertexType(const V &v)
float error(const U &p, Trk::ParamDefs par)
float getNdof(const xAOD::TrackParticle &p)
Accessor utility function for getting the value of #dof.