25#include "FairRootManager.h"
26#include "TClonesArray.h"
43 , fNumbersOfPads(NULL)
56 for (Int_t iPad = 0; iPad <
fNofPads; iPad++) {
78 for (Int_t iPad = 0; iPad < moduleGeo->
GetNeighborsNum(activePad); iPad++) {
103 for (Int_t iPad = 0; iPad <
fNofPads; iPad++) {
104 if ((
fA1[iPad] > 0) && (
fS[iPad] == 1)) {
105 if (algVersion == 1) {
108 if (algVersion == 2) {
111 if ((algVersion != 1) && (algVersion != 2)) {
112 std::cout <<
" - CbmClusteringSL: Error! Unsupported version of the "
117 for (Int_t iPad = 0; iPad <
fNofPads; iPad++) {
134 for (Int_t iPad = 0; iPad <
fNofPads; iPad++) {
135 if ((
fA1[iPad] != 0) && (
fS[iPad] == 1))
140 Int_t padInCluster = 0;
141 for (Int_t nPad = 0; nPad <
fNofPads; nPad++) {
158 for (Int_t iCl = 0; iCl < nomCl; iCl++) {
160 cout <<
" - MainClusteringA1: Warning! DIVISION ON ZERO!";
Class for pixel hits in MUCH detector.
Data class for a reconstructed hit in the STS.
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)
virtual ~CbmClusteringSL()
void SLRec2(CbmClusteringGeometry *moduleGeo, Int_t activePad)
Float_t GetY0(Int_t iCluster)
void MainClusteringSL(CbmClusteringGeometry *moduleGeo, Int_t algVersion)
Int_t GetPadInCluster(Int_t iCluster, Int_t iPad)
Float_t GetX0(Int_t iCluster)
void SLRec1(CbmClusteringGeometry *moduleGeo, Int_t activePad)
UInt_t GetClCharge(Int_t iCluster)
std::vector< Int_t > fPadsInCluster