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

Determination of cluster parameters. More...

#include <CbmStsAlgoAnaCluster.h>

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

Public Member Functions

 CbmStsAlgoAnaCluster ()
 Constructor.
 
 CbmStsAlgoAnaCluster (const CbmStsAlgoAnaCluster &)=delete
 Copy constructor (disabled)
 
CbmStsAlgoAnaClusteroperator= (const CbmStsAlgoAnaCluster &)=delete
 Assignment operator (disabled)
 
virtual ~CbmStsAlgoAnaCluster ()
 Destructor.
 
void Exec (CbmStsCluster &cluster, const CbmStsParModule *module)
 Algorithm execution.
 

Private Member Functions

void AnaSize1 (CbmStsCluster &cluster, const CbmStsParModule *modPar)
 Analyse single-digi cluster.
 
void AnaSize2 (CbmStsCluster &cluster, const CbmStsParModule *modPar)
 Analyse two-digi cluster.
 
void AnaSizeN (CbmStsCluster &cluster, const CbmStsParModule *modPar)
 Analyse cluster with more than two digis.
 
Double_t WeightedMean (CbmStsCluster &cluster, const CbmStsParModule *modPar)
 Weighted mean cluster position.
 
 ClassDef (CbmStsAlgoAnaCluster, 1)
 Instance of physics tool.
 

Private Attributes

CbmDigiManagerfDigiMan = nullptr
 
CbmStsPhysicsfPhysics = nullptr
 Interface to digi data.
 

Detailed Description

Determination of cluster parameters.

Author
V.Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e
Since
23.03.2020

This class implements the determination of STS cluster parameters (time, position, charge) and their errors from the digis contained in the cluster.

The mathematics is described in: H. Malygina, Hit Reconstruction for the Silicon Tracking System of the CBM experiment, PhD thesis, Goethe-Universität Frankfurt, 2018

Definition at line 36 of file CbmStsAlgoAnaCluster.h.

Constructor & Destructor Documentation

◆ CbmStsAlgoAnaCluster() [1/2]

CbmStsAlgoAnaCluster::CbmStsAlgoAnaCluster ( )

Constructor.

◆ CbmStsAlgoAnaCluster() [2/2]

CbmStsAlgoAnaCluster::CbmStsAlgoAnaCluster ( const CbmStsAlgoAnaCluster & )
delete

Copy constructor (disabled)

◆ ~CbmStsAlgoAnaCluster()

virtual CbmStsAlgoAnaCluster::~CbmStsAlgoAnaCluster ( )
inlinevirtual

Destructor.

Definition at line 52 of file CbmStsAlgoAnaCluster.h.

Member Function Documentation

◆ AnaSize1()

void CbmStsAlgoAnaCluster::AnaSize1 ( CbmStsCluster & cluster,
const CbmStsParModule * modPar )
private

Analyse single-digi cluster.

Parameters
clusterPointer to cluster object
modulePointer to module object

Definition at line 35 of file CbmStsAlgoAnaCluster.cxx.

References fDigiMan, CbmDigiManager::Get(), CbmStsDigi::GetChannel(), CbmCluster::GetDigi(), CbmStsCluster::SetProperties(), CbmStsCluster::SetSize(), sqrt(), and x.

Referenced by Exec().

◆ AnaSize2()

void CbmStsAlgoAnaCluster::AnaSize2 ( CbmStsCluster & cluster,
const CbmStsParModule * modPar )
private

Analyse two-digi cluster.

Parameters
clusterPointer to cluster object
modulePointer to module object

Definition at line 60 of file CbmStsAlgoAnaCluster.cxx.

References fDigiMan, fPhysics, CbmDigiManager::Get(), CbmStsDigi::GetChannel(), CbmCluster::GetDigi(), CbmStsParModule::GetNofChannels(), CbmStsParModule::GetParAsic(), CbmStsPhysics::LandauWidth(), CbmStsCluster::SetProperties(), CbmStsCluster::SetSize(), and x.

Referenced by Exec().

◆ AnaSizeN()

void CbmStsAlgoAnaCluster::AnaSizeN ( CbmStsCluster & cluster,
const CbmStsParModule * modPar )
private

◆ ClassDef()

CbmStsAlgoAnaCluster::ClassDef ( CbmStsAlgoAnaCluster ,
1  )
private

Instance of physics tool.

◆ Exec()

void CbmStsAlgoAnaCluster::Exec ( CbmStsCluster & cluster,
const CbmStsParModule * module )

Algorithm execution.

Parameters
clusterPointer to cluster object
modulePointer to CbmStsRecoModule to be operated on

Definition at line 229 of file CbmStsAlgoAnaCluster.cxx.

References AnaSize1(), AnaSize2(), AnaSizeN(), and CbmCluster::GetNofDigis().

Referenced by CbmStsRecoModule::FindClusters().

◆ operator=()

CbmStsAlgoAnaCluster & CbmStsAlgoAnaCluster::operator= ( const CbmStsAlgoAnaCluster & )
delete

Assignment operator (disabled)

◆ WeightedMean()

Double_t CbmStsAlgoAnaCluster::WeightedMean ( CbmStsCluster & cluster,
const CbmStsParModule * modPar )
private

Weighted mean cluster position.

Parameters
clusterPointer to cluster object
modulePointer to module object
Returns
cluster position

This procedure is used when the result obtained by AnaSizeN are outside the range of the involved channels. This can happen e.g. for incomplete clusters, e.g. those cut at the edge of sensor.

Definition at line 248 of file CbmStsAlgoAnaCluster.cxx.

References CbmStsParAsic::AdcToCharge(), fDigiMan, CbmDigiManager::Get(), CbmStsDigi::GetChannel(), CbmCluster::GetDigi(), CbmCluster::GetNofDigis(), and CbmStsParModule::GetParAsic().

Referenced by AnaSizeN().

Member Data Documentation

◆ fDigiMan

CbmDigiManager* CbmStsAlgoAnaCluster::fDigiMan = nullptr
private

Definition at line 98 of file CbmStsAlgoAnaCluster.h.

Referenced by AnaSize1(), AnaSize2(), AnaSizeN(), and WeightedMean().

◆ fPhysics

CbmStsPhysics* CbmStsAlgoAnaCluster::fPhysics = nullptr
private

Interface to digi data.

Definition at line 99 of file CbmStsAlgoAnaCluster.h.

Referenced by AnaSize2(), and AnaSizeN().


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