PandaRoot
BSEmcClusteringPar.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 // -------------------------------------------------------------------------
14 // ----- BSEmcClusteringPar
15 // -----
16 // ----- Created 29/04/2019 by B. Salisbury <salisbury@hiskp.uni-bonn.de>
17 // -------------------------------------------------------------------------
18 
19 #ifndef BSEMCCLUSTERINGPAR_HH
20 #define BSEMCCLUSTERINGPAR_HH
21 
22 #include <string>
23 
24 #include "Rtypes.h"
25 #include "RtypesCore.h"
26 #include "TObject.h"
27 
28 #include "FairParGenericSet.h"
29 
30 class FairParamList;
31 class TBuffer;
32 class TClass;
33 class TMemberInspector;
34 
43 class BSEmcClusteringPar : public FairParGenericSet {
44  public:
45  static const std::string fgParameterName;
46  BSEmcClusteringPar(const char *t_name = "EmcClusteringPar", const char *t_title = "Emc Geometry Version Flag", const char *t_context = "TestDefaultContext");
47  ~BSEmcClusteringPar(void);
48  void clear(void) /*override*/;
49 
50  Double_t GetDigiEnergyThreshold() const { return fDigiEnergyThreshold; }
51  Double_t GetClusterActiveTime() const { return fClusterActiveTime; }
52 
53  Double_t GetMaximumsEnergyThreshold() const { return fMaximumsEnergyThreshold; }
54  Double_t GetCutSlope() const { return fCutSlope; }
55  Double_t GetCutOffset() const { return fCutOffset; }
56  Double_t GetERatioCorr() const { return fERatioCorr; }
57  Double_t GetNeighbourECut() const { return fNeighbourECut; }
58 
59  Double_t GetMoliereRadius() const { return fMoliereRadius; }
60  Double_t GetExponentialConstant() const { return fExponentialConstant; }
61  Int_t GetMaxIterations() const { return fMaxIterations; }
62  Double_t GetCentroidShift() const { return fCentroidShift; }
63  Int_t GetMaxSubClusters() const { return fMaxSubClusters; }
64  Double_t GetMinDigiEnergy() const { return fMinDigiEnergy; }
65 
66  Double_t GetClusterEnergyCut() const { return fClusterEnergyCut; }
67  Double_t GetSearchConeAngle() const { return fSearchConeAngle; }
68 
69  void putParams(FairParamList * /*unused*/) /*override*/;
70  Bool_t getParams(FairParamList * /*unused*/) /*override*/;
71 
72  private:
73  // MakeDigiCluster
74  Double_t fDigiEnergyThreshold{-1};
75  Double_t fClusterActiveTime{-1};
76  // LocalMaxFinder
77  Double_t fMaximumsEnergyThreshold{-1};
78  Double_t fCutSlope{-1};
79  Double_t fCutOffset{-1};
80  Double_t fERatioCorr{-1};
81  Double_t fNeighbourECut{-1};
82 
83  // ExpClusterSplitter
84  Double_t fMoliereRadius{-1};
85  Double_t fExponentialConstant{-1};
86  Int_t fMaxIterations{-1};
87  Double_t fCentroidShift{-1};
88  Int_t fMaxSubClusters{-1};
89  Double_t fMinDigiEnergy{-1};
90 
91  Double_t fClusterEnergyCut{-1};
92  Double_t fSearchConeAngle{-1};
93 
94  ClassDef(BSEmcClusteringPar, 2)
95 };
96 
97 #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")