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