PandaRoot
PndEmcRecoPar.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 //#pragma once
14 #ifndef PNDEMCRECOPAR_H
15 #define PNDEMCRECOPAR_H
16 
17 #include <TArrayD.h>
18 #include "FairParGenericSet.h"
19 #include "FairParamList.h"
20 
25 class PndEmcRecoPar : public FairParGenericSet
26 {
27  public :
28  Double_t GetEnergyThresholdBarrel() {return fEnergyThresholdBarrel;};
29  Double_t GetEnergyThresholdFWD() {return fEnergyThresholdFWD;};
30  Double_t GetEnergyThresholdBWD() {return fEnergyThresholdBWD;};
31  Double_t GetEnergyThresholdShashlyk() {return fEnergyThresholdShashlyk;};
32  Double_t GetClusterActiveTime() {return fTimebunchCutTime;};
33  Text_t* GetEmcClusterPosMethod() {return fEmcClusterPosMethod;};
34  Double_t GetOffsetParmA() {return fOffsetParmA;};
35  Double_t GetOffsetParmB() {return fOffsetParmB;};
36  Double_t GetOffsetParmC() {return fOffsetParmC;};
37  Double_t GetEmcDigiPositionDepthPWO() {return fEmcDigiPositionDepthPWO;};
38  Double_t GetEmcDigiPositionDepthShashlyk() {return fEmcDigiPositionDepthShashlyk;};
39  Double_t GetMaxECut() {return fMaxECut;};
40  Double_t GetNeighbourECut() {return fNeighbourECut;};
41  Double_t GetCutSlope() {return fCutSlope;};
42  Double_t GetCutOffset() {return fCutOffset;};
43  Double_t GetERatioCorr() {return fERatioCorr;};
44  Int_t GetTheNeighbourLevel() {return fTheNeighbourLevel;};
45  Double_t GetMoliereRadius() {return fMoliereRadius;};
46  Double_t GetMoliereRadiusShashlyk() {return fMoliereRadiusShashlyk;};
47  Double_t GetExponentialConstant() {return fExponentialConstant;};
48  TArrayD GetParArray1() {return fParArray1;};
49  TArrayD GetParArray2() {return fParArray2;};
50  TArrayD GetParArray3() {return fParArray3;};
51  TArrayD GetParArray4() {return fParArray4;};
52  Int_t GetMaxIterations() {return fMaxIterations;};
53  Double_t GetCentroidShift() {return fCentroidShift;};
54  Int_t GetMaxBumps() {return fMaxBumps;};
55  Double_t GetMinDigiEnergy() {return fMinDigiEnergy;};
56 
57 
58  PndEmcRecoPar (const char* name="PndEmcRecoPar",
59  const char* title="Emc reconstruction parameter",
60  const char* context="TestDefaultContext");
61  ~PndEmcRecoPar(void){};
62  void clear(void){};
63  void putParams(FairParamList* list);
64  Bool_t getParams(FairParamList* list);
65 
66  private :
67  Double_t fEnergyThresholdBarrel; // Single crystal energy threshold for barrel EMC
68  Double_t fEnergyThresholdFWD; // Single crystal energy threshold for forward endcup EMC
69  Double_t fEnergyThresholdBWD; // Single crystal energy threshold for backward endcup EMC
70  Double_t fEnergyThresholdShashlyk; // Single crystal energy threshold for shashlyk calorimeter
71  Double_t fTimebunchCutTime; //time to keep cluster open in timebased clustering
72 
73  // Method to determine digi position
74  Text_t fEmcClusterPosMethod[10]; // lilo, linear
75 
76  // The following 3 parameters are parameters for PndEmcClusterLiloPos to determine cluster position
77  Double_t fOffsetParmA;
78  Double_t fOffsetParmB;
79  Double_t fOffsetParmC;
80 
81  Double_t fEmcDigiPositionDepthPWO;
82  Double_t fEmcDigiPositionDepthShashlyk;
83 
84  // the following parameters are connected with bump splitting
85  // parameters for PndEmc2DLocMaxFinder:
86  Double_t fMaxECut;
87  Double_t fNeighbourECut;
88  Double_t fCutSlope;
89  Double_t fCutOffset;
90  Double_t fERatioCorr;
91  Int_t fTheNeighbourLevel;
92  // parameters for PndEmcExpClusterSplitter:
93  Double_t fMoliereRadius;
94  Double_t fMoliereRadiusShashlyk;
95  Double_t fExponentialConstant;
96  TArrayD fParArray1;
97  TArrayD fParArray2;
98  TArrayD fParArray3;
99  TArrayD fParArray4;
100  Int_t fMaxIterations;
101  Double_t fCentroidShift;
102  Int_t fMaxBumps;
103  Double_t fMinDigiEnergy;
104 
105 
106  ClassDef(PndEmcRecoPar, 2);
107 };
108 
109 #endif
Double_t GetCutOffset()
Definition: PndEmcRecoPar.h:42
Double_t GetERatioCorr()
Definition: PndEmcRecoPar.h:43
Double_t GetEmcDigiPositionDepthShashlyk()
Definition: PndEmcRecoPar.h:38
Double_t GetNeighbourECut()
Definition: PndEmcRecoPar.h:40
Double_t GetMoliereRadius()
Definition: PndEmcRecoPar.h:45
void clear(void)
Definition: PndEmcRecoPar.h:62
TArrayD GetParArray2()
Definition: PndEmcRecoPar.h:49
Double_t GetEnergyThresholdBarrel()
Definition: PndEmcRecoPar.h:28
Double_t GetCentroidShift()
Definition: PndEmcRecoPar.h:53
Double_t GetMinDigiEnergy()
Definition: PndEmcRecoPar.h:55
Double_t GetOffsetParmB()
Definition: PndEmcRecoPar.h:35
Double_t GetOffsetParmC()
Definition: PndEmcRecoPar.h:36
TArrayD GetParArray3()
Definition: PndEmcRecoPar.h:50
~PndEmcRecoPar(void)
Definition: PndEmcRecoPar.h:61
Int_t GetMaxBumps()
Definition: PndEmcRecoPar.h:54
Double_t GetExponentialConstant()
Definition: PndEmcRecoPar.h:47
Int_t GetTheNeighbourLevel()
Definition: PndEmcRecoPar.h:44
Double_t GetClusterActiveTime()
Definition: PndEmcRecoPar.h:32
TArrayD GetParArray1()
Definition: PndEmcRecoPar.h:48
Double_t GetMoliereRadiusShashlyk()
Definition: PndEmcRecoPar.h:46
Double_t GetEnergyThresholdFWD()
Definition: PndEmcRecoPar.h:29
void putParams(FairParamList *list)
Double_t GetOffsetParmA()
Definition: PndEmcRecoPar.h:34
Double_t GetMaxECut()
Definition: PndEmcRecoPar.h:39
Double_t GetCutSlope()
Definition: PndEmcRecoPar.h:41
TArrayD GetParArray4()
Definition: PndEmcRecoPar.h:51
Bool_t getParams(FairParamList *list)
Double_t GetEnergyThresholdShashlyk()
Definition: PndEmcRecoPar.h:31
Int_t GetMaxIterations()
Definition: PndEmcRecoPar.h:52
PndEmcRecoPar(const char *name="PndEmcRecoPar", const char *title="Emc reconstruction parameter", const char *context="TestDefaultContext")
Text_t * GetEmcClusterPosMethod()
Definition: PndEmcRecoPar.h:33
Double_t GetEnergyThresholdBWD()
Definition: PndEmcRecoPar.h:30
Parameter set for Emc Reco.
Definition: PndEmcRecoPar.h:25
Double_t GetEmcDigiPositionDepthPWO()
Definition: PndEmcRecoPar.h:37