Go to the documentation of this file.
21 #include "FairRootManager.h"
23 #include "TClonesArray.h"
32 : fS(NULL), fNumbersOfPads(NULL), fA1(NULL), fClusters(NULL) {
39 : fS(NULL), fNumbersOfPads(NULL), fA1(NULL), fClusters(NULL) {
49 for (Int_t iPad = 0; iPad <
fNofPads; iPad++) {
71 for (Int_t iPad = 0; iPad < moduleGeo->
GetNeighborsNum(activePad); iPad++) {
99 for (Int_t iPad = 0; iPad <
fNofPads; iPad++) {
100 if ((
fA1[iPad] > 0) && (
fS[iPad] == 1)) {
101 if (algVersion == 1) {
SLRec1(moduleGeo, iPad); }
102 if (algVersion == 2) {
SLRec2(moduleGeo, iPad); }
103 if ((algVersion != 1) && (algVersion != 2)) {
104 std::cout <<
" - CbmClusteringSL: Error! Unsupported version of the "
109 for (Int_t iPad = 0; iPad <
fNofPads; iPad++) {
110 if (
fA1[iPad] > 0) {
fS[iPad] = 1; }
124 for (Int_t iPad = 0; iPad <
fNofPads; iPad++) {
125 if ((
fA1[iPad] != 0) && (
fS[iPad] == 1))
130 Int_t padInCluster = 0;
131 for (Int_t nPad = 0; nPad <
fNofPads; nPad++) {
152 for (Int_t iCl = 0; iCl < nomCl; iCl++) {
154 cout <<
" - MainClusteringA1: Warning! DIVISION ON ZERO!";
UInt_t GetClCharge(Int_t iCluster)
Float_t GetX0(Int_t iCluster)
void SLRec1(CbmClusteringGeometry *moduleGeo, Int_t activePad)
Float_t GetX0(Int_t iPad)
Float_t GetY0(Int_t iCluster)
Int_t GetGoodNeighborsNum(Int_t iPad)
Int_t GetNeighbor(Int_t iPad, Int_t iNeighbor)
Int_t GetPadInCluster(Int_t iCluster, Int_t iPad)
void MainClusteringSL(CbmClusteringGeometry *moduleGeo, Int_t algVersion)
Int_t GetNeighborsNum(Int_t iPad)
UInt_t GetPadCharge(Int_t iPad)
std::vector< Int_t > fPadsInCluster
Float_t GetY0(Int_t iPad)
Class for pixel hits in MUCH detector.
Int_t GetDigiNum(Int_t iPad)
void SLRec2(CbmClusteringGeometry *moduleGeo, Int_t activePad)
Int_t GetAPadsNom() const
virtual ~CbmClusteringSL()
Data class for a reconstructed hit in the STS.