CbmRoot
CbmStsAlgoAnaCluster.h
Go to the documentation of this file.
1 
6 #ifndef CBMSTSALGOANACLUSTER_H
7 #define CBMSTSALGOANACLUSTER_H 1
8 
9 #include <TObject.h>
10 #include <memory>
11 
12 class CbmDigiManager;
13 class CbmStsCluster;
14 class CbmStsParModule;
15 class CbmStsPhysics;
16 
17 
31 class CbmStsAlgoAnaCluster : public TObject {
32 
33 public:
36 
37 
40 
41 
44 
45 
47  virtual ~CbmStsAlgoAnaCluster() {};
48 
49 
54  void Exec(CbmStsCluster& cluster, const CbmStsParModule* module);
55 
56 
57 private:
62  void AnaSize1(CbmStsCluster& cluster, const CbmStsParModule* modPar);
63 
64 
69  void AnaSize2(CbmStsCluster& cluster, const CbmStsParModule* modPar);
70 
71 
76  void AnaSizeN(CbmStsCluster& cluster, const CbmStsParModule* modPar);
77 
78 
89  Double_t WeightedMean(CbmStsCluster& cluster, const CbmStsParModule* modPar);
90 
91 
92 private:
93  CbmDigiManager* fDigiMan = nullptr;
94  CbmStsPhysics* fPhysics = nullptr;
95 
96 
98 };
99 
100 #endif /* CBMSTSALGOANACLUSTER_H */
CbmStsPhysics
Auxiliary class for physics processes in Silicon.
Definition: CbmStsPhysics.h:24
CbmStsAlgoAnaCluster::ClassDef
ClassDef(CbmStsAlgoAnaCluster, 1)
Instance of physics tool.
CbmStsAlgoAnaCluster::fDigiMan
CbmDigiManager * fDigiMan
Definition: CbmStsAlgoAnaCluster.h:93
CbmStsCluster
Data class for STS clusters.
Definition: CbmStsCluster.h:31
CbmStsAlgoAnaCluster::~CbmStsAlgoAnaCluster
virtual ~CbmStsAlgoAnaCluster()
Destructor.
Definition: CbmStsAlgoAnaCluster.h:47
CbmStsAlgoAnaCluster::CbmStsAlgoAnaCluster
CbmStsAlgoAnaCluster()
Constructor.
CbmStsAlgoAnaCluster::AnaSizeN
void AnaSizeN(CbmStsCluster &cluster, const CbmStsParModule *modPar)
Analyse cluster with more than two digis.
Definition: CbmStsAlgoAnaCluster.cxx:128
CbmStsAlgoAnaCluster::AnaSize2
void AnaSize2(CbmStsCluster &cluster, const CbmStsParModule *modPar)
Analyse two-digi cluster.
Definition: CbmStsAlgoAnaCluster.cxx:49
CbmStsAlgoAnaCluster::CbmStsAlgoAnaCluster
CbmStsAlgoAnaCluster(const CbmStsAlgoAnaCluster &)=delete
Copy constructor (disabled)
CbmStsAlgoAnaCluster::WeightedMean
Double_t WeightedMean(CbmStsCluster &cluster, const CbmStsParModule *modPar)
Weighted mean cluster position.
Definition: CbmStsAlgoAnaCluster.cxx:239
CbmStsParModule
Parameters for one STS module.
Definition: CbmStsParModule.h:28
CbmStsAlgoAnaCluster::AnaSize1
void AnaSize1(CbmStsCluster &cluster, const CbmStsParModule *modPar)
Analyse single-digi cluster.
Definition: CbmStsAlgoAnaCluster.cxx:28
CbmDigiManager
CbmDigiManager.
Definition: CbmDigiManager.h:37
CbmStsAlgoAnaCluster::fPhysics
CbmStsPhysics * fPhysics
Interface to digi data.
Definition: CbmStsAlgoAnaCluster.h:94
CbmStsAlgoAnaCluster::Exec
void Exec(CbmStsCluster &cluster, const CbmStsParModule *module)
Algorithm execution.
Definition: CbmStsAlgoAnaCluster.cxx:220
CbmStsAlgoAnaCluster
Determination of cluster parameters.
Definition: CbmStsAlgoAnaCluster.h:31
CbmStsAlgoAnaCluster::operator=
CbmStsAlgoAnaCluster & operator=(const CbmStsAlgoAnaCluster &)=delete
Assignment operator (disabled)