| HerdSoftware
    0.3.2
    | 
Algorithm that clusters the Monte Carlo FIT detector hits. algorithms/clustering/FitClusteringAlgo.h. More...
#include <FitClusteringAlgo.h>
 
  
 | Public Member Functions | |
| FitClusteringAlgo (const std::string &name) | |
| Constructor.  More... | |
| bool | Initialize () override | 
| Initialization of the algorithm.  More... | |
| bool | Process () override | 
| Process a single event.  More... | |
| std::vector< std::string > | FreeObjects (const std::vector< std::string > &objs, Memory::Status memStatus) override | 
| Free the memory of unneeded objects.  More... | |
| Private Member Functions | |
| std::vector< Cluster > | _Clusterize (std::vector< Hit > &hits, const FitGeoParams &geoParams) | 
| std::vector< Cluster > | _Clusterize (std::vector< Hit > &hits, const FitGeoParams &geoParams, const FitChannelInfo &channelInfo) | 
| Private Attributes | |
| float | _snThreshold | 
| float | _snSeed | 
| FitClustersColl | _fitClustersColl | 
| observer_ptr< FitGeoParamsColl > | _fitGeoParamsColl | 
| observer_ptr< FitChannelInfoColl > | _fitChannelInfoColl | 
| StorePtr | _evStore | 
| StorePtr | _globStore | 
| bool | _hasChannelInfo = false | 
Algorithm that clusters the Monte Carlo FIT detector hits. algorithms/clustering/FitClusteringAlgo.h.
This algorithm creates clusters starting from the channel hits in the FIT detector. A cluster is defined as a group of contiguous channels above a given S/N level, including at least one channel (the seed channel) above a given, higher S/N level. When the FitChannelInfo collection is missing the algorithm falls back to a simple clustering based on the EDep value of the hits, marking the highest in a consecutive set as the cluster seed.
| name | type | store | optional | description | 
|---|---|---|---|---|
| fitHitsCollADC | FitHitsColl | evStore | no | Hits in the FIT. | 
Needed global objects:
| name | type | store | optional | description | 
|---|---|---|---|---|
| fitGeoParams | FitGeoParamsColl | globStore | no | Geometric parameters of the FIT. | 
| fitChannelInfoColl | FitChannelInfoColl | globStore | yes | Channel info of the FIT (if available). | 
Produced event objects:
| name | alias | type | store | description | 
|---|---|---|---|---|
| fitClustersCollADC | FitClustersColl | evStore | The clusters of the FIT. | 
Parameters:
name | type | default value | description -----—|-------—|------------—|--------------------------------------------—
| Herd::FitClusteringAlgo::FitClusteringAlgo | ( | const std::string & | name | ) | 
Constructor.
| name | The name of the algorithm. | 
| 
 | private | 
| 
 | private | 
| 
 | override | 
Free the memory of unneeded objects.
Currently this method frees the memory of the clusters if memStatus is EXHAUSTED.
| objs | The list of objects to be freed. | 
| memStatus | The current memory occupation status. | 
| 
 | override | 
Initialization of the algorithm.
| 
 | override | 
Process a single event.
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
 1.8.13
 1.8.13