BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
CbmStsClusterFinder Class Reference

#include <CbmStsClusterFinder.h>

Inheritance diagram for CbmStsClusterFinder:
Collaboration diagram for CbmStsClusterFinder:

Public Member Functions

 CbmStsClusterFinder ()
 Default constructor.
 CbmStsClusterFinder (Int_t iVerbose)
 Standard constructor.
 CbmStsClusterFinder (const char *name, Int_t iVerbose)
 Constructor with task name.
virtual ~CbmStsClusterFinder ()
 Destructor.
virtual void Exec (Option_t *opt)
 Execution.
virtual void Finish ()
 Virtual method Finish.
 CbmStsClusterFinder ()
 Default constructor.
 CbmStsClusterFinder (Int_t iVerbose)
 Standard constructor.
 CbmStsClusterFinder (const char *name, Int_t iVerbose)
 Constructor with task name.
virtual ~CbmStsClusterFinder ()
 Destructor.
virtual void Exec (Option_t *opt)
 Execution.
virtual void Finish ()
 Virtual method Finish.

Public Attributes

Bool_t MC = false

Private Member Functions

virtual void SetParContainers ()
 Get parameter containers.
virtual InitStatus Init ()
 Intialisation.
virtual InitStatus ReInit ()
 Reinitialisation.
void MakeSets ()
 Make sectorwise sets for sigis.
void AnalyzeClusters ()
void AnalyzeCluster (Int_t iclus)
void EvalErrors (CbmStsCluster *clus, Int_t chan2)
void SplitCluster (Int_t iclus)
void SortDigis ()
 Sort digis sectorwise.
Int_t FindClusters (Int_t stationNr, Int_t sectorNr, Int_t iSide, set< Int_t > &digiSet)
 Find hits in one sector.
 CbmStsClusterFinder (const CbmStsClusterFinder &)
CbmStsClusterFinder operator= (const CbmStsClusterFinder &)
virtual void SetParContainers ()
 Get parameter containers.
virtual InitStatus Init ()
 Intialisation.
virtual InitStatus ReInit ()
 Reinitialisation.
void MakeSets ()
 Make sectorwise sets for sigis.
void AnalyzeClusters ()
void AnalyzeCluster (Int_t iclus)
void EvalErrors (CbmStsCluster *clus, Int_t chan2)
void SplitCluster (Int_t iclus)
void SortDigis ()
 Sort digis sectorwise.
Int_t FindClusters (Int_t stationNr, Int_t sectorNr, Int_t iSide, set< Int_t > &digiSet)
 Find hits in one sector.
 CbmStsClusterFinder (const CbmStsClusterFinder &)
CbmStsClusterFinder operator= (const CbmStsClusterFinder &)

Private Attributes

CbmGeoStsPar * fGeoPar
CbmStsDigiPar * fDigiPar
 Geometry parameters.
CbmStsDigiScheme * fDigiScheme
 Digitisation parameters.
TClonesArray * fDigis
 Digitisation scheme.
TClonesArray * fClustersCand
 Input array of CbmStsDigi.
TClonesArray * fClusters
 Input array of CbmStsCluster.
Int_t fNofDigis
 Input array of CbmStsCluster.
map< CbmStsSector *, set< Int_t > > fDigiMapF
map< CbmStsSector *, set< Int_t > > fDigiMapB
 sector digis (front)
TStopwatch fTimer
 sector digis (back)
Int_t fNofClustersCand
Int_t fNofClusters
Int_t fNofClustersGood
Int_t fNofClustersWP
Int_t fNofClustersWM
Int_t fLongestCluster
Int_t fLongestGoodCluster
Bool_t fUseLinks

Detailed Description

Definition at line 40 of file CbmStsClusterFinder.h.

Constructor & Destructor Documentation

◆ CbmStsClusterFinder() [1/8]

CbmStsClusterFinder::CbmStsClusterFinder ( )

Definition at line 40 of file CbmStsClusterFinder.cxx.

References fClusters, fClustersCand, fDigiMapB, fDigiMapF, fDigiPar, fDigis, fDigiScheme, fGeoPar, fLongestCluster, fLongestGoodCluster, fNofClusters, fNofClustersCand, fNofClustersGood, fNofClustersWM, fNofClustersWP, fNofDigis, and fTimer.

Referenced by CbmStsClusterFinder(), and operator=().

Here is the caller graph for this function:

◆ CbmStsClusterFinder() [2/8]

◆ CbmStsClusterFinder() [3/8]

CbmStsClusterFinder::CbmStsClusterFinder ( const char * name,
Int_t iVerbose )

◆ ~CbmStsClusterFinder() [1/2]

