PandaRoot
PndHypStripDigiPar.h
Go to the documentation of this file.
1 //
2 // C++ Interface: MvdDigiPar
3 //
4 // Description:
5 //
6 //
7 // Author: t.stockmanns <stockman@ikp455>, (C) 2007
8 //
9 // Copyright: See COPYING file that comes with this distribution
10 //
11 //
12 // slightly modified by A. Sanchez for hyp purpose
13 
14 #ifndef PNDHYPSTRIPDIGIPAR_H
15 #define PNDHYPSTRIPDIGIPAR_H
16 
17 #include "FairParGenericSet.h"
18 #include "FairParamList.h"
19 #include <TVector2.h>
20 class PndHypStripDigiPar : public FairParGenericSet {
21  public:
22  PndHypStripDigiPar(const char *name = "PndHypParTest", const char *title = "Hyp digi parameter", const char *context = "TestDefaultContext");
24  void clear(void){};
25  void putParams(FairParamList *list);
26  Bool_t getParams(FairParamList *list);
27  void print();
28 
30  Double_t GetTopPitch() const { return topPitch; }
31  Double_t GetBotPitch() const { return botPitch; }
32  Double_t GetOrient() const { return orient; }
33  Double_t GetSkew() const { return skew; }
34  TVector2 GetTopAnchor() const { return topAnchor; }
35  TVector2 GetBotAnchor() const { return botAnchor; }
36  Int_t GetNrTopFE() const { return topNrFE; }
37  Int_t GetNrBotFE() const { return botNrFE; }
38  Int_t GetNrFECh() const { return feChannels; }
39  Double_t GetThreshold() const { return threshold; }
40  Double_t GetNoise() const { return noise; }
41  const char *GetSensType() const { return fSensType.Data(); }
42  const char *GetFeType() const { return fFeType.Data(); }
43 
44  void SetTopPitch(Double_t x) { topPitch = x; }
45  void SetBotPitch(Double_t x) { botPitch = x; }
46  void SetOrient(Double_t x) { orient = x; }
47  void SetSkew(Double_t x) { skew = x; }
48  void SetTopAnchor(TVector2 x) { topAnchor = x; }
49  void SetBotAnchor(TVector2 x) { botAnchor = x; }
50  void SetNrTopFE(Int_t x) { topNrFE = x; }
51  void SetNrBotFE(Int_t x) { botNrFE = x; }
52  void SetNrFECh(Int_t x) { feChannels = x; }
53  void SetThreshold(Double_t x) { threshold = x; }
54  void SetNoise(Double_t x) { noise = x; }
55  void SetSensType(TString x) { fSensType = x; }
56  void SetFeType(TString x) { fFeType = x; }
57 
58  private:
59  // Strip Parameters
61  Double_t topPitch;
63  Double_t botPitch;
65  Double_t orient;
67  Double_t skew;
69  TVector2 topAnchor;
71  TVector2 botAnchor;
73  Int_t feChannels;
75  Int_t topNrFE;
77  Int_t botNrFE;
78 
80  Double_t threshold;
82  Double_t noise;
83  TString fSensType; // Sensor type name (rect, trap...)
84  TString fFeType; // Frontend type name (APV25, CBM-XYTER, ...)
85 
86  // Text_t sensName; // Sensor name (Strip, Pixel, etc...)
87  // Text_t feName; // Frontend name (APV25, CBM-XYTER, ...)
88 
89  ClassDef(PndHypStripDigiPar, 2);
90 };
91 
92 #endif
Double_t GetNoise() const
Int_t GetNrFECh() const
Double_t GetSkew() const
TVector2 GetBotAnchor() const
void SetTopAnchor(TVector2 x)
void SetBotPitch(Double_t x)
Double_t GetTopPitch() const
void SetBotAnchor(TVector2 x)
void SetNoise(Double_t x)
Double_t GetThreshold() const
Int_t GetNrTopFE() const
void SetSensType(TString x)
TVector2 GetTopAnchor() const
void SetTopPitch(Double_t x)
Int_t GetNrBotFE() const
PndHypStripDigiPar(const char *name="PndHypParTest", const char *title="Hyp digi parameter", const char *context="TestDefaultContext")
Double_t GetBotPitch() const
Double_t GetOrient() const
void SetNrTopFE(Int_t x)
Bool_t getParams(FairParamList *list)
void SetFeType(TString x)
void SetSkew(Double_t x)
void SetThreshold(Double_t x)
void SetOrient(Double_t x)
const char * GetSensType() const
void putParams(FairParamList *list)
void SetNrFECh(Int_t x)
void SetNrBotFE(Int_t x)
const char * GetFeType() const