FairRoot/PandaRoot
PndSdsPixelDigiPar.h
Go to the documentation of this file.
1 //
2 // C++ Interface: PndSdsPixelDigiPar
3 //
4 #ifndef PNDSDSPIXELDIGIPAR_H
5 #define PNDSDSPIXELDIGIPAR_H
6 
7 #include <TVector2.h>
8 #include "FairParGenericSet.h"
9 #include "FairParamList.h"
10 
11 #include <iostream>
12 
14 
15 class PndSdsPixelDigiPar : public FairParGenericSet
16  {
17  public :
18  PndSdsPixelDigiPar (const char* name="PndSdsParTest",
19  const char* title="PndSds pixel digi parameter",
20  const char* context="TestDefaultContext");
22  void clear(void){};
23  void putParams(FairParamList* list);
24  Bool_t getParams(FairParamList* list);
25 
26  virtual void Print (std::ostream& out = std::cout) const;
27  virtual void print(){Print();}
28 
30  dt.Print(out);
31  return out;
32  }
33 
34  Double_t GetXPitch() const {return fDimX;}
35  Double_t GetYPitch() const {return fDimY;}
36  Double_t GetThreshold() const {return fThreshold;}
37  Double_t GetNoise() const {return fNoise;}
38  Double_t GetQCloudSigma() const {return fCSigma;}
39  Int_t GetFECols() const {return fFeCols;}
40  Int_t GetFERows() const {return fFeRows;}
41  Int_t GetMaxFEperCol() const {return fMaxFEperCol;}
42  Int_t GetMaxFEperRow() const {return fMaxFEperRow;}
43  Double_t GetClustRadius() const {return fRadius;}
45  Double_t GetTimeStep() const {return (1./fFeBusClock * 1000.);}
46  Int_t GetChargeConvMethod() const {return fChargeConvMethod;}
49 
50  void SetXPitch(Double_t x) {fDimX = x;}
51  void SetYPitch(Double_t x) {fDimY = x;}
53  void SetNoise(Double_t x) {fNoise = x;}
55  void SetFECols(Int_t x) {fFeCols = x;}
56  void SetFERows(Int_t x) {fFeRows = x;}
57  void SetMaxFEperCol(Int_t x) {fMaxFEperCol = x;}
58  void SetMaxFEperRow(Int_t x) {fMaxFEperRow = x;}
62 
65 
66  private:
67  // Pixel Parameters
68  Int_t fFeCols; // Colums read per Frontend
69  Int_t fFeRows; // Rows read per Frontend
70  Int_t fMaxFEperCol; // maximum number of front-end chip per column on a sensor
71  Int_t fMaxFEperRow; // maximum number of front-end chip per row on a sensor
72  Double_t fDimX; // Pixel cell size X
73  Double_t fDimY; // Pixel cell size Y
74  Double_t fRadius; // Clusterfinder search radius (channel numbers)
75  Double_t fThreshold; // Discriminator Threshold (electrons)
76  Double_t fNoise; // Gaussian electronics noise including threshold dispersion (electrons)
77  Double_t fCSigma; // Gaussian charge cloud smearing
78  Double_t fFeBusClock; // Frontend bus clock to determin noise rate
79  Int_t fChargeConvMethod; // 0: ideal conversion; 1: TOT calculation
80  Double_t fPixelSorterCellWidth; // Parameter for TimeStamp Sorter
81  Int_t fPixelSorterNumberOfCells; // Parameter for TimeStamp Sorter
82  //Text_t fSensName; // Sensor name
83  //Text_t fFeName; // Frontend name
84 
85 
87  };
88 
89 #endif
void SetFeBusClock(Double_t x)
Double_t GetClustRadius() const
Double_t GetXPitch() const
Int_t GetChargeConvMethod() const
virtual void print()
void SetXPitch(Double_t x)
Double_t GetTimeStep() const
Time step of one clock cycle in ns.
PndSdsPixelDigiPar(const char *name="PndSdsParTest", const char *title="PndSds pixel digi parameter", const char *context="TestDefaultContext")
Double_t GetQCloudSigma() const
Double_t GetFeBusClock() const
friend std::ostream & operator<<(std::ostream &out, const PndSdsPixelDigiPar &dt)
Double_t GetNoise() const
void SetThreshold(Double_t x)
void SetNoise(Double_t x)
Int_t GetFERows() const
Int_t GetFECols() const
Double_t
void SetClustRadius(Double_t x)
void SetChargeConvMethod(Int_t x)
Int_t GetPixelSorterNumberOfCells() const
Double_t GetYPitch() const
TFile * out
Definition: reco_muo.C:20
TString name
void putParams(FairParamList *list)
Bool_t getParams(FairParamList *list)
void SetPixelSorterNumberOfCells(Int_t x)
Double_t x
virtual void Print(std::ostream &out=std::cout) const
Int_t GetMaxFEperCol() const
void SetMaxFEperRow(Int_t x)
void SetQCloudSigma(Double_t x)
void SetMaxFEperCol(Int_t x)
Double_t GetPixelSorterCellWidth() const
Int_t GetMaxFEperRow() const
void SetYPitch(Double_t x)
ClassDef(PndSdsPixelDigiPar, 5)
void SetFECols(Int_t x)
void SetFERows(Int_t x)
Double_t GetThreshold() const
void SetPixelSorterCellWidth(Double_t x)
Digitization Parameter Class for SDS-Pixel part.