25#include "FairRootManager.h"
52 for (Int_t iPad = 0; iPad <
fNofPads; iPad++) {
82 for (Int_t iPad = 0; iPad <
fNofPads; iPad++) {
85 if (algVersion == 1) {
92 if (algVersion == 2) {
99 if ((algVersion != 1) && (algVersion != 2)) {
100 std::cout <<
"Error! Unsupported version of the algorithm.\n";
102 fA2[localMaximum] +=
fA1[iPad];
104 if (iPad != localMaximum) {
128 for (Int_t iPad = 0; iPad <
fNofPads; iPad++) {
129 if ((
fA2[iPad] != 0) && (
fS[iPad] == 1)) {
132 Int_t padInCluster = 0;
133 for (Int_t nPad = 0; nPad <
fNofPads; nPad++) {
152 for (Int_t iCl = 0; iCl < nomCl; iCl++) {
154 cout <<
" - MainClusteringA1: Warning! DIVISION ON ZERO!";
166 Int_t nofNeighbors = 0;
169 for (Int_t iPad = 0; iPad < nofNeighbors; iPad++) {
Class for pixel hits in MUCH detector.
Data class for a reconstructed hit in the STS.
std::vector< Int_t > GetPads(Int_t iCluster)
Int_t GetPadInCluster(Int_t iCluster, Int_t iPad)
UInt_t GetPadCharge(Int_t iCluster, Int_t iPad)
Int_t GetNPadInCluster(Int_t iCluster, Int_t iPad)
virtual ~CbmClusteringA1()
Int_t GetCluster(Int_t iCluster)
void MainClusteringA1(CbmClusteringGeometry *moduleGeo, Int_t algVersion)
void ChangeClusters(CbmClusteringGeometry *moduleGeo, Int_t nPad, Int_t Cl0, Int_t Cl1, Int_t algVersion)
Float_t GetX0(Int_t iCluster)
Float_t GetY0(Int_t iCluster)
UInt_t GetClCharge(Int_t iCluster)
Int_t GetAPadsNom() const
UInt_t GetPadCharge(Int_t iPad)
Int_t GetGoodNeighborsNum(Int_t iPad)
Int_t GetDigiNum(Int_t iPad)
Float_t GetX0(Int_t iPad)
Int_t GetNeighbor(Int_t iPad, Int_t iNeighbor)
Int_t GetNeighborsNum(Int_t iPad)
Float_t GetY0(Int_t iPad)
std::vector< Int_t > fNPadsInCluster
std::vector< Int_t > fPadsInCluster
std::vector< Int_t > fPadsCharges