![]() |
ATLAS Offline Software
|
Class representing a track reconstructed in AFP. More...
#include <AFPTrack_v2.h>
Public Types | |
| typedef ElementLink< AFPSiHitsClusterContainer > | AFPClusterLink_t |
| Type of a link to the cluster. | |
Public Member Functions | |
| int | stationID () const |
| Index of the station where track was reconstructed. | |
| void | setStationID (int stationID) |
| Set index of the station where track was reconstructed. | |
| float | xLocal () const |
| Track position along X axis in station local coordinate system. | |
| void | setXLocal (float newXLocal) |
| Set track position along X axis in station local coordinate system. | |
| float | yLocal () const |
| Track position along Y axis in station local coordinate system. | |
| void | setYLocal (float newYLocal) |
| Set track coordinate along Y axis in station local coordinate system. | |
| float | zLocal () const |
| Track position along Z axis in station local coordinate system. | |
| void | setZLocal (float newZLocal) |
| Set track coordinate along Z axis in station local coordinate system. | |
| float | xSlope () const |
| Slope of the reconstructed track along X axis in local coordinate system. | |
| void | setXSlope (float newXSlope) |
| Set slope of the reconstructed track along X axis in local coordinate system. | |
| float | ySlope () const |
| Slope of the reconstructed track along Y axis in local coordinate system. | |
| void | setYSlope (float newYSlope) |
| Set slope of the reconstructed track along Y axis in local coordinate system. | |
| unsigned int | nHoles () const |
| Number of empty layers that the track passes through. | |
| void | setNHoles (unsigned int nHoles) |
| Set number of empty pixels that the track passes through. | |
| int | nClusters () const |
| Number of clusters used to reconstruct the track. | |
| void | setNClusters (int nClusters) |
| Set number of clusters used to reconstruct the track. | |
| const std::vector< AFPClusterLink_t > & | clusters () const |
| Vector of links to clusters that were used to reconstruct the track. | |
| void | setClusters (const std::vector< AFPClusterLink_t > &newClustersVector) |
| Set vector of links to clusters used for track reconstruction. | |
| void | addCluster (const AFPClusterLink_t &newCluster) |
| Add a link to a cluster used to reconstruct the track. | |
| float | chi2 () const |
| \(\chi^2\) value of the track fit to the selected clusters. | |
| void | setChi2 (float newFChi2) |
| Set \(\chi^2\) value of the track fit to the selected clusters. | |
| int | algID () const |
| Identification number of the algorithm used to reconstruct the track. | |
| void | setAlgID (int newIAlgID) |
| Set reconstruction algorithm identification number. | |
| void | toPersistent () |
| Function making sure that the object is ready for persistification i.e. saving. | |
Class representing a track reconstructed in AFP.
This class provides access to the information about tracks that were reconstructed using AFP information.
Definition at line 36 of file AFPTrack_v2.h.
Type of a link to the cluster.
Definition at line 40 of file AFPTrack_v2.h.
| void xAOD::AFPTrack_v2::addCluster | ( | const AFPClusterLink_t & | newCluster | ) |
Add a link to a cluster used to reconstruct the track.
A new link to the cluster is added to the existing vector of links to the clusters used to reconstruct the track.
| newCluster | link to the cluster used to reconstruct the track |
Definition at line 38 of file AFPTrack_v2.cxx.
| int xAOD::AFPTrack_v2::algID | ( | ) | const |
Identification number of the algorithm used to reconstruct the track.
It is advised to use class xAOD::AFPTrackRecoAlgID instead of integers to process this information. In this class the numbering scheme is explained.
| float xAOD::AFPTrack_v2::chi2 | ( | ) | const |
\(\chi^2\) value of the track fit to the selected clusters.
This value gives information about how well the fitted track lays on the selected clusters.
| const std::vector< AFPClusterLink_t > & xAOD::AFPTrack_v2::clusters | ( | ) | const |
Vector of links to clusters that were used to reconstruct the track.
This method provides access to the clusters that were used to reconstruct the track via ElementLink object.
| int xAOD::AFPTrack_v2::nClusters | ( | ) | const |
Number of clusters used to reconstruct the track.
Number of empty layers that the track passes through.
Number of layers that are expected to be hit, because track goes through them, but which are considered to be not fired.
| void xAOD::AFPTrack_v2::setAlgID | ( | int | newIAlgID | ) |
Set reconstruction algorithm identification number.
It is advised to use class xAOD::AFPTrackRecoAlgID instead of integers to process this information. In this class the numbering scheme is explained.
| newIAlgID | identification number of the algorithm used to reconstruct the track |
| void xAOD::AFPTrack_v2::setChi2 | ( | float | newFChi2 | ) |
Set \(\chi^2\) value of the track fit to the selected clusters.
| newFChi2 | \(\chi^2\) value of the track fit to the selected clusters |
| void xAOD::AFPTrack_v2::setClusters | ( | const std::vector< AFPClusterLink_t > & | newClustersVector | ) |
Set vector of links to clusters used for track reconstruction.
| newClustersVector | vector of links to clusters used for track reconstruction |
| void xAOD::AFPTrack_v2::setNClusters | ( | int | nClusters | ) |
Set number of empty pixels that the track passes through.
Number of layers that are expected to be hit, because track goes through them, but which are considered to be not fired.
| nHoles | number of empty pixels that the track passes through |
| void xAOD::AFPTrack_v2::setStationID | ( | int | stationID | ) |
Set index of the station where track was reconstructed.
It is advised to use class xAOD::AFPStationID instead of integers to process this information. In this class the numbering scheme is explained.
| stationID | index of the station where track was reconstructed |
| void xAOD::AFPTrack_v2::setXLocal | ( | float | newXLocal | ) |
Set track position along X axis in station local coordinate system.
| newXLocal | track coordinate along X axis in station local coordinate system |
| void xAOD::AFPTrack_v2::setXSlope | ( | float | newXSlope | ) |
Set slope of the reconstructed track along X axis in local coordinate system.
Difference between X position of the first and last cluster used to reconstruct track divided by their distance in Z direction.
\[ \textrm{xSlope} = \frac{x_{\textrm{end}} - x_{\textrm{begin}}} {z_{\textrm{end}} - z_{\textrm{begin}}} \]
| newXSlope | slope of the track along X axis in local coordinate system |
| void xAOD::AFPTrack_v2::setYLocal | ( | float | newYLocal | ) |
Set track coordinate along Y axis in station local coordinate system.
@copydetail xAOD::AFPTrack_v2::xLocal()
| newYLocal | track position along Y axis in station local coordinate system |
| void xAOD::AFPTrack_v2::setYSlope | ( | float | newYSlope | ) |
Set slope of the reconstructed track along Y axis in local coordinate system.
Difference between Y position of the first and last cluster used to reconstruct track divided by their distance in Z direction.
\[ \textrm{ySlope} = \frac{y_{\textrm{end}} - y_{\textrm{begin}}} {z_{\textrm{end}} - z_{\textrm{begin}}} \]
| newYSlope | slope of the track along Y axis in local coordinate system |
| void xAOD::AFPTrack_v2::setZLocal | ( | float | newZLocal | ) |
Set track coordinate along Z axis in station local coordinate system.
This is the position of the beginning of the track i.e. closest to the interaction point. Usually in the first pixel plane.
| newYLocal | track coordinate along Z axis in station local coordinate system |
| int xAOD::AFPTrack_v2::stationID | ( | ) | const |
Index of the station where track was reconstructed.
It is advised to use class xAOD::AFPStationID instead of integers to process this information. In this class the numbering scheme is explained.
| void xAOD::AFPTrack_v2::toPersistent | ( | ) |
Function making sure that the object is ready for persistification i.e. saving.
Definition at line 43 of file AFPTrack_v2.cxx.
| float xAOD::AFPTrack_v2::xLocal | ( | ) | const |
Track position along X axis in station local coordinate system.
This is the position of the beginning of the track i.e. closest to the interaction point. Usually in the first pixel plane.
| float xAOD::AFPTrack_v2::xSlope | ( | ) | const |
Slope of the reconstructed track along X axis in local coordinate system.
Difference between X position of the first and last cluster used to reconstruct track divided by their distance in Z direction.
\[ \textrm{xSlope} = \frac{x_{\textrm{end}} - x_{\textrm{begin}}} {z_{\textrm{end}} - z_{\textrm{begin}}} \]
| float xAOD::AFPTrack_v2::yLocal | ( | ) | const |
Track position along Y axis in station local coordinate system.
@copydetail xAOD::AFPTrack_v2::xLocal()
| float xAOD::AFPTrack_v2::ySlope | ( | ) | const |
Slope of the reconstructed track along Y axis in local coordinate system.
Difference between Y position of the first and last cluster used to reconstruct track divided by their distance in Z direction.
\[ \textrm{ySlope} = \frac{y_{\textrm{end}} - y_{\textrm{begin}}} {z_{\textrm{end}} - z_{\textrm{begin}}} \]
| float xAOD::AFPTrack_v2::zLocal | ( | ) | const |
Track position along Z axis in station local coordinate system.
This is the position of the beginning of the track i.e. closest to the interaction point. Usually in the first pixel plane.