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