xAOD::AFPTrack_v1 Class Reference

Class representing a track reconstructed in AFP. More...

#include <AFPTrack_v1.h>

Inheritance diagram for xAOD::AFPTrack_v1:
SG::AuxElement SG::IAuxElement

List of all members.

Public Types

typedef ElementLink
< AFPSiHitContainer
AFPHitLink_t
 Type of a link to the hit.

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.
int nHoles () const
 Number of empty pixels that the track passes through.
void setNHoles (int nHoles)
 Set number of empty pixels that the track passes through.
int nHits () const
 Number of pixels used to reconstruct the track.
void setNHits (int nHits)
 Set number of pixels used to reconstruct the track.
const std::vector< AFPHitLink_t > & hits () const
 Vector of links to pixels that were used to reconstruct the track.
void setHits (const std::vector< AFPHitLink_t > &newHitsVector)
 Set vector of links to pixels used for track reconstruction.
void addHit (const AFPHitLink_t &newHit)
 Add a link to a pixel used to reconstruct the track.
float chi2 () const
 $\chi^2$ value of the track fit to the selected pixels.
void setChi2 (float newFChi2)
 Set $\chi^2$ value of the track fit to the selected pixels.
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.

Detailed Description

Class representing a track reconstructed in AFP.

This class provides access to the information about tracks that were reconstructed using AFP information.


Member Function Documentation

void xAOD::AFPTrack_v1::addHit ( const AFPHitLink_t newHit  ) 

Add a link to a pixel used to reconstruct the track.

A new link to the hit is added to the existing vector of links to the pixels used to reconstruct the track.

Parameters:
newHit link to the pixel used to reconstruct the track
int xAOD::AFPTrack_v1::algID (  )  const

Identification number of the algorithm used to reconstruct the track.

The following coding is used.

| ID | Algorithm | Comments | | :-: | ---------------------- | -------- | | 0 | Basic Kalman algorithm | |

Returns:
identification number of the algorithm used to reconstruct the track
float xAOD::AFPTrack_v1::chi2 (  )  const

$\chi^2$ value of the track fit to the selected pixels.

This value gives information about how well the fitted track lays on the selected pixels.

Returns:
$\chi^2$ value of the track fit to the selected pixels
const std::vector<AFPHitLink_t>& xAOD::AFPTrack_v1::hits (  )  const

Vector of links to pixels that were used to reconstruct the track.

This method provides access to the pixels that were used to reconstruct the track via ElementLink object.

Note:
* It can be checked if the link is active using method ElementLink::isValid() * A pointer to the xAOD::AFPSiHit object can be retrieved using asterisk operator e.g.
 {.cpp}
   xAOD::AFPSiHit* hit = *(hits().at(0));
Returns:
int xAOD::AFPTrack_v1::nHits (  )  const

Number of pixels used to reconstruct the track.

Returns:
number of pixels used to reconstruct the track.
int xAOD::AFPTrack_v1::nHoles (  )  const

Number of empty pixels that the track passes through.

Number of pixels that are expected to be hit, because track goes through them, but which are considered to be not fired.

Returns:
Number of empty pixels that the track passes through
void xAOD::AFPTrack_v1::setAlgID ( int  newIAlgID  ) 

Set reconstruction algorithm identification number.

The following coding is used.| ID | Algorithm | Comments | | :-: | ---------------------- | -------- | | 0 | Basic Kalman algorithm | |

Returns:
identification number of the algorithm used to reconstruct the track

Parameters:
newIAlgID identification number of the algorithm used to reconstruct the track
void xAOD::AFPTrack_v1::setChi2 ( float  newFChi2  ) 

Set $\chi^2$ value of the track fit to the selected pixels.

Parameters:
newFChi2 $\chi^2$ value of the track fit to the selected pixels
void xAOD::AFPTrack_v1::setHits ( const std::vector< AFPHitLink_t > &  newHitsVector  ) 

Set vector of links to pixels used for track reconstruction.

Parameters:
newHitsVector vector of links to pixels used for track reconstruction
void xAOD::AFPTrack_v1::setNHits ( int  nHits  ) 

Set number of pixels used to reconstruct the track.

Parameters:
nHits number of pixels used to reconstruct the track
void xAOD::AFPTrack_v1::setNHoles ( int  nHoles  ) 

Set number of empty pixels that the track passes through.

Number of pixels that are expected to be hit, because track goes through them, but which are considered to be not fired.

Returns:
Number of empty pixels that the track passes through

Parameters:
nHoles number of empty pixels that the track passes through
void xAOD::AFPTrack_v1::setStationID ( int  stationID  ) 

Set index of the station where track was reconstructed.

Stations indexing follows the scheme| Station ID | Station Name | Station Position | | :--------: | ------------------- | ---------------- | | 0 | far station A side | z = 217 m | | 1 | near station A side | z = 205 m | | 2 | near station C side | z = -205 m | | 3 | far station C side | z = -217 m |

Returns:
index of the station

Parameters:
stationID index of the station where track was reconstructed
void xAOD::AFPTrack_v1::setXLocal ( float  newXLocal  ) 

Set track position along X axis in station local coordinate system.

Parameters:
newXLocal track coordinate along X axis in station local coordinate system
void xAOD::AFPTrack_v1::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 hit 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}}} \]

Parameters:
newXSlope slope of the track along X axis in local coordinate system
void xAOD::AFPTrack_v1::setYLocal ( float  newYLocal  ) 

Set track coordinate along Y axis in station local coordinate system.

xAOD::AFPTrack_v1::xLocal()

Parameters:
newYLocal track position along Y axis in station local coordinate system
void xAOD::AFPTrack_v1::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 hit 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}}} \]

Parameters:
newYSlope slope of the track along Y axis in local coordinate system
void xAOD::AFPTrack_v1::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.

Parameters:
newYLocal track coordinate along Z axis in station local coordinate system
int xAOD::AFPTrack_v1::stationID (  )  const

Index of the station where track was reconstructed.

Stations indexing follows the scheme| Station ID | Station Name | Station Position | | :--------: | ------------------- | ---------------- | | 0 | far station A side | z = 217 m | | 1 | near station A side | z = 205 m | | 2 | near station C side | z = -205 m | | 3 | far station C side | z = -217 m |

Returns:
index of the station

float xAOD::AFPTrack_v1::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_v1::xSlope (  )  const

Slope of the reconstructed track along X axis in local coordinate system.

Difference between X position of the first and last hit 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_v1::yLocal (  )  const

Track position along Y axis in station local coordinate system.

xAOD::AFPTrack_v1::xLocal()

float xAOD::AFPTrack_v1::ySlope (  )  const

Slope of the reconstructed track along Y axis in local coordinate system.

Difference between Y position of the first and last hit 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_v1::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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1