ATLAS Offline Software
Namespaces | Functions
TrackParticlexAODHelpers.h File Reference
#include "xAODTracking/TrackParticle.h"
#include "xAODTracking/Vertex.h"
#include <cmath>
Include dependency graph for TrackParticlexAODHelpers.h:

Go to the source code of this file.

Namespaces

 xAOD
 ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
 
 xAOD::TrackingHelpers
 

Functions

double xAOD::TrackingHelpers::sqr (double a)
 convenience method to calculate the square of a value. More...
 
double xAOD::TrackingHelpers::d0significance (const xAOD::TrackParticle *tp)
 Get the impact parameter significance of a track particle in the r-phi plane. More...
 
double xAOD::TrackingHelpers::d0significanceUnsafe (const xAOD::TrackParticle *tp)
 Unsafe version of d0significance. More...
 
double xAOD::TrackingHelpers::d0UncertaintyBeamSpot2 (double track_phi0, double beam_sigma_x, double beam_sigma_y, double beam_sigma_xy)
 calculate the squared d0 uncertainty component due to the size of the beam spot. More...
 
double xAOD::TrackingHelpers::d0significance (const xAOD::TrackParticle *tp, double beam_sigma_x, double beam_sigma_y, double beam_sigma_xy)
 Get the impact parameter significance of a track particle in the r-phi plane where the d0 uncertainty takes the finite beamspot width into account. More...
 
double xAOD::TrackingHelpers::d0significanceUnsafe (const xAOD::TrackParticle *tp, double beam_sigma_x, double beam_sigma_y, double beam_sigma_xy)
 Unsafe version of d0significance with beam spot uncertainty. More...
 
double xAOD::TrackingHelpers::z0significance (const xAOD::TrackParticle *tp, const xAOD::Vertex *vx=NULL)
 Get the impact parameter significance of a track particle in the z direction. More...
 
double xAOD::TrackingHelpers::z0significanceUnsafe (const xAOD::TrackParticle *tp)
 Unsafe version of z0significance. More...
 
double xAOD::TrackingHelpers::z0significanceUnsafe (const xAOD::TrackParticle *tp, const xAOD::Vertex *vx)
 Unsafe version of z0significance, which uses z0 relative to a given primary vertex. More...
 
bool xAOD::TrackingHelpers::hasValidCov (const xAOD::TrackParticle *tp)
 Check whether the given track particle is valid and has a covariance matrix of the defining parameters. More...
 
bool xAOD::TrackingHelpers::hasValidCovD0 (const xAOD::TrackParticle *tp)
 Check whether the given track particle is valid and has a valid d0 uncertainty. More...
 
bool xAOD::TrackingHelpers::hasValidCovZ0 (const xAOD::TrackParticle *tp)
 Check whether the given track particle is valid and has a valid z0 uncertainty. More...
 
bool xAOD::TrackingHelpers::hasValidCovD0andZ0 (const xAOD::TrackParticle *tp)
 Check whether the given track particle is valid and has a valid d0 and z0 uncertainty. More...
 
bool xAOD::TrackingHelpers::checkPVReference (const xAOD::TrackParticle *tp, const xAOD::Vertex *vx, const double max_pv_dxy_sqr=0.5 *0.5)
 test whether the given primary vertex has a significant displacement in r-phi wrt. More...
 
bool xAOD::TrackingHelpers::checkBeamSpotSigma (double beam_sigma_x, double beam_sigma_y, double beam_sigma_xy)
 check that the beamspot covariance matrix is valid More...
 
double xAOD::TrackingHelpers::pTErr2 (const xAOD::TrackParticle *tp)
 compute the uncertainty of pt squared. More...
 
double xAOD::TrackingHelpers::pTErr (const xAOD::TrackParticle *tp)
 compute the uncertainty of pt. More...
 
double xAOD::TrackingHelpers::pTErr2Unsafe (const xAOD::TrackParticle *tp)
 compute the uncertainty of pt squared. More...
 
double xAOD::TrackingHelpers::pTErrUnsafe (const xAOD::TrackParticle *tp)
 compute the uncertainty of pt. More...
 
bool xAOD::TrackingHelpers::hasValidCovQoverP (const xAOD::TrackParticle *tp)
 return true if the covariance matrix of the defining parameters is set, has enough elements and the q/p is valid More...