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