CbmRoot
Loading...
Searching...
No Matches
CbmClusteringWard Class Reference

#include <CbmClusteringWard.h>

Collaboration diagram for CbmClusteringWard:
[legend]

Classes

struct  Cluster
 
struct  ClusterBlock
 

Public Member Functions

 CbmClusteringWard ()
 Constructor.
 
 CbmClusteringWard (CbmClusteringGeometry *moduleGeo, Int_t blockSize)
 
virtual ~CbmClusteringWard ()
 Destructor.
 
Float_t WardDistance (Int_t iPad1, Int_t iPad2)
 
void WardCreate (CbmClusteringGeometry *moduleGeo)
 
void AddClusterInBlock (CbmClusteringGeometry *moduleGeo, Int_t newCluster, Int_t addedCluster)
 
Bool_t WardBlockCreateStep (CbmClusteringGeometry *moduleGeo, Int_t wardStep, Bool_t wardStepRec, Int_t addedPad)
 
void WardBlockCreate (CbmClusteringGeometry *moduleGeo)
 
void DeleteCluaster (Int_t clusterNumber)
 
void WardDistanceRecalculation (Int_t clusterNumber)
 
Float_t XCenterRecalculation (Int_t cl1, Int_t cl2)
 
Float_t YCenterRecalculation (Int_t cl1, Int_t cl2)
 
void WardProcessingData (Float_t maxDistance)
 
void GetClustersFromBlock ()
 
void WardMainFunction (CbmClusteringGeometry *moduleGeo, Float_t maxDistance)
 
Int_t GetNofClusters () const
 
Int_t GetNofAPads () const
 
Int_t GetNofPads () const
 
Int_t GetCluster (Int_t iCluster)
 
Float_t GetX0 (Int_t iCluster)
 
Float_t GetY0 (Int_t iCluster)
 
UInt_t GetClCharge (Int_t iCluster)
 
Int_t GetNofPads (Int_t iCluster)
 
Int_t GetPadInCluster (Int_t iCluster, Int_t iPad)
 

Private Member Functions

 CbmClusteringWard (const CbmClusteringWard &)
 
CbmClusteringWardoperator= (const CbmClusteringWard &)
 

Private Attributes

Int_t BLOCK_SIZE
 
Int_t MAX_NEIGHBORS
 
Int_t fNofPads
 
Int_t fNofActivePads
 
Bool_t * fS
 
Int_t * fNumbersOfPads
 
CbmClusteringGeometryfModuleGeo
 
Int_t fNofClusters
 
ClusterBlockfClustersInBlock
 
Int_t * padsInClusters
 
Int_t clustersInMethod
 
Int_t clustersInMethod_2
 
Bool_t * wardActivePads
 
Int_t firstBlockElement
 
Int_t listValue
 
ClusterfClusters
 

Detailed Description

Definition at line 23 of file CbmClusteringWard.h.

Constructor & Destructor Documentation

◆ CbmClusteringWard() [1/3]

CbmClusteringWard::CbmClusteringWard ( )

Constructor.

Definition at line 34 of file CbmClusteringWard.cxx.

References fNofActivePads, fNofClusters, and fNofPads.

◆ CbmClusteringWard() [2/3]

◆ ~CbmClusteringWard()

CbmClusteringWard::~CbmClusteringWard ( )
virtual

Destructor.

Definition at line 122 of file CbmClusteringWard.cxx.

◆ CbmClusteringWard() [3/3]

CbmClusteringWard::CbmClusteringWard ( const CbmClusteringWard & )
private

Member Function Documentation

◆ AddClusterInBlock()

◆ DeleteCluaster()

◆ GetClCharge()

UInt_t CbmClusteringWard::GetClCharge ( Int_t iCluster)

Definition at line 677 of file CbmClusteringWard.cxx.

References fClusters, and CbmClusteringWard::Cluster::sumClCharge.

◆ GetCluster()

Int_t CbmClusteringWard::GetCluster ( Int_t iCluster)

Definition at line 674 of file CbmClusteringWard.cxx.

References fClusters, and CbmClusteringWard::Cluster::nofCluster.

◆ GetClustersFromBlock()

◆ GetNofAPads()

Int_t CbmClusteringWard::GetNofAPads ( ) const
inline

Definition at line 51 of file CbmClusteringWard.h.

References fNofActivePads.

◆ GetNofClusters()

Int_t CbmClusteringWard::GetNofClusters ( ) const
inline

Definition at line 50 of file CbmClusteringWard.h.

References fNofClusters.

Referenced by CbmMuchClustering::ClusteringWard().

◆ GetNofPads() [1/2]

Int_t CbmClusteringWard::GetNofPads ( ) const
inline

Definition at line 52 of file CbmClusteringWard.h.

References fNofPads.

