PandaRoot
BSEmcClusteringPar.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- BSEmcClusteringPar
3 // -----
4 // ----- Created 29/04/2019 by B. Salisbury <salisbury@hiskp.uni-bonn.de>
5 // -------------------------------------------------------------------------
6 
7 #ifndef BSEMCCLUSTERINGPAR_HH
8 #define BSEMCCLUSTERINGPAR_HH
9 
10 #include <string>
11 
12 #include "Rtypes.h"
13 #include "RtypesCore.h"
14 #include "TObject.h"
15 
16 #include "FairParGenericSet.h"
17 
18 class FairParamList;
19 class TBuffer;
20 class TClass;
21 class TMemberInspector;
22 
31 class BSEmcClusteringPar : public FairParGenericSet {
32  public:
33  static const std::string fgParameterName;
34  BSEmcClusteringPar(const char *t_name = "EmcClusteringPar", const char *t_title = "Emc Geometry Version Flag", const char *t_context = "TestDefaultContext");
35  ~BSEmcClusteringPar(void);
36  void clear(void) /*override*/;
37 
38  Double_t GetDigiEnergyThreshold() const { return fDigiEnergyThreshold; }
39  Double_t GetClusterActiveTime() const { return fClusterActiveTime; }
40 
41  Double_t GetMaximumsEnergyThreshold() const { return fMaximumsEnergyThreshold; }
42  Double_t GetCutSlope() const { return fCutSlope; }
43  Double_t GetCutOffset() const { return fCutOffset; }
44  Double_t GetERatioCorr() const { return fERatioCorr; }
45  Double_t GetNeighbourECut() const { return fNeighbourECut; }
46 
47  Double_t GetMoliereRadius() const { return fMoliereRadius; }
48  Double_t GetExponentialConstant() const { return fExponentialConstant; }
49  Int_t GetMaxIterations() const { return fMaxIterations; }
50  Double_t GetCentroidShift() const { return fCentroidShift; }
51  Int_t GetMaxSubClusters() const { return fMaxSubClusters; }
52  Double_t GetMinDigiEnergy() const { return fMinDigiEnergy; }
53 
54  Double_t GetClusterEnergyCut() const { return fClusterEnergyCut; }
55  Double_t GetSearchConeAngle() const { return fSearchConeAngle; }
56 
57  void putParams(FairParamList * /*unused*/) /*override*/;
58  Bool_t getParams(FairParamList * /*unused*/) /*override*/;
59 
60  private:
61  // MakeDigiCluster
62  Double_t fDigiEnergyThreshold{-1};
63  Double_t fClusterActiveTime{-1};
64  // LocalMaxFinder
65  Double_t fMaximumsEnergyThreshold{-1};
66  Double_t fCutSlope{-1};
67  Double_t fCutOffset{-1};
68  Double_t fERatioCorr{-1};
69  Double_t fNeighbourECut{-1};
70 
71  // ExpClusterSplitter
72  Double_t fMoliereRadius{-1};
73  Double_t fExponentialConstant{-1};
74  Int_t fMaxIterations{-1};
75  Double_t fCentroidShift{-1};
76  Int_t fMaxSubClusters{-1};
77  Double_t fMinDigiEnergy{-1};
78 
79  Double_t fClusterEnergyCut{-1};
80  Double_t fSearchConeAngle{-1};
81 
82  ClassDef(BSEmcClusteringPar, 2)
83 };
84 
85 #endif /*BSEMCCLUSTERINGPAR_HH*/
Container for clustering parameter.
Bool_t getParams(FairParamList *)
Int_t GetMaxSubClusters() const
Double_t GetCentroidShift() const
Double_t GetDigiEnergyThreshold() const
Int_t GetMaxIterations() const
Double_t GetMaximumsEnergyThreshold() const
Double_t GetClusterEnergyCut() const
Double_t GetSearchConeAngle() const
static const std::string fgParameterName
Double_t GetExponentialConstant() const
Double_t GetNeighbourECut() const
Double_t GetClusterActiveTime() const
Double_t GetERatioCorr() const
Double_t GetCutOffset() const
Double_t GetCutSlope() const
void putParams(FairParamList *)
Double_t GetMinDigiEnergy() const
Double_t GetMoliereRadius() const
BSEmcClusteringPar(const char *t_name="EmcClusteringPar", const char *t_title="Emc Geometry Version Flag", const char *t_context="TestDefaultContext")