17#ifndef O2_MCH_CLUSTERFINDERGEM_H_
18#define O2_MCH_CLUSTERFINDERGEM_H_
64 void init(
int mode,
bool run2Config);
74 const std::vector<Cluster>&
getClusters()
const {
return mClusters; }
87 static constexpr int SNFitClustersMax = 3;
88 static constexpr int SNFitParamMax = 3 * SNFitClustersMax - 1;
89 static constexpr double SLowestCoupling = 1.e-2;
136 void setClusterResolution(
Cluster& cluster)
const;
137 std::unique_ptr<MathiesonOriginal[]> mMathiesons;
144 std::unique_ptr<ClusterOriginal> mPreCluster;
147 const mapping::Segmentation* mSegmentation =
nullptr;
148 std::vector<Cluster> mClusters{};
149 std::vector<Digit> mUsedDigits{};
151 PreClusterFinder mPreClusterFinder{};
Definition of a class to reconstruct clusters with the original MLEM algorithm.
Definition of a class to reconstruct clusters with the MLEM algorithm.
unsigned short int uint16_t
void fillGEMInputData(gsl::span< const Digit > &digits, uint16_t bunchCrossing, uint32_t orbit, uint32_t iPreCluster)
ClusterFinderGEM(ClusterFinderGEM &&)=delete
ClusterFinderGEM & operator=(ClusterFinderGEM &&)=delete
ClusterFinderGEM & operator=(const ClusterFinderGEM &)=delete
void findClusters(gsl::span< const Digit > digits, uint16_t bunchCrossing, uint32_t orbit, uint32_t iPreCluster)
void dumpPreCluster(ClusterDump *dumpFile, gsl::span< const Digit > digits, uint16_t bunchCrossing, uint32_t orbit, uint32_t iPreCluster)
const std::vector< Cluster > & getClusters() const
return the list of reconstructed clusters
void init(int mode, bool run2Config)
void dumpClusterResults(ClusterDump *dumpFile, const std::vector< Cluster > &clusters, size_t startIdx, uint16_t bunchCrossing, uint32_t orbit, uint32_t iPreCluster)
ClusterFinderGEM(const ClusterFinderGEM &)=delete
const std::vector< Digit > & getUsedDigits() const
return the list of digits used in reconstructed clusters
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
cluster minimal structure
std::vector< Cluster > clusters
std::vector< Digit > digits