![]() |
ATLAS Offline Software
|
Class representing a track reconstructed in AFP ToF. More...
#include <AFPToFTrack_v1.h>
Public Types | |
| typedef ElementLink< AFPToFHitContainer > | AFPToFHitLink_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 | trainTime () const |
| Track local time. | |
| void | setTrainTime (float newTrainTime) |
| Set track time. | |
| int | trainID () const |
| Track train ID. | |
| void | setTrainID (int newTrainID) |
| Set track train id(position). | |
| int | trainSize () const |
| Track train size. | |
| void | setTrainSize (int newTrainSize) |
| Set track train size. | |
| int | trainNSat () const |
| number of saturated bars in the train | |
| void | setTrainNSat (int newTrainNSat) |
| Set slope of the reconstructed track along X axis in local coordinate system. | |
| const std::vector< AFPToFHitLink_t > & | hits () const |
| Vector of links to bars that were used to reconstruct the track. | |
| void | setHits (const std::vector< AFPToFHitLink_t > &newHitsVector) |
| Set vector of links to bars used for track reconstruction. | |
| void | addBar (const AFPToFHitLink_t &newHit) |
| Add a link to a bar used to reconstruct the track. | |
| 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 ToF.
This class provides access to the information about tracks that were reconstructed using AFP ToF information.
Definition at line 35 of file AFPToFTrack_v1.h.
Type of a link to the hit.
Definition at line 39 of file AFPToFTrack_v1.h.
| void xAOD::AFPToFTrack_v1::addBar | ( | const AFPToFHitLink_t & | newHit | ) |
Add a link to a bar used to reconstruct the track.
A new link to the hit is added to the existing vector of links to the bars used to reconstruct the track.
| newHit | link to the pixel used to reconstruct the track |
Definition at line 34 of file AFPToFTrack_v1.cxx.
| int xAOD::AFPToFTrack_v1::algID | ( | ) | const |
Identification number of the algorithm used to reconstruct the track.
The following coding is used.
| ID | Algorithm | Comments |
|---|---|---|
| 0 | Basic algorithm |
| const std::vector< AFPToFHitLink_t > & xAOD::AFPToFTrack_v1::hits | ( | ) | const |
Vector of links to bars that were used to reconstruct the track.
This method provides access to the bar that were used to reconstruct the track via ElementLink object.
| void xAOD::AFPToFTrack_v1::setAlgID | ( | int | newIAlgID | ) |
Set reconstruction algorithm identification number.
The following coding is used.
| ID | Algorithm | Comments |
|---|---|---|
| 0 | Basic algorithm |
| newIAlgID | identification number of the algorithm used to reconstruct the track |
| void xAOD::AFPToFTrack_v1::setHits | ( | const std::vector< AFPToFHitLink_t > & | newHitsVector | ) |
Set vector of links to bars used for track reconstruction.
| newHitsVector | vector of links to bars used for track reconstruction |
| void xAOD::AFPToFTrack_v1::setStationID | ( | int | stationID | ) |
Set index of the station where track was reconstructed.
The numbering scheme is the same as in xAOD::AFPStationID. It is recommended to use this class instead of bare numbers.
| stationID | index of the station where track was reconstructed |
| void xAOD::AFPToFTrack_v1::setTrainID | ( | int | newTrainID | ) |
Set track train id(position).
| newTrainID | track train ID(position) |
| void xAOD::AFPToFTrack_v1::setTrainNSat | ( | int | newTrainNSat | ) |
Set slope of the reconstructed track along X axis in local coordinate system.
| newTrainNSat | number of saturated bars in the train |
| void xAOD::AFPToFTrack_v1::setTrainSize | ( | int | newTrainSize | ) |
Set track train size.
| newTrainSize | track train size |
| void xAOD::AFPToFTrack_v1::setTrainTime | ( | float | newTrainTime | ) |
Set track time.
| newTrainTime |
| int xAOD::AFPToFTrack_v1::stationID | ( | ) | const |
Index of the station where track was reconstructed.
The numbering scheme is the same as in xAOD::AFPStationID. It is recommended to use this class instead of bare numbers.
| void xAOD::AFPToFTrack_v1::toPersistent | ( | ) |
Function making sure that the object is ready for persistification i.e. saving.
Definition at line 39 of file AFPToFTrack_v1.cxx.
| int xAOD::AFPToFTrack_v1::trainID | ( | ) | const |
Track train ID.
@copydetail xAOD::AFPToFTrack_v1::TrainID()
| int xAOD::AFPToFTrack_v1::trainNSat | ( | ) | const |
number of saturated bars in the train