![]() |
ATLAS Offline Software
|
Class representing a cluster of AFP pixel hits. More...
#include <AFPSiHitsCluster_v1.h>
Public Types | |
| typedef ElementLink< AFPSiHitContainer > | AFPHitLink_t |
| Type of a link to the hit. | |
Public Member Functions | |
| int | stationID () const |
| Index of the station with pixels cluster. | |
| void | setStationID (int stationID) |
| Set index of the station with pixel hit. | |
| int | pixelLayerID () const |
| Index of the silicon layer with the cluster. | |
| void | setPixelLayerID (int layerID) |
| Method setting index of the detector layer with the cluster. | |
| float | xLocal () const |
| Cluster position along X axis in station local coordinate system. | |
| void | setXLocal (float newXLocal) |
| Set cluster position along X axis in station local coordinate system. | |
| float | xLocalErr () const |
| Uncertainty of cluster position along X axis in station local coordinate system. | |
| void | setXLocalErr (float newXLocalErr) |
| Set uncertainty of cluster position along X axis in station local coordinate system. | |
| float | yLocal () const |
| Cluster position along Y axis in station local coordinate system. | |
| void | setYLocal (float newYLocal) |
| Set cluster position along Y axis in station local coordinate system. | |
| float | yLocalErr () const |
| Uncertainty of cluster position along Y axis in station local coordinate system. | |
| void | setYLocalErr (float newYLocalErr) |
| Set uncertainty of cluster position along Y axis in station local coordinate system. | |
| float | zLocal () const |
| Cluster position along Z axis in station local coordinate system. | |
| void | setZLocal (float newZLocal) |
| Set cluster position along Z axis in station local coordinate system. | |
| float | zLocalErr () const |
| Uncertainty of cluster position along Z axis in station local coordinate system. | |
| void | setZLocalErr (float newZLocalErr) |
| Set uncertainty of cluster position along Z axis in station local coordinate system. | |
| float | depositedCharge () const |
| Total charge of the cluster. | |
| void | setDepositedCharge (float charge) |
| Method setting total charge of the cluster. | |
| int | nHits () const |
| Number of fired pixels (hits) in cluster. | |
| void | setNHits (int nPixels) |
| Set number of fired pixels (hits) in the cluster. | |
| const std::vector< AFPHitLink_t > & | hitsLinks () const |
| Vector of links to pixels that were used to construct the cluster. | |
| void | setHitsLinks (const std::vector< AFPHitLink_t > &newHitsVector) |
| Set vector of links to pixels used to construct the cluster. | |
| void | addHitLink (const AFPHitLink_t &newHit) |
| Add a link to a pixel in this cluster. | |
| int | clusterAlgID () const |
| Identification number of the algorithm used to cluster pixels. | |
| void | setClusterAlgID (int newIAlgID) |
| Set ID number of the clustering algorithm. | |
| void | toPersistent () |
| Function making sure that the object is ready for persistification i.e. saving. | |
Class representing a cluster of AFP pixel hits.
Definition at line 31 of file AFPSiHitsCluster_v1.h.
Type of a link to the hit.
Definition at line 35 of file AFPSiHitsCluster_v1.h.
| void xAOD::AFPSiHitsCluster_v1::addHitLink | ( | const AFPHitLink_t & | newHit | ) |
Add a link to a pixel in this cluster.
A new link to the hit is added to the existing vector of links to the pixels in this cluster.
| newHit | link to the pixel used to construct this cluster. |
Definition at line 40 of file AFPSiHitsCluster_v1.cxx.
| int xAOD::AFPSiHitsCluster_v1::clusterAlgID | ( | ) | const |
Identification number of the algorithm used to cluster pixels.
The following coding is used.
| ID | Algorithm | Comments |
|---|---|---|
| 0 | no clustering - one hit per clusetr |
| float xAOD::AFPSiHitsCluster_v1::depositedCharge | ( | ) | const |
Total charge of the cluster.
The method of calculation depends on used algorithm.
| const std::vector< AFPHitLink_t > & xAOD::AFPSiHitsCluster_v1::hitsLinks | ( | ) | const |
Vector of links to pixels that were used to construct the cluster.
This method provides access to the hits (pixels) that were used to reconstruct the cluster via ElementLink object.
| int xAOD::AFPSiHitsCluster_v1::nHits | ( | ) | const |
Number of fired pixels (hits) in cluster.
| int xAOD::AFPSiHitsCluster_v1::pixelLayerID | ( | ) | const |
Index of the silicon layer with the cluster.
It is advised to use class xAOD::AFPPixelLayerID instead of integers to process this information. In this class the numbering scheme is explained.
| void xAOD::AFPSiHitsCluster_v1::setClusterAlgID | ( | int | newIAlgID | ) |
Set ID number of the clustering algorithm.
| newIAlgID | identification number of the algorithm used to cluster hits |
| void xAOD::AFPSiHitsCluster_v1::setDepositedCharge | ( | float | charge | ) |
Method setting total charge of the cluster.
| charge | value of the cluster charge |
| void xAOD::AFPSiHitsCluster_v1::setHitsLinks | ( | const std::vector< AFPHitLink_t > & | newHitsVector | ) |
Set vector of links to pixels used to construct the cluster.
| newHitsVector | vector of links to pixels used to construct the cluster. |
| void xAOD::AFPSiHitsCluster_v1::setNHits | ( | int | nPixels | ) |
Set number of fired pixels (hits) in the cluster.
| void xAOD::AFPSiHitsCluster_v1::setPixelLayerID | ( | int | layerID | ) |
Method setting index of the detector layer with the cluster.
It is advised to use class xAOD::AFPPixelLayerID instead of integers to process this information. In this class the numbering scheme is explained.
| layerID | index of the pixel layer with the cluster |
| void xAOD::AFPSiHitsCluster_v1::setStationID | ( | int | stationID | ) |
Set index of the station with pixel hit.
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 with the hit |
| void xAOD::AFPSiHitsCluster_v1::setXLocal | ( | float | newXLocal | ) |
Set cluster position along X axis in station local coordinate system.
| void xAOD::AFPSiHitsCluster_v1::setXLocalErr | ( | float | newXLocalErr | ) |
Set uncertainty of cluster position along X axis in station local coordinate system.
| void xAOD::AFPSiHitsCluster_v1::setYLocal | ( | float | newYLocal | ) |
Set cluster position along Y axis in station local coordinate system.
| void xAOD::AFPSiHitsCluster_v1::setYLocalErr | ( | float | newYLocalErr | ) |
Set uncertainty of cluster position along Y axis in station local coordinate system.
| void xAOD::AFPSiHitsCluster_v1::setZLocal | ( | float | newZLocal | ) |
Set cluster position along Z axis in station local coordinate system.
| void xAOD::AFPSiHitsCluster_v1::setZLocalErr | ( | float | newZLocalErr | ) |
Set uncertainty of cluster position along Z axis in station local coordinate system.
| int xAOD::AFPSiHitsCluster_v1::stationID | ( | ) | const |
Index of the station with pixels cluster.
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::AFPSiHitsCluster_v1::toPersistent | ( | ) |
Function making sure that the object is ready for persistification i.e. saving.
Definition at line 45 of file AFPSiHitsCluster_v1.cxx.
| float xAOD::AFPSiHitsCluster_v1::xLocal | ( | ) | const |
Cluster position along X axis in station local coordinate system.
| float xAOD::AFPSiHitsCluster_v1::xLocalErr | ( | ) | const |
Uncertainty of cluster position along X axis in station local coordinate system.
| float xAOD::AFPSiHitsCluster_v1::yLocal | ( | ) | const |
Cluster position along Y axis in station local coordinate system.
| float xAOD::AFPSiHitsCluster_v1::yLocalErr | ( | ) | const |
Uncertainty of cluster position along Y axis in station local coordinate system.
| float xAOD::AFPSiHitsCluster_v1::zLocal | ( | ) | const |
Cluster position along Z axis in station local coordinate system.
| float xAOD::AFPSiHitsCluster_v1::zLocalErr | ( | ) | const |
Uncertainty of cluster position along Z axis in station local coordinate system.