CbmStsClusterFinder::~CbmStsClusterFinder ( )
virtual

Definition at line 106 of file CbmStsClusterFinder.cxx.

References fClusters, and fClustersCand.

◆ CbmStsClusterFinder() [4/8]

CbmStsClusterFinder::CbmStsClusterFinder ( const CbmStsClusterFinder & )
private

References CbmStsClusterFinder().

Here is the call graph for this function:

◆ CbmStsClusterFinder() [5/8]

CbmStsClusterFinder::CbmStsClusterFinder ( )

◆ CbmStsClusterFinder() [6/8]

CbmStsClusterFinder::CbmStsClusterFinder ( Int_t iVerbose)

◆ CbmStsClusterFinder() [7/8]

CbmStsClusterFinder::CbmStsClusterFinder ( const char * name,
Int_t iVerbose )

◆ ~CbmStsClusterFinder() [2/2]

virtual CbmStsClusterFinder::~CbmStsClusterFinder ( )
virtual

◆ CbmStsClusterFinder() [8/8]

CbmStsClusterFinder::CbmStsClusterFinder ( const CbmStsClusterFinder & )
private

References CbmStsClusterFinder().

Here is the call graph for this function:

Member Function Documentation

◆ AnalyzeCluster() [1/2]

void CbmStsClusterFinder::AnalyzeCluster ( Int_t iclus)
private

Definition at line 621 of file CbmStsClusterFinder.cxx.

References CbmStsCluster::AddDigi(), EvalErrors(), fClusters, fClustersCand, fDigis, fNofClusters, fNofClustersCand, CbmStsDigi::GetAdc(), CbmStsDigi::GetChannelNr(), CbmStsCluster::GetDetectorId(), CbmStsCluster::GetDigi(), CbmStsCluster::GetMean(), CbmStsCluster::GetNDigis(), CbmStsCluster::GetQtot(), CbmStsDigi::GetSectorNr(), CbmStsDigi::GetSide(), CbmStsDigi::GetStationNr(), CbmStsCluster::SetLeft(), CbmStsCluster::SetMean(), CbmStsCluster::SetMeanError(), CbmStsCluster::SetQtot(), and TMath::Sqrt().

Referenced by AnalyzeClusters().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AnalyzeCluster() [2/2]

void CbmStsClusterFinder::AnalyzeCluster ( Int_t iclus)
private

◆ AnalyzeClusters() [1/2]

void CbmStsClusterFinder::AnalyzeClusters ( )
private

Definition at line 612 of file CbmStsClusterFinder.cxx.

References AnalyzeCluster(), and fNofClustersCand.

Referenced by Exec().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AnalyzeClusters() [2/2]

void CbmStsClusterFinder::AnalyzeClusters ( )
private

◆ EvalErrors() [1/2]

void CbmStsClusterFinder::EvalErrors ( CbmStsCluster * clus,
Int_t chan2 )
private

Definition at line 864 of file CbmStsClusterFinder.cxx.

References CbmStsCluster::GetLeft(), CbmStsCluster::GetMean(), CbmStsCluster::GetMeanError(), CbmStsCluster::GetNDigis(), TMath::Max(), CbmStsCluster::SetMean(), and CbmStsCluster::SetMeanError().

Referenced by AnalyzeCluster(), and SplitCluster().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EvalErrors() [2/2]

void CbmStsClusterFinder::EvalErrors ( CbmStsCluster * clus,
Int_t chan2 )
private

◆ Exec() [1/2]

void CbmStsClusterFinder::Exec ( Option_t * opt)
virtual

◆ Exec() [2/2]

virtual void CbmStsClusterFinder::Exec ( Option_t * opt)
virtual

◆ FindClusters() [1/2]

Int_t CbmStsClusterFinder::FindClusters ( Int_t stationNr,
Int_t sectorNr,
Int_t iSide,
set< Int_t > & digiSet )
private

Definition at line 414 of file CbmStsClusterFinder.cxx.

References CbmStsCluster::AddDigi(), fDigis, fLongestCluster, fLongestGoodCluster, fNofClustersCand, fNofClustersGood, fNofClustersWP, CbmStsDigi::GetAdc(), CbmStsDigi::GetChannelNr(), CbmStsCluster::SetMean(), and CbmStsCluster::SetMeanError().

Referenced by Exec().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FindClusters() [2/2]

Int_t CbmStsClusterFinder::FindClusters ( Int_t stationNr,
Int_t sectorNr,
Int_t iSide,
set< Int_t > & digiSet )
private

◆ Finish() [1/2]

void CbmStsClusterFinder::Finish ( )
virtual

◆ Finish() [2/2]