Referenced by CbmMuchClustering::ClusteringWard().

◆ GetNofPads() [2/2]

Int_t CbmClusteringWard::GetNofPads ( Int_t iCluster)

Definition at line 678 of file CbmClusteringWard.cxx.

References fClusters, and CbmClusteringWard::Cluster::nofPads.

◆ GetPadInCluster()

Int_t CbmClusteringWard::GetPadInCluster ( Int_t iCluster,
Int_t iPad )

◆ GetX0()

Float_t CbmClusteringWard::GetX0 ( Int_t iCluster)

Definition at line 675 of file CbmClusteringWard.cxx.

References fClusters, and CbmClusteringWard::Cluster::xc.

Referenced by CbmMuchClustering::ClusteringWard().

◆ GetY0()

Float_t CbmClusteringWard::GetY0 ( Int_t iCluster)

Definition at line 676 of file CbmClusteringWard.cxx.

References fClusters, and CbmClusteringWard::Cluster::yc.

Referenced by CbmMuchClustering::ClusteringWard().

◆ operator=()

CbmClusteringWard & CbmClusteringWard::operator= ( const CbmClusteringWard & )
private

◆ WardBlockCreate()

◆ WardBlockCreateStep()

Bool_t CbmClusteringWard::WardBlockCreateStep ( CbmClusteringGeometry * moduleGeo,
Int_t wardStep,
Bool_t wardStepRec,
Int_t addedPad )

◆ WardCreate()

◆ WardDistance()

Float_t CbmClusteringWard::WardDistance ( Int_t iPad1,
Int_t iPad2 )

Definition at line 130 of file CbmClusteringWard.cxx.

References fClustersInBlock.

Referenced by WardBlockCreate(), WardCreate(), and WardDistanceRecalculation().

◆ WardDistanceRecalculation()

◆ WardMainFunction()

void CbmClusteringWard::WardMainFunction ( CbmClusteringGeometry * moduleGeo,
Float_t maxDistance )

◆ WardProcessingData()

◆ XCenterRecalculation()

Float_t CbmClusteringWard::XCenterRecalculation ( Int_t cl1,
Int_t cl2 )

◆ YCenterRecalculation()

Float_t CbmClusteringWard::YCenterRecalculation ( Int_t cl1,
Int_t cl2 )

Member Data Documentation

◆ BLOCK_SIZE

Int_t CbmClusteringWard::BLOCK_SIZE
private

Definition at line 68 of file CbmClusteringWard.h.

Referenced by CbmClusteringWard(), WardBlockCreate(), and WardBlockCreateStep().

◆ clustersInMethod

Int_t CbmClusteringWard::clustersInMethod
private

◆ clustersInMethod_2

Int_t CbmClusteringWard::clustersInMethod_2
private

Definition at line 109 of file CbmClusteringWard.h.

Referenced by CbmClusteringWard(), and GetClustersFromBlock().

◆ fClusters

Cluster* CbmClusteringWard::fClusters
private

◆ fClustersInBlock

◆ firstBlockElement

Int_t CbmClusteringWard::firstBlockElement
private

Definition at line 113 of file CbmClusteringWard.h.

Referenced by CbmClusteringWard(), and WardBlockCreate().

◆ fModuleGeo

CbmClusteringGeometry* CbmClusteringWard::fModuleGeo
private

Definition at line 77 of file CbmClusteringWard.h.

◆ fNofActivePads

Int_t CbmClusteringWard::fNofActivePads
private

◆ fNofClusters

Int_t CbmClusteringWard::fNofClusters
private

◆ fNofPads

Int_t CbmClusteringWard::fNofPads
private

◆ fNumbersOfPads

Int_t* CbmClusteringWard::fNumbersOfPads
private

Definition at line 75 of file CbmClusteringWard.h.

Referenced by CbmClusteringWard().

◆ fS

Bool_t* CbmClusteringWard::fS
private

Definition at line 74 of file CbmClusteringWard.h.

Referenced by CbmClusteringWard().

◆ listValue

Int_t CbmClusteringWard::listValue
private

Definition at line 115 of file CbmClusteringWard.h.

Referenced by CbmClusteringWard(), WardBlockCreate(), and WardBlockCreateStep().

◆ MAX_NEIGHBORS

Int_t CbmClusteringWard::MAX_NEIGHBORS
private

Definition at line 69 of file CbmClusteringWard.h.

Referenced by CbmClusteringWard().

◆ padsInClusters

Int_t* CbmClusteringWard::padsInClusters
private

◆ wardActivePads

Bool_t* CbmClusteringWard::wardActivePads
private

Definition at line 111 of file CbmClusteringWard.h.

Referenced by CbmClusteringWard(), WardBlockCreate(), and WardBlockCreateStep().


The documentation for this class was generated from the following files: