CbmRoot
CbmMvdSensorDataSheet.cxx
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- CbmMvdSensorDataSheet source file -----
3 // ----- Created 31/01/11 by M. Deveaux -----
4 // -------------------------------------------------------------------------
5 
7 #include "TMath.h"
8 
9 #include <iostream>
10 
11 
12 using std::cout;
13 using std::endl;
14 
15 
16 // ----- Default constructor -------------------------------------------
18  : TNamed()
19  , fMimosaName("DefaulSensor")
20  , fPixelPitchX(18.4e-4)
21  , fPixelPitchY(18.4e-4)
22  , fNPixelsX(0)
23  , fNPixelsY(0)
24  , fNPixels(0)
25  , fPixelSignX(1)
26  , fPixelSignY(1)
27  , fShutterSign(1)
28  , fIntegrationTime(50e3)
29  , fEpiTh(14e-4)
30  , fChargeThreshold()
31  , fNoise(0)
32  , fLandauMPV(8.62131e+02)
33  , fLandauSigma(2.e+02)
34  , fLandauGain(1.56)
35  , fLorentzPar0(4.12073e+02)
36  , fLorentzPar1(0.8e+00)
37  , fLorentzPar2(0.)
38  , fAdcDynamic(150)
39  , fAdcOffset(0)
40  , fAdcBits(1)
41  , fAdcSteps(TMath::Power(2, fAdcBits))
42  , fStatesPerBank(0)
43  , fStatesPerLine(0)
44  , fStatesPerFrame(0)
45  , fPixelsPerBank(0)
46  , fAdcStepSize(fAdcDynamic / fAdcSteps)
47  , fValidData(kFALSE) {}
48 
49 // ----- Destructor ----------------------------------------------------
51 // -------------------------------------------------------------------------
52 
53 
54 // ----- Public method Print -------------------------------------------
55 void CbmMvdSensorDataSheet::Print(Option_t* /*opt*/) const {
56  cout << " --- " << GetName() << "--------------------------------" << endl;
57  cout << " Technical Data:" << endl;
58  cout << "--------------------------" << endl;
59  cout << "Name of the sensor: " << fMimosaName << endl;
60  cout << "Pixel pitch (x/y) [µm]: " << fPixelPitchY * 1e4 << "/"
61  << fPixelPitchY * 1e-4 << endl;
62  cout << "N Pixels (rows/cols): " << fNPixelsX << "/" << fNPixelsY << endl;
63  cout << "Thickness of active volume[µm]: " << fEpiTh * 1e4 << endl;
64  cout << "Integration time [µs]: " << fIntegrationTime * 1e6 << endl;
65  cout << "ADC resolution: " << fAdcBits << "bit ADC (1 = discriminator)"
66  << endl;
67  cout << "Default noise [e ENC]: " << fNoise << endl;
68  cout << "Matrix size (x/y) [cm]: " << fPixelPitchX * fNPixelsX << " / "
69  << fPixelPitchY * fNPixelsY << endl;
70  cout << endl;
71  cout << "Readout system: " << endl;
72  cout << "----------------" << endl;
73  cout << "PixelNmb X from left to right?: " << fPixelSignX << endl;
74  cout << "PixelNmb Y from up to down?: " << fPixelSignY << endl;
75  cout << "Rolling shutter from up to down?: " << fShutterSign << endl;
76  cout << endl;
77  cout << "ADC / SUZE -Settings: " << endl;
78  cout << "----------------" << endl;
79  cout << "ADC Range [e]: " << fAdcDynamic << endl;
80  cout << "ADC offset [e]: " << fAdcOffset << endl;
81  cout << "ADC stepsize [e]: " << fAdcStepSize << endl;
82  cout << "SUZE states per banks: " << fStatesPerBank << endl;
83  cout << "SUZE states per line : " << fStatesPerLine << endl;
84  cout << "SUZE states per frame: " << fStatesPerFrame << endl;
85  cout << "SUZE pixels per bank: " << fPixelsPerBank << endl;
86  cout << endl;
87  cout << "Data card properly initialized: " << fValidData << endl;
88 }
89 // -------------------------------------------------------------------------
90 
91 
CbmMvdSensorDataSheet::CbmMvdSensorDataSheet
CbmMvdSensorDataSheet()
Definition: CbmMvdSensorDataSheet.cxx:17
CbmMvdSensorDataSheet::fPixelPitchY
Double_t fPixelPitchY
Definition: CbmMvdSensorDataSheet.h:38
CbmMvdSensorDataSheet::fIntegrationTime
Double_t fIntegrationTime
Definition: CbmMvdSensorDataSheet.h:48
CbmMvdSensorDataSheet::fPixelPitchX
Double_t fPixelPitchX
Definition: CbmMvdSensorDataSheet.h:37
CbmMvdSensorDataSheet::fShutterSign
Int_t fShutterSign
Definition: CbmMvdSensorDataSheet.h:46
CbmMvdSensorDataSheet::fPixelSignY
Int_t fPixelSignY
Definition: CbmMvdSensorDataSheet.h:44
CbmMvdSensorDataSheet::fStatesPerBank
Int_t fStatesPerBank
Definition: CbmMvdSensorDataSheet.h:68
CbmMvdSensorDataSheet::Print
virtual void Print(Option_t *opt="") const
Definition: CbmMvdSensorDataSheet.cxx:55
CbmMvdSensorDataSheet::fStatesPerFrame
Int_t fStatesPerFrame
Definition: CbmMvdSensorDataSheet.h:70
CbmMvdSensorDataSheet::fAdcDynamic
Int_t fAdcDynamic
Definition: CbmMvdSensorDataSheet.h:64
CbmMvdSensorDataSheet::fPixelSignX
Int_t fPixelSignX
Definition: CbmMvdSensorDataSheet.h:42
CbmMvdSensorDataSheet::fNPixelsX
Int_t fNPixelsX
Definition: CbmMvdSensorDataSheet.h:39
CbmMvdSensorDataSheet::fValidData
Bool_t fValidData
Definition: CbmMvdSensorDataSheet.h:76
CbmMvdSensorDataSheet::fNPixelsY
Int_t fNPixelsY
Definition: CbmMvdSensorDataSheet.h:40
CbmMvdSensorDataSheet::fNoise
Double_t fNoise
Definition: CbmMvdSensorDataSheet.h:54
ClassImp
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
Definition: CbmConverterManager.cxx:12
CbmMvdSensorDataSheet::fEpiTh
Double_t fEpiTh
Definition: CbmMvdSensorDataSheet.h:49
CbmMvdSensorDataSheet::fStatesPerLine
Int_t fStatesPerLine
Definition: CbmMvdSensorDataSheet.h:69
CbmMvdSensorDataSheet::fMimosaName
TString fMimosaName
Definition: CbmMvdSensorDataSheet.h:36
CbmMvdSensorDataSheet::fAdcOffset
Int_t fAdcOffset
Definition: CbmMvdSensorDataSheet.h:65
CbmMvdSensorDataSheet::~CbmMvdSensorDataSheet
~CbmMvdSensorDataSheet()
Definition: CbmMvdSensorDataSheet.cxx:50
CbmMvdSensorDataSheet.h
CbmMvdSensorDataSheet::fAdcBits
Int_t fAdcBits
Definition: CbmMvdSensorDataSheet.h:66
CbmMvdSensorDataSheet::fPixelsPerBank
Int_t fPixelsPerBank
Definition: CbmMvdSensorDataSheet.h:71
CbmMvdSensorDataSheet::fAdcStepSize
Float_t fAdcStepSize
Definition: CbmMvdSensorDataSheet.h:72
CbmMvdSensorDataSheet
Definition: CbmMvdSensorDataSheet.h:22