![]() |
ATLAS Offline Software
|
Class representing a vertex reconstructed in AFP. More...
#include <AFPVertex_v1.h>
Public Types | |
| typedef ElementLink< AFPProtonContainer > | AFPProtonLink_t |
| Type of a link to the proton. | |
| typedef ElementLink< AFPToFTrackContainer > | AFPToFTrackLink_t |
| Type of a link to the tofTrack. | |
Public Member Functions | |
| float | position () const |
| Vertex position . | |
| void | setPosition (float newPosition) |
| Set vertex position. | |
| const std::vector< AFPProtonLink_t > & | protons () const |
| Vector of links to protons that were used to reconstruct vertex. | |
| void | setProtons (const std::vector< AFPProtonLink_t > &newProtonsVector) |
| Set vector of links to protons used for vertex reconstruction. | |
| void | addProton (const AFPProtonLink_t &newProton) |
| Add a link to a proton used to reconstruct the vertex. | |
| const std::vector< AFPToFTrackLink_t > & | tofTracks () const |
| Vector of links to ToFTracks that were used to reconstruct vertex. | |
| void | setToFTracks (const std::vector< AFPToFTrackLink_t > &newToFTracksVector) |
| Set vector of links to ToFTracks used for vertex reconstruction. | |
| void | addToFTrack (const AFPToFTrackLink_t &newToFTrack) |
| Add a link to a ToFTrack used to reconstruct the vertex. | |
| float | distA () const |
| Distance of the proton to the selected ToFTracks. | |
| float | distC () const |
| void | setDistA (float newDistA) |
| Set \(\chi^2\) value of the prootn fit to the selected ToFTracks. | |
| void | setDistC (float newDistC) |
| int | algID () const |
| Identification number of the algorithm used to reconstruct the vertex. | |
| 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 vertex reconstructed in AFP.
This class provides access to the information about vertices that were reconstructed using AFP information.
Definition at line 40 of file AFPVertex_v1.h.
Type of a link to the proton.
Definition at line 45 of file AFPVertex_v1.h.
Type of a link to the tofTrack.
Definition at line 48 of file AFPVertex_v1.h.
| void xAOD::AFPVertex_v1::addProton | ( | const AFPProtonLink_t & | newProton | ) |
Add a link to a proton used to reconstruct the vertex.
A new link to the proton is added to the existing vector of links to the protons used to reconstruct the vertex.
| newProton | link to the proton used to reconstruct the vertex |
Definition at line 37 of file AFPVertex_v1.cxx.
| void xAOD::AFPVertex_v1::addToFTrack | ( | const AFPToFTrackLink_t & | newToFTrack | ) |
Add a link to a ToFTrack used to reconstruct the vertex.
A new link to the ToFTrack is added to the existing vector of links to the ToFTrackss used to reconstruct the vertex.
| newToFTrack | link to the ToFTrack used to reconstruct the vertex |
Definition at line 46 of file AFPVertex_v1.cxx.
| int xAOD::AFPVertex_v1::algID | ( | ) | const |
Identification number of the algorithm used to reconstruct the vertex.
The following coding is used.
| ID | Algorithm | Comments |
|---|---|---|
| 0 | Basic algorithm |
| float xAOD::AFPVertex_v1::distA | ( | ) | const |
Distance of the proton to the selected ToFTracks.
This value gives information about how well the proton trajectory matches on the selected ToFTracks.
return distance of the track to the selected ToFTrack
| float xAOD::AFPVertex_v1::distC | ( | ) | const |
| float xAOD::AFPVertex_v1::position | ( | ) | const |
Vertex position .
@copydetail xAOD::AFPVertex_v1::position()
| const std::vector< AFPProtonLink_t > & xAOD::AFPVertex_v1::protons | ( | ) | const |
Vector of links to protons that were used to reconstruct vertex.
This method provides access to the protons that were used to reconstruct the vertex via ElementLink object.
| void xAOD::AFPVertex_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 vertex |
| void xAOD::AFPVertex_v1::setDistA | ( | float | newDistA | ) |
Set \(\chi^2\) value of the prootn fit to the selected ToFTracks.
| newFChi2 | \(\chi^2\) value of the proton fit to the selected ToFTrackss |
| void xAOD::AFPVertex_v1::setDistC | ( | float | newDistC | ) |
| void xAOD::AFPVertex_v1::setPosition | ( | float | newPosition | ) |
| void xAOD::AFPVertex_v1::setProtons | ( | const std::vector< AFPProtonLink_t > & | newProtonsVector | ) |
Set vector of links to protons used for vertex reconstruction.
| newProtonsVector | vector of links to protons used for vertex reconstruction |
| void xAOD::AFPVertex_v1::setToFTracks | ( | const std::vector< AFPToFTrackLink_t > & | newToFTracksVector | ) |
Set vector of links to ToFTracks used for vertex reconstruction.
| newToFTracksVector | vector of links to ToFTracks used for vertex reconstruction |
| const std::vector< AFPToFTrackLink_t > & xAOD::AFPVertex_v1::tofTracks | ( | ) | const |
Vector of links to ToFTracks that were used to reconstruct vertex.
This method provides access to the ToFTracks that were used to reconstruct the vertex via ElementLink object.
| void xAOD::AFPVertex_v1::toPersistent | ( | ) |
Function making sure that the object is ready for persistification i.e. saving.
Definition at line 54 of file AFPVertex_v1.cxx.