CbmRoot
CbmMuchClustering Class Reference

#include <CbmMuchClustering.h>

Inheritance diagram for CbmMuchClustering:
[legend]
Collaboration diagram for CbmMuchClustering:
[legend]

Public Member Functions

 CbmMuchClustering (const char *digiFileName)
 
virtual ~CbmMuchClustering ()
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *opt)
 
virtual void Finish ()
 
void SetAlgorithmVersion (Int_t AlgorithmVersion)
 
void CreateModulesGeometryArray ()
 
void SetDigiCharges ()
 
void ClearDigiCharges ()
 
void ClusteringMainFunction ()
 

Private Member Functions

void ReadDataBranches ()
 
void ClusteringA1 (CbmClusteringGeometry *m1, CbmMuchModuleGem *m2, Int_t Ver)
 
void ClusteringSL (CbmClusteringGeometry *m1, CbmMuchModuleGem *m2, Int_t Ver)
 
void ClusteringWard (CbmClusteringGeometry *m1, CbmMuchModuleGem *m2)
 
 CbmMuchClustering (const CbmMuchClustering &)
 
CbmMuchClusteringoperator= (const CbmMuchClustering &)
 
 ClassDef (CbmMuchClustering, 1)
 

Private Attributes

Int_t fAlgorithmVersion
 
Int_t fNofModules
 
Int_t fNofClusters
 
CbmMuchGeoSchemefScheme
 
TString fDigiFile
 
std::vector< CbmClusteringGeometry * > fModulesGeometryArray
 
std::map< Int_t, Int_t > fModulesByDetId
 
CbmDigiManagerfDigiMan = nullptr
 
TClonesArray * fCluster
 Interface to digi data. More...
 
TClonesArray * fHit
 
Int_t fNofEvents
 

Detailed Description

Definition at line 28 of file CbmMuchClustering.h.

Constructor & Destructor Documentation

◆ CbmMuchClustering() [1/2]

CbmMuchClustering::CbmMuchClustering ( const char *  digiFileName)

Definition at line 49 of file CbmMuchClustering.cxx.

References fAlgorithmVersion, fNofEvents, and fNofModules.

◆ ~CbmMuchClustering()

CbmMuchClustering::~CbmMuchClustering ( )
virtual

Definition at line 62 of file CbmMuchClustering.cxx.

References fCluster, and fHit.

◆ CbmMuchClustering() [2/2]

CbmMuchClustering::CbmMuchClustering ( const CbmMuchClustering )
private

Member Function Documentation

◆ ClassDef()

CbmMuchClustering::ClassDef ( CbmMuchClustering  ,
 
)
private

◆ ClearDigiCharges()

◆ ClusteringA1()

◆ ClusteringMainFunction()

void CbmMuchClustering::ClusteringMainFunction ( )

◆ ClusteringSL()

◆ ClusteringWard()

◆ CreateModulesGeometryArray()

◆ Exec()

void CbmMuchClustering::Exec ( Option_t *  opt)
virtual

◆ Finish()

void CbmMuchClustering::Finish ( )
virtual

Definition at line 119 of file CbmMuchClustering.cxx.

◆ Init()

InitStatus CbmMuchClustering::Init ( )
virtual

◆ operator=()

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

◆ ReadDataBranches()

void CbmMuchClustering::ReadDataBranches ( )
private

Definition at line 123 of file CbmMuchClustering.cxx.

References fCluster, fDigiMan, fHit, CbmDigiManager::Init(), and CbmDigiManager::Instance().

Referenced by Init().

◆ SetAlgorithmVersion()

void CbmMuchClustering::SetAlgorithmVersion ( Int_t  AlgorithmVersion)
inline

Definition at line 36 of file CbmMuchClustering.h.

References fAlgorithmVersion.

◆ SetDigiCharges()

Member Data Documentation

◆ fAlgorithmVersion

Int_t CbmMuchClustering::fAlgorithmVersion
private

◆ fCluster

TClonesArray* CbmMuchClustering::fCluster
private

Interface to digi data.

Definition at line 66 of file CbmMuchClustering.h.

Referenced by ClusteringA1(), ClusteringSL(), ClusteringWard(), Exec(), ReadDataBranches(), and ~CbmMuchClustering().

◆ fDigiFile

TString CbmMuchClustering::fDigiFile
private

Definition at line 60 of file CbmMuchClustering.h.

Referenced by Init().

◆ fDigiMan

CbmDigiManager* CbmMuchClustering::fDigiMan = nullptr
private

◆ fHit

TClonesArray* CbmMuchClustering::fHit
private

◆ fModulesByDetId

std::map<Int_t, Int_t> CbmMuchClustering::fModulesByDetId
private

◆ fModulesGeometryArray

std::vector<CbmClusteringGeometry*> CbmMuchClustering::fModulesGeometryArray
private

◆ fNofClusters

Int_t CbmMuchClustering::fNofClusters
private

Definition at line 57 of file CbmMuchClustering.h.

Referenced by ClusteringA1(), ClusteringSL(), ClusteringWard(), and Exec().

◆ fNofEvents

Int_t CbmMuchClustering::fNofEvents
private

Definition at line 68 of file CbmMuchClustering.h.

Referenced by CbmMuchClustering(), and Exec().

◆ fNofModules

Int_t CbmMuchClustering::fNofModules
private

◆ fScheme

CbmMuchGeoScheme* CbmMuchClustering::fScheme
private

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