|
ACTS
Experiment-independent tracking
|
Implements a 1-dim density grid to be filled with track Gaussian distributions. More...
#include <Acts/Vertexing/GaussianGridTrackDensity.hpp>
Classes | |
| struct | Config |
| The configuration struct. More... | |
Public Types | |
| using | MainGridVector = Eigen::Matrix<float, Eigen::Dynamic, 1> |
| Type alias for main grid vector storing density values along z-axis. | |
| using | TrackGridVector = Eigen::Matrix<float, Eigen::Dynamic, 1> |
| Type alias for track grid vector storing single track density distribution. | |
Public Member Functions | |
| GaussianGridTrackDensity (const Config &cfg) | |
| Constructor with configuration. | |
| std::pair< int, TrackGridVector > | addTrack (const BoundTrackParameters &trk, MainGridVector &mainGrid) const |
| Adds a single track to the overall grid density. | |
| const Config & | config () const |
| Get the configuration object. | |
| Result< float > | getMaxZPosition (MainGridVector &mainGrid) const |
| Returns the z position of maximum track density. | |
| Result< std::pair< float, float > > | getMaxZPositionAndWidth (MainGridVector &mainGrid) const |
| Returns the z position of maximum track density and the estimated width. | |
| void | removeTrackGridFromMainGrid (int zBin, const TrackGridVector &trkGrid, MainGridVector &mainGrid) const |
| Removes a track from the overall grid density. | |
Implements a 1-dim density grid to be filled with track Gaussian distributions.
Each single track is modelled as a 2(!)-dim Gaussian distribution grid in the d0-z0 plane, but only the overlap with the z-axis (i.e. a 1-dim density vector) needs to be calculated. The position of the highest track density (of either a single bin or the sum of a certain region) can be determined. Single tracks can be cached and removed from the overall density.
| using Acts::GaussianGridTrackDensity::MainGridVector = Eigen::Matrix<float, Eigen::Dynamic, 1> |
Type alias for main grid vector storing density values along z-axis.
| using Acts::GaussianGridTrackDensity::TrackGridVector = Eigen::Matrix<float, Eigen::Dynamic, 1> |
Type alias for track grid vector storing single track density distribution.
|
explicit |
Constructor with configuration.
| cfg | Configuration for track density calculation |
| std::pair< int, TrackGridVector > Acts::GaussianGridTrackDensity::addTrack | ( | const BoundTrackParameters & | trk, |
| MainGridVector & | mainGrid ) const |
Adds a single track to the overall grid density.
| trk | The track to be added |
| mainGrid | The main 1-dim density grid along the z-axis |
| const Config & Acts::GaussianGridTrackDensity::config | ( | ) | const |
Get the configuration object.
| Result< float > Acts::GaussianGridTrackDensity::getMaxZPosition | ( | MainGridVector & | mainGrid | ) | const |
Returns the z position of maximum track density.
| mainGrid | The main 1-dim density grid along the z-axis |
| Result< std::pair< float, float > > Acts::GaussianGridTrackDensity::getMaxZPositionAndWidth | ( | MainGridVector & | mainGrid | ) | const |
Returns the z position of maximum track density and the estimated width.
| mainGrid | The main 1-dim density grid along the z-axis |
| void Acts::GaussianGridTrackDensity::removeTrackGridFromMainGrid | ( | int | zBin, |
| const TrackGridVector & | trkGrid, | ||
| MainGridVector & | mainGrid ) const |
Removes a track from the overall grid density.
| zBin | The center z-bin position the track needs to be removed from |
| trkGrid | The 1-dim density contribution of the track |
| mainGrid | The main 1-dim density grid along the z-axis |