FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PixelDigiPar.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 /*
9  * PixelHit.h
10  *
11  * Created on: 17.02.2016
12  * Author: R. Karabowicz
13  */
14 
15 #ifndef PIXELDIGIPAR_H
16 #define PIXELDIGIPAR_H
17 
18 #include "FairParGenericSet.h" // for FairParGenericSet
19 
20 #include <Rtypes.h> // for PixelDigiPar::Class, ClassDef, PixelD...
21 class FairParamList;
22 
25 {
26  public:
27  PixelDigiPar(const char* name = "PixelDigiParameters",
28  const char* title = "Pixel digi parameters",
29  const char* context = "TestDefaultContext");
30  ~PixelDigiPar(void);
31  void clear(void){};
32  void putParams(FairParamList* list);
33  Bool_t getParams(FairParamList* list);
34 
35  void Print(Option_t*) const;
36 
37  Double_t GetXPitch() const { return fDimX; }
38  Double_t GetYPitch() const { return fDimY; }
39  Double_t GetThreshold() const { return fThreshold; }
40  Double_t GetNoise() const { return fNoise; }
41  Double_t GetQCloudSigma() const { return fCSigma; }
42  Int_t GetFECols() const { return fFeCols; }
43  Int_t GetFERows() const { return fFeRows; }
44  Int_t GetMaxFEperCol() const { return fMaxFEperCol; }
45  Double_t GetClustRadius() const { return fRadius; }
46  Double_t GetFeBusClock() const { return fFeBusClock; }
47  Double_t GetTimeStep() const { return (1. / fFeBusClock * 1000.); }
48  Int_t GetChargeConvMethod() const { return fChargeConvMethod; }
49  Double_t GetPixelSorterCellWidth() const { return fPixelSorterCellWidth; }
50  Int_t GetPixelSorterNumberOfCells() const { return fPixelSorterNumberOfCells; }
51 
52  void SetXPitch(Double_t x) { fDimX = x; }
53  void SetYPitch(Double_t x) { fDimY = x; }
54  void SetThreshold(Double_t x) { fThreshold = x; }
55  void SetNoise(Double_t x) { fNoise = x; }
56  void SetQCloudSigma(Double_t x) { fCSigma = x; }
57  void SetFECols(Int_t x) { fFeCols = x; }
58  void SetFERows(Int_t x) { fFeRows = x; }
59  void SetMaxFEperCol(Int_t x) { fMaxFEperCol = x; }
60  void SetClustRadius(Double_t x) { fRadius = x; }
61  void SetFeBusClock(Double_t x) { fFeBusClock = x; }
62  void SetChargeConvMethod(Int_t x) { fChargeConvMethod = x; }
63  void SetPixelSorterCellWidth(Double_t x) { fPixelSorterCellWidth = x; }
64  void SetPixelSorterNumberOfCells(Int_t x) { fPixelSorterNumberOfCells = x; }
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; // max number of Frontend elemens per column
71  Double_t fDimX; // Pixel cell size X
72  Double_t fDimY; // Pixel cell size Y
73  Double_t fRadius; // Clusterfinder search radius (channel numbers)
74  Double_t fThreshold; // Discriminator Threshold (electrons)
75  Double_t fNoise; // Gaussian electronics noise including threshold dispersion (electrons)
76  Double_t fCSigma; // Gaussian charge cloud smearing
77  Double_t fFeBusClock; // Frontend bus clock to determin noise rate
78  Int_t fChargeConvMethod; // 0: ideal conversion; 1: TOT calculation
79  Double_t fPixelSorterCellWidth; // Parameter for TimeStamp Sorter
80  Int_t fPixelSorterNumberOfCells; // Parameter for TimeStamp Sorter
81 
82  ClassDef(PixelDigiPar, 1);
83 };
84 
85 #endif
Double_t GetNoise() const
Definition: PixelDigiPar.h:40
void Print(Option_t *) const
PixelDigiPar(const char *name="PixelDigiParameters", const char *title="Pixel digi parameters", const char *context="TestDefaultContext")
void SetThreshold(Double_t x)
Definition: PixelDigiPar.h:54
void SetPixelSorterCellWidth(Double_t x)
Definition: PixelDigiPar.h:63
Double_t GetYPitch() const
Definition: PixelDigiPar.h:38
Double_t GetThreshold() const
Definition: PixelDigiPar.h:39
Int_t GetFERows() const
Definition: PixelDigiPar.h:43
Double_t GetClustRadius() const
Definition: PixelDigiPar.h:45
Digitization Parameter Class for Pixel detector.
Definition: PixelDigiPar.h:24
void SetNoise(Double_t x)
Definition: PixelDigiPar.h:55
~PixelDigiPar(void)
void putParams(FairParamList *list)
Int_t GetChargeConvMethod() const
Definition: PixelDigiPar.h:48
void SetFeBusClock(Double_t x)
Definition: PixelDigiPar.h:61
void SetYPitch(Double_t x)
Definition: PixelDigiPar.h:53
Double_t GetQCloudSigma() const
Definition: PixelDigiPar.h:41
void SetFERows(Int_t x)
Definition: PixelDigiPar.h:58
Int_t GetFECols() const
Definition: PixelDigiPar.h:42
void SetFECols(Int_t x)
Definition: PixelDigiPar.h:57
Double_t GetTimeStep() const
Time step of one clock cycle in ns.
Definition: PixelDigiPar.h:47
void SetQCloudSigma(Double_t x)
Definition: PixelDigiPar.h:56
Double_t GetFeBusClock() const
Definition: PixelDigiPar.h:46
void SetXPitch(Double_t x)
Definition: PixelDigiPar.h:52
void SetChargeConvMethod(Int_t x)
Definition: PixelDigiPar.h:62
void clear(void)
Definition: PixelDigiPar.h:31
Double_t GetXPitch() const
Definition: PixelDigiPar.h:37
Bool_t getParams(FairParamList *list)
void SetClustRadius(Double_t x)
Definition: PixelDigiPar.h:60
Int_t GetMaxFEperCol() const
Definition: PixelDigiPar.h:44
Int_t GetPixelSorterNumberOfCells() const
Definition: PixelDigiPar.h:50
Double_t GetPixelSorterCellWidth() const
Definition: PixelDigiPar.h:49
void SetMaxFEperCol(Int_t x)
Definition: PixelDigiPar.h:59
void SetPixelSorterNumberOfCells(Int_t x)
Definition: PixelDigiPar.h:64