![]() |
ATLAS Offline Software
|
#include <AFPFastReco.h>
Public Member Functions | |
| AFPFastReco (const xAOD::AFPSiHitContainer *hits) | |
| Constructor. Sets input hit container. | |
| void | reco () |
| Performs fast reconstruction of clusters and tracks. | |
| const std::vector< AFPCluster > & | clusters () const |
| Returns vector of clusters. | |
| const std::vector< AFPTrack > & | tracks () const |
| Returns vector of tracks. | |
Private Member Functions | |
| void | recoClusters () |
| Performs fast cluster reconstruction. | |
| void | recoTracks () |
| Performs fast track reconstruction. | |
| std::pair< double, double > | linReg (const std::vector< std::pair< double, double > > &YX) const |
| Returns parameters of fitted line. | |
| template<class T> | |
| std::vector< T > | findAround (T init, std::list< T > &toJoin) const |
| Finds hits/clusters around given init element. | |
| bool | areNeighbours (const xAOD::AFPSiHit *lhs, const xAOD::AFPSiHit *rhs) const |
| Checks if given hits are neighbours. | |
| bool | areNeighbours (const AFPCluster &lhs, const AFPCluster &rhs) const |
| Checks if given clusters are neighbours. | |
Private Attributes | |
| const xAOD::AFPSiHitContainer * | m_hitContainer |
| Pointer to hit container. | |
| std::vector< AFPCluster > | m_clusters |
| Vector of clusters. | |
| std::vector< AFPTrack > | m_tracks |
| Vector of tracks. | |
Static Private Attributes | |
| static constexpr int | s_afpStations = 4 |
| Number of AFP stations. | |
| static constexpr int | s_afpLayers = 4 |
| Number of layers in each station. | |
| static constexpr int | s_trackSize = 3 |
| Minimum number of clusters in track. | |
| static constexpr float | s_clusterDistance = 0.4 |
| Maximum distance between cluster. | |
Definition at line 50 of file AFPFastReco.h.
|
inline |
Constructor. Sets input hit container.
Definition at line 54 of file AFPFastReco.h.
|
private |
Checks if given clusters are neighbours.
Definition at line 139 of file AFPFastReco.cxx.
|
private |
Checks if given hits are neighbours.
Definition at line 129 of file AFPFastReco.cxx.
|
inline |
Returns vector of clusters.
Definition at line 60 of file AFPFastReco.h.
|
private |
Finds hits/clusters around given init element.
Definition at line 107 of file AFPFastReco.h.
|
private |
Returns parameters of fitted line.
Definition at line 99 of file AFPFastReco.cxx.
| void AFPMon::AFPFastReco::reco | ( | ) |
Performs fast reconstruction of clusters and tracks.
Definition at line 16 of file AFPFastReco.cxx.
|
private |
Performs fast cluster reconstruction.
Definition at line 22 of file AFPFastReco.cxx.
|
private |
Performs fast track reconstruction.
Definition at line 66 of file AFPFastReco.cxx.
|
inline |
|
private |
Vector of clusters.
Definition at line 89 of file AFPFastReco.h.
|
private |
Pointer to hit container.
Definition at line 86 of file AFPFastReco.h.
|
private |
Vector of tracks.
Definition at line 92 of file AFPFastReco.h.
|
staticconstexprprivate |
Number of layers in each station.
Definition at line 98 of file AFPFastReco.h.
|
staticconstexprprivate |
Number of AFP stations.
Definition at line 95 of file AFPFastReco.h.
|
staticconstexprprivate |
Maximum distance between cluster.
Definition at line 104 of file AFPFastReco.h.
|
staticconstexprprivate |
Minimum number of clusters in track.
Definition at line 101 of file AFPFastReco.h.