CbmRoot
Loading...
Searching...
No Matches
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.
 
TClonesArray * fHit
 
Int_t fNofEvents
 

Detailed Description

Definition at line 30 of file CbmMuchClustering.h.

Constructor & Destructor Documentation

◆ CbmMuchClustering() [1/2]

CbmMuchClustering::CbmMuchClustering ( const char * digiFileName)

Definition at line 53 of file CbmMuchClustering.cxx.

References fAlgorithmVersion, fNofEvents, and fNofModules.

◆ ~CbmMuchClustering()

CbmMuchClustering::~CbmMuchClustering ( )
virtual

Definition at line 67 of file CbmMuchClustering.cxx.

References fCluster, and fHit.

◆ CbmMuchClustering() [2/2]

CbmMuchClustering::CbmMuchClustering ( const CbmMuchClustering & )
private

Member Function Documentation

◆ ClassDef()

CbmMuchClustering::ClassDef ( CbmMuchClustering ,
1  )
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 134 of file CbmMuchClustering.cxx.

◆ Init()

InitStatus CbmMuchClustering::Init ( )
virtual

Save old global file and folder pointer to avoid messing with FairRoot

Restore old global file and folder pointer to avoid messing with FairRoot

Definition at line 79 of file CbmMuchClustering.cxx.

References CreateModulesGeometryArray(), fDigiFile, fScheme, CbmMuchGeoScheme::Init(), and ReadDataBranches().

◆ operator=()

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

◆ ReadDataBranches()

void CbmMuchClustering::ReadDataBranches ( )
private

Definition at line 136 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 38 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: