PandaRoot
PndHypStripDigiPar.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 //
14 // C++ Interface: MvdDigiPar
15 //
16 // Description:
17 //
18 //
19 // Author: t.stockmanns <stockman@ikp455>, (C) 2007
20 //
21 // Copyright: See COPYING file that comes with this distribution
22 //
23 //
24 // slightly modified by A. Sanchez for hyp purpose
25 
26 #ifndef PNDHYPSTRIPDIGIPAR_H
27 #define PNDHYPSTRIPDIGIPAR_H
28 
29 #include "FairParGenericSet.h"
30 #include "FairParamList.h"
31 #include <TVector2.h>
32 class PndHypStripDigiPar : public FairParGenericSet {
33  public:
34  PndHypStripDigiPar(const char *name = "PndHypParTest", const char *title = "Hyp digi parameter", const char *context = "TestDefaultContext");
36  void clear(void){};
37  void putParams(FairParamList *list);
38  Bool_t getParams(FairParamList *list);
39  void print();
40 
42  Double_t GetTopPitch() const { return topPitch; }
43  Double_t GetBotPitch() const { return botPitch; }
44  Double_t GetOrient() const { return orient; }
45  Double_t GetSkew() const { return skew; }
46  TVector2 GetTopAnchor() const { return topAnchor; }
47  TVector2 GetBotAnchor() const { return botAnchor; }
48  Int_t GetNrTopFE() const { return topNrFE; }
49  Int_t GetNrBotFE() const { return botNrFE; }
50  Int_t GetNrFECh() const { return feChannels; }
51  Double_t GetThreshold() const { return threshold; }
52  Double_t GetNoise() const { return noise; }
53  const char *GetSensType() const { return fSensType.Data(); }
54  const char *GetFeType() const { return fFeType.Data(); }
55 
56  void SetTopPitch(Double_t x) { topPitch = x; }
57  void SetBotPitch(Double_t x) { botPitch = x; }
58  void SetOrient(Double_t x) { orient = x; }
59  void SetSkew(Double_t x) { skew = x; }
60  void SetTopAnchor(TVector2 x) { topAnchor = x; }
61  void SetBotAnchor(TVector2 x) { botAnchor = x; }
62  void SetNrTopFE(Int_t x) { topNrFE = x; }
63  void SetNrBotFE(Int_t x) { botNrFE = x; }
64  void SetNrFECh(Int_t x) { feChannels = x; }
65  void SetThreshold(Double_t x) { threshold = x; }
66  void SetNoise(Double_t x) { noise = x; }
67  void SetSensType(TString x) { fSensType = x; }
68  void SetFeType(TString x) { fFeType = x; }
69 
70  private:
71  // Strip Parameters
73  Double_t topPitch;
75  Double_t botPitch;
77  Double_t orient;
79  Double_t skew;
81  TVector2 topAnchor;
83  TVector2 botAnchor;
85  Int_t feChannels;
87  Int_t topNrFE;
89  Int_t botNrFE;
90 
92  Double_t threshold;
94  Double_t noise;
95  TString fSensType; // Sensor type name (rect, trap...)
96  TString fFeType; // Frontend type name (APV25, CBM-XYTER, ...)
97 
98  // Text_t sensName; // Sensor name (Strip, Pixel, etc...)
99  // Text_t feName; // Frontend name (APV25, CBM-XYTER, ...)
100 
101  ClassDef(PndHypStripDigiPar, 2);
102 };
103 
104 #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