◆ Init() [1/2]

InitStatus CbmStsClusterFinder::Init ( )
privatevirtual

Definition at line 252 of file CbmStsClusterFinder.cxx.

References fClusters, fClustersCand, fDigiPar, fDigis, fDigiScheme, fGeoPar, fLongestCluster, fLongestGoodCluster, fNofClusters, fNofClustersCand, fNofClustersGood, fNofClustersWM, fNofClustersWP, and MakeSets().

Here is the call graph for this function:

◆ Init() [2/2]

virtual InitStatus CbmStsClusterFinder::Init ( )
privatevirtual

◆ MakeSets() [1/2]

void CbmStsClusterFinder::MakeSets ( )
private

Definition at line 337 of file CbmStsClusterFinder.cxx.

References fDigiMapB, fDigiMapF, fDigiScheme, CbmStsStation::GetNSectors(), CbmStsStation::GetSector(), CbmStsSector::GetType(), and nStations.

Referenced by Init(), and ReInit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MakeSets() [2/2]

void CbmStsClusterFinder::MakeSets ( )
private

◆ operator=() [1/2]

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

References CbmStsClusterFinder().

Here is the call graph for this function:

◆ operator=() [2/2]

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

References CbmStsClusterFinder().

Here is the call graph for this function:

◆ ReInit() [1/2]

InitStatus CbmStsClusterFinder::ReInit ( )
privatevirtual

Definition at line 299 of file CbmStsClusterFinder.cxx.

References fDigiPar, fDigiScheme, fGeoPar, fLongestCluster, fLongestGoodCluster, fNofClusters, fNofClustersCand, fNofClustersGood, fNofClustersWM, fNofClustersWP, and MakeSets().

Here is the call graph for this function:

◆ ReInit() [2/2]

virtual InitStatus CbmStsClusterFinder::ReInit ( )
privatevirtual

◆ SetParContainers() [1/2]

void CbmStsClusterFinder::SetParContainers ( )
privatevirtual

Definition at line 231 of file CbmStsClusterFinder.cxx.

References fDigiPar, and fGeoPar.

◆ SetParContainers() [2/2]

virtual void CbmStsClusterFinder::SetParContainers ( )
privatevirtual

◆ SortDigis() [1/2]

void CbmStsClusterFinder::SortDigis ( )
private

Definition at line 360 of file CbmStsClusterFinder.cxx.

References fDigiMapB, fDigiMapF, fDigis, fDigiScheme, CbmStsDigi::GetSectorNr(), CbmStsDigi::GetSide(), and CbmStsDigi::GetStationNr().

Referenced by Exec().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SortDigis() [2/2]

void CbmStsClusterFinder::SortDigis ( )
private

◆ SplitCluster() [1/2]

◆ SplitCluster() [2/2]

void CbmStsClusterFinder::SplitCluster ( Int_t iclus)
private

Member Data Documentation

◆ fClusters

◆ fClustersCand

◆ fDigiMapB

map< CbmStsSector *, set< Int_t > > CbmStsClusterFinder::fDigiMapB
private

◆ fDigiMapF

map< CbmStsSector *, set< Int_t > > CbmStsClusterFinder::fDigiMapF
private

◆ fDigiPar

CbmStsDigiPar * CbmStsClusterFinder::fDigiPar
private

◆ fDigis

◆ fDigiScheme

CbmStsDigiScheme * CbmStsClusterFinder::fDigiScheme
private

◆ fGeoPar

CbmGeoStsPar * CbmStsClusterFinder::fGeoPar
private

◆ fLongestCluster

Int_t CbmStsClusterFinder::fLongestCluster
private

◆ fLongestGoodCluster

Int_t CbmStsClusterFinder::fLongestGoodCluster
private

◆ fNofClusters

Int_t CbmStsClusterFinder::fNofClusters
private

◆ fNofClustersCand

◆ fNofClustersGood

Int_t CbmStsClusterFinder::fNofClustersGood
private

◆ fNofClustersWM

Int_t CbmStsClusterFinder::fNofClustersWM
private

◆ fNofClustersWP

Int_t CbmStsClusterFinder::fNofClustersWP
private

◆ fNofDigis

Int_t CbmStsClusterFinder::fNofDigis
private

◆ fTimer

TStopwatch CbmStsClusterFinder::fTimer
private

◆ fUseLinks

Bool_t CbmStsClusterFinder::fUseLinks
private

Definition at line 82 of file CbmStsClusterFinder.h.

Referenced by Finish().

◆ MC

Bool_t CbmStsClusterFinder::MC = false

Definition at line 61 of file CbmStsClusterFinder.h.

Referenced by Finish().


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