ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
IExtendTrackToLayerTool::TrackExtension Struct Reference

Helper struct to hold track extrapolation information. More...

#include <IExtendTrackToLayerTool.h>

Collaboration diagram for IExtendTrackToLayerTool::TrackExtension:

Public Member Functions

bool isValid () const
 Whether or not the track crossed the layer. More...
 

Public Attributes

double eta {-std::numeric_limits<double>::infinity()}
 The extrapolated eta. More...
 
double phi {-std::numeric_limits<double>::infinity()}
 The extrapolated phi. More...
 

Detailed Description

Helper struct to hold track extrapolation information.

Note that the extrapolation could decide that the given track never reaches the requested layer, in which case phi and eta will be -inf

Definition at line 26 of file IExtendTrackToLayerTool.h.

Member Function Documentation

◆ isValid()

bool IExtendTrackToLayerTool::TrackExtension::isValid ( ) const
inline

Whether or not the track crossed the layer.

Definition at line 33 of file IExtendTrackToLayerTool.h.

34  {
35  return std::isfinite(phi) && std::isfinite(eta);
36  }

Member Data Documentation

◆ eta

double IExtendTrackToLayerTool::TrackExtension::eta {-std::numeric_limits<double>::infinity()}

The extrapolated eta.

Definition at line 29 of file IExtendTrackToLayerTool.h.

◆ phi

double IExtendTrackToLayerTool::TrackExtension::phi {-std::numeric_limits<double>::infinity()}

The extrapolated phi.

Definition at line 31 of file IExtendTrackToLayerTool.h.


The documentation for this struct was generated from the following file:
IExtendTrackToLayerTool::TrackExtension::eta
double eta
The extrapolated eta.
Definition: IExtendTrackToLayerTool.h:29
IExtendTrackToLayerTool::TrackExtension::phi
double phi
The extrapolated phi.
Definition: IExtendTrackToLayerTool.h:31