PandaRoot
PndSdsStripDigiPar.h
Go to the documentation of this file.
1 //
2 // C++ Interface: PndSdsStripDigiPar
3 //
4 #ifndef PNDSDSSTRIPDIGIPAR_H
5 #define PNDSDSSTRIPDIGIPAR_H
6 
7 #include <TVector2.h>
8 // #include <TString.h>
9 #include <TObjString.h>
10 
11 #include "FairParGenericSet.h"
12 #include "FairParamList.h"
13 
15 class PndSdsStripDigiPar : public FairParGenericSet {
16  public:
17  PndSdsStripDigiPar(const char *name = "PndSdsParTest", const char *title = "PndSds strip digi parameter", const char *context = "TestDefaultContext");
19  void clear(void){};
20  void putParams(FairParamList *list);
21  Bool_t getParams(FairParamList *list);
22 
23  void Print();
25  Double_t GetTopPitch() const { return fTopPitch; }
26  Double_t GetBotPitch() const { return fBotPitch; }
27  Double_t GetOrient() const { return fOrient; }
28  Double_t GetSkew() const { return fSkew; }
29  TVector2 GetTopAnchor() const { return fTopAnchor; }
30  TVector2 GetBotAnchor() const { return fBotAnchor; }
31  Int_t GetNrTopFE() const { return fTopNrFE; }
32  Int_t GetNrBotFE() const { return fBotNrFE; }
33  Int_t GetNrFECh() const { return fFeChannels; }
34  Double_t GetThreshold() const { return fThreshold; }
35  Double_t GetNoise() const { return fNoise; }
36  Double_t GetQCloudSigma() const { return fCSigma; }
37  const char *GetSensType() const { return fSensType.Data(); }
38  const char *GetFeType() const { return fFeType.Data(); }
39  Double_t GetFeBusClock() const { return fFeBusClock; }
40  Int_t GetClusterMod() const { return fClusterMod; }
41  Int_t GetClusterMean() const { return fClusterMean; }
42  Int_t GetRadChannel() const { return fRadChannel; }
43  Int_t GetRadTime() const { return fRadTime; }
44  Double_t GetChargeCut() const { return fChargeCut; }
45  Double_t GetSingleChargeCut() const { return fSingleChargeCut; }
46  Int_t GetChargeConvMethod() const { return fChargeConvMethod; }
47 
48  void SetTopPitch(Double_t x) { fTopPitch = x; }
49  void SetBotPitch(Double_t x) { fBotPitch = x; }
50  void SetOrient(Double_t x) { fOrient = x; }
51  void SetSkew(Double_t x) { fSkew = x; }
52  void SetTopAnchor(TVector2 x) { fTopAnchor = x; }
53  void SetBotAnchor(TVector2 x) { fBotAnchor = x; }
54  void SetNrTopFE(Int_t x) { fTopNrFE = x; }
55  void SetNrBotFE(Int_t x) { fBotNrFE = x; }
56  void SetNrFECh(Int_t x) { fFeChannels = x; }
57  void SetThreshold(Double_t x) { fThreshold = x; }
58  void SetNoise(Double_t x) { fNoise = x; }
59  void SetQCloudSigma(Double_t x) { fCSigma = x; }
60  void SetSensType(TString x) { fSensType = x; }
61  void SetFeType(TString x) { fFeType = x; }
62  void SetFeBusClock(Double_t x) { fFeBusClock = x; }
63  void SetClusterMod(Int_t x) { fClusterMod = x; }
64  void SetClusterMean(Int_t x) { fClusterMean = x; }
65  void SetRadChnnel(Int_t x) { fRadChannel = x; }
66  void SetRadTime(Int_t x) { fRadTime = x; }
67  void SetChargeCut(Double_t x) { fChargeCut = x; }
68  void SetSingleChargeCut(Double_t x) { fSingleChargeCut = x; }
69  void SetChargeConvMethod(Int_t x) { fChargeConvMethod = x; }
70 
71  private:
72  // Strip Parameters
73  Double_t fTopPitch; // Strip pitch on top wafer side
74  Double_t fBotPitch; // Strip pitch on bottom wafer side
75  Double_t fOrient; // orientation angle of top strips
76  Double_t fSkew; // skew angle of bottom strips wrt top strips
77  Double_t fThreshold; // Discriminator threshold
78  Double_t fNoise; // Complete noise including threshold dispersion
79  Double_t fCSigma; // Gaussian charge cloud sigma
80  Double_t fChargeCut; // Cluster charge corralation for double sided sensors
81  Double_t fSingleChargeCut; // Charge Threshold for single-strip clusters
82  Double_t fFeBusClock; // Frontend bus clock to determin noise rate
83  TVector2 fTopAnchor; // Anchor point of top strip#0
84  TVector2 fBotAnchor; // Anchor point of bottom strip#0
85  Int_t fFeChannels; // Number of Channels per FE
86  Int_t fTopNrFE; // Number of FE attached to top wafer side
87  Int_t fBotNrFE; // Number of FE attached to bottom wafer side
88  Int_t fClusterMod; // Clusterfinder mode: 1,2,3,4,5
89  Int_t fClusterMean; // Clusterfinder mean Algo: 0,1
90  Int_t fRadChannel; // Clusterfinder channel search radius
91  Int_t fRadTime; // Clusterfinder timing search radius
92  TString fSensType; // Sensor type name (rect, trap...)
93  TString fFeType; // Frontend type name (APV25, CBM-XYTER, ...)
94  Int_t fChargeConvMethod; // 0: ideal conversion; 1: TOT calculation
95 
96  ClassDef(PndSdsStripDigiPar, 4);
97 };
98 
99 #endif /* !PNDSDSSTRIPDIGIPAR_H*/
void SetOrient(Double_t x)
Double_t GetTopPitch() const
void SetChargeConvMethod(Int_t x)
void SetRadTime(Int_t x)
const char * GetSensType() const
Double_t GetFeBusClock() const
void SetNrBotFE(Int_t x)
void SetClusterMean(Int_t x)
Double_t GetQCloudSigma() const
void SetBotPitch(Double_t x)
Double_t GetBotPitch() const
void SetTopPitch(Double_t x)
void putParams(FairParamList *list)
void SetChargeCut(Double_t x)
Int_t GetRadChannel() const
TVector2 GetTopAnchor() const
Int_t GetChargeConvMethod() const
void SetSingleChargeCut(Double_t x)
Double_t GetNoise() const
void SetBotAnchor(TVector2 x)
Int_t GetClusterMean() const
void SetNoise(Double_t x)
void SetTopAnchor(TVector2 x)
Digitization Parameter Class for MVD-Strip part.
Double_t GetSkew() const
Double_t GetSingleChargeCut() const
void SetNrFECh(Int_t x)
Int_t GetClusterMod() const
void SetClusterMod(Int_t x)
void SetQCloudSigma(Double_t x)
void SetSensType(TString x)
Int_t GetNrBotFE() const
Int_t GetNrFECh() const
Double_t GetOrient() const
void SetRadChnnel(Int_t x)
void SetNrTopFE(Int_t x)
Int_t GetNrTopFE() const
void SetFeType(TString x)
Int_t GetRadTime() const
TVector2 GetBotAnchor() const
const char * GetFeType() const
void SetFeBusClock(Double_t x)
void SetThreshold(Double_t x)
Bool_t getParams(FairParamList *list)
Double_t GetThreshold() const
void SetSkew(Double_t x)
PndSdsStripDigiPar(const char *name="PndSdsParTest", const char *title="PndSds strip digi parameter", const char *context="TestDefaultContext")
Double_t GetChargeCut() const