CbmRoot
|
Determination of cluster parameters. More...
#include <CbmStsAlgoAnaCluster.h>
Public Member Functions | |
CbmStsAlgoAnaCluster () | |
Constructor. | |
CbmStsAlgoAnaCluster (const CbmStsAlgoAnaCluster &)=delete | |
Copy constructor (disabled) | |
CbmStsAlgoAnaCluster & | operator= (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 | |
CbmDigiManager * | fDigiMan = nullptr |
CbmStsPhysics * | fPhysics = nullptr |
Interface to digi data. | |
Determination of cluster parameters.
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.
CbmStsAlgoAnaCluster::CbmStsAlgoAnaCluster | ( | ) |
Constructor.
|
delete |
Copy constructor (disabled)
|
inlinevirtual |
Destructor.
Definition at line 52 of file CbmStsAlgoAnaCluster.h.
|
private |
Analyse single-digi cluster.
cluster | Pointer to cluster object |
module | Pointer 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().
|
private |
Analyse two-digi cluster.
cluster | Pointer to cluster object |
module | Pointer 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().
|
private |
Analyse cluster with more than two digis.
cluster | Pointer to cluster object |
module | Pointer to module object |
Definition at line 135 of file CbmStsAlgoAnaCluster.cxx.
References fDigiMan, fPhysics, CbmDigiManager::Get(), CbmStsDigi::GetChannel(), CbmCluster::GetDigi(), CbmStsParModule::GetNofChannels(), CbmCluster::GetNofDigis(), CbmStsParAsic::GetNoise(), CbmStsParModule::GetParAsic(), CbmStsPhysics::LandauWidth(), CbmStsCluster::SetProperties(), CbmStsCluster::SetSize(), WeightedMean(), and x.
Referenced by Exec().
|
private |
Instance of physics tool.
void CbmStsAlgoAnaCluster::Exec | ( | CbmStsCluster & | cluster, |
const CbmStsParModule * | module ) |
Algorithm execution.
cluster | Pointer to cluster object |
module | Pointer 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().
|
delete |
Assignment operator (disabled)
|
private |
Weighted mean cluster position.
cluster | Pointer to cluster object |
module | Pointer to module object |
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().
|
private |
Definition at line 98 of file CbmStsAlgoAnaCluster.h.
Referenced by AnaSize1(), AnaSize2(), AnaSizeN(), and WeightedMean().
|
private |
Interface to digi data.
Definition at line 99 of file CbmStsAlgoAnaCluster.h.
Referenced by AnaSize2(), and AnaSizeN().