![]() |
Project
|
Clusterizing algorithm for MID. More...
#include <Clusterizer.h>
Public Member Functions | |
| bool | init (std::function< void(size_t, size_t)> func=[](size_t, size_t) {}) |
| void | process (gsl::span< const PreCluster > preClusters, bool accumulate=false) |
| void | process (gsl::span< const PreCluster > preClusters, gsl::span< const ROFRecord > rofRecords) |
| const std::vector< Cluster > & | getClusters () |
| Gets the vector of reconstructed clusters. | |
| const std::vector< ROFRecord > & | getROFRecords () |
| Gets the vector of clusters RO frame records. | |
Clusterizing algorithm for MID.
Definition at line 37 of file Clusterizer.h.
|
inline |
Gets the vector of reconstructed clusters.
Definition at line 55 of file Clusterizer.h.
|
inline |
Gets the vector of clusters RO frame records.
Definition at line 58 of file Clusterizer.h.
| bool o2::mid::Clusterizer::init | ( | std::function< void(size_t, size_t)> | func = [](size_t, size_t) {} | ) |
Initializes the clusterizer
| func | Function to associate the cluster index with the corresponding pre-clusters |
Definition at line 176 of file Clusterizer.cxx.
| void o2::mid::Clusterizer::process | ( | gsl::span< const PreCluster > | preClusters, |
| bool | accumulate = false |
||
| ) |
Builds the clusters from the pre-clusters in one event
| preClusters | gsl::span of PreClusters objects in the same event |
| accumulate | Flag to decide if one needs to reset the output clusters at each event |
Definition at line 51 of file Clusterizer.cxx.
| void o2::mid::Clusterizer::process | ( | gsl::span< const PreCluster > | preClusters, |
| gsl::span< const ROFRecord > | rofRecords | ||
| ) |
Builds the clusters from the pre-clusters in the timeframe
| preClusters | gsl::span of PreClusters objects in the timeframe |
| rofRecords | RO frame records |
Definition at line 65 of file Clusterizer.cxx.