Belle II Software  release-05-01-25
PXDSensorInfoPar.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Benjamin Schwenker *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <vxd/dbobjects/VXDSensorInfoBasePar.h>
13 
14 namespace Belle2 {
24  class PXDSensorInfoPar: public VXDSensorInfoBasePar {
25 
26  public:
29  PXDSensorInfoPar(VxdID id = 0, float width = 0, float length = 0, float thickness = 0, int uCells = 0, int vCells = 0,
30  float splitLength = 0, int vCells2 = 0):
31  VXDSensorInfoBasePar(PXDSensorInfoPar::PXD, id, width, length, thickness, uCells, vCells, 0, splitLength, vCells2),
35  {
36  }
37 
39  void setID(VxdID id) { m_id = id; }
40 
42  void setDEPFETParams(double bulkDoping, double backVoltage, double topVoltage,
43  double sourceBorderSmallPitch, double clearBorderSmallPitch, double drainBorderSmallPitch,
44  double sourceBorderLargePitch, double clearBorderLargePitch, double drainBorderLargePitch,
45  double gateDepth, bool doublePixel, double chargeThreshold, double noiseFraction)
46  {
47  m_bulkDoping = bulkDoping;
48  m_backVoltage = backVoltage;
49  m_topVoltage = topVoltage;
50  m_sourceBorderSmallPitch = sourceBorderSmallPitch;
51  m_clearBorderSmallPitch = clearBorderSmallPitch;
52  m_drainBorderSmallPitch = drainBorderSmallPitch;
53  m_sourceBorderLargePitch = sourceBorderLargePitch;
54  m_clearBorderLargePitch = clearBorderLargePitch;
55  m_drainBorderLargePitch = drainBorderLargePitch;
56  m_gateDepth = gateDepth;
57  m_doublePixel = doublePixel;
58  m_chargeThreshold = chargeThreshold;
59  m_noiseFraction = noiseFraction;
60  }
61 
63  void setIntegrationWindow(double start, double end)
64  {
65  m_integrationStart = start;
66  m_integrationEnd = end;
67  }
68 
70  double getBulkDoping() const { return m_bulkDoping; }
72  double getBackVoltage() const { return m_backVoltage; }
74  double getTopVoltage() const { return m_topVoltage; }
88  double getGateDepth() const { return m_gateDepth; }
90  bool getDoublePixel() const { return m_doublePixel; }
92  double getChargeThreshold() const { return m_chargeThreshold; }
94  double getNoiseFraction() const { return m_noiseFraction; }
96  double getIntegrationStart() const { return m_integrationStart; }
98  double getIntegrationEnd() const { return m_integrationEnd; }
99 
100  private:
101 
103  double m_bulkDoping;
105  double m_backVoltage;
107  double m_topVoltage;
121  double m_gateDepth;
132 
134  };
136 } // end of namespace Belle2
137 
Belle2::PXDSensorInfoPar::m_doublePixel
bool m_doublePixel
True if the Sensor is a double pixel structure: every other pixel is mirrored along v.
Definition: PXDSensorInfoPar.h:131
Belle2::VXDSensorInfoBasePar::m_id
unsigned short m_id
ID of the Sensor.
Definition: VXDSensorInfoBasePar.h:108
Belle2::PXDSensorInfoPar::getClearBorderSmallPitch
double getClearBorderSmallPitch() const
Return the distance along u between the clear side of a small pixel and the start of the internal gat...
Definition: PXDSensorInfoPar.h:90
Belle2::PXDSensorInfoPar::getChargeThreshold
double getChargeThreshold() const
Get the charge threshold in ADU for the sensor.
Definition: PXDSensorInfoPar.h:100
Belle2::VxdID
Class to uniquely identify a any structure of the PXD and SVD.
Definition: VxdID.h:43
Belle2::PXDSensorInfoPar::getBackVoltage
double getBackVoltage() const
Return the voltage at the backside of the sensor.
Definition: PXDSensorInfoPar.h:80
Belle2::PXDSensorInfoPar::m_noiseFraction
double m_noiseFraction
Fixed noise fraction.
Definition: PXDSensorInfoPar.h:135
Belle2::PXDSensorInfoPar::getGateDepth
double getGateDepth() const
Return the gate depth for the sensor.
Definition: PXDSensorInfoPar.h:96
Belle2::PXDSensorInfoPar::setDEPFETParams
void setDEPFETParams(double bulkDoping, double backVoltage, double topVoltage, double sourceBorderSmallPitch, double clearBorderSmallPitch, double drainBorderSmallPitch, double sourceBorderLargePitch, double clearBorderLargePitch, double drainBorderLargePitch, double gateDepth, bool doublePixel, double chargeThreshold, double noiseFraction)
Set operation parameters like voltages.
Definition: PXDSensorInfoPar.h:50
Belle2::PXDSensorInfoPar::m_integrationStart
double m_integrationStart
The start of the integration window, the timeframe the PXD is sensitive.
Definition: PXDSensorInfoPar.h:137
Belle2::PXDSensorInfoPar::m_backVoltage
double m_backVoltage
The voltage at the backside of the sensor.
Definition: PXDSensorInfoPar.h:113
Belle2::PXDSensorInfoPar::m_integrationEnd
double m_integrationEnd
The end of the integration window, the timeframe the PXD is sensitive.
Definition: PXDSensorInfoPar.h:139
Belle2::VXDSensorInfoBasePar::PXD
@ PXD
PXD Sensor.
Definition: VXDSensorInfoBasePar.h:40
Belle2::PXDSensorInfoPar::setIntegrationWindow
void setIntegrationWindow(double start, double end)
Set the time window in which the sensor is active.
Definition: PXDSensorInfoPar.h:71
Belle2::PXDSensorInfoPar::getIntegrationEnd
double getIntegrationEnd() const
Return the end of the integration window, the timeframe the PXD is sensitive.
Definition: PXDSensorInfoPar.h:106
Belle2::PXDSensorInfoPar::m_chargeThreshold
double m_chargeThreshold
Charge threshold.
Definition: PXDSensorInfoPar.h:133
Belle2::PXDSensorInfoPar::m_gateDepth
double m_gateDepth
Return depth of the surface where the electrons will be collected.
Definition: PXDSensorInfoPar.h:129
Belle2::PXDSensorInfoPar::getSourceBorderLargePitch
double getSourceBorderLargePitch() const
Return the distance along v between the source side of a large pixel and the start of the internal ga...
Definition: PXDSensorInfoPar.h:84
Belle2::PXDSensorInfoPar::ClassDef
ClassDef(PXDSensorInfoPar, 6)
ClassDef, must be the last term before the closing {}.
Belle2::PXDSensorInfoPar::m_clearBorderLargePitch
double m_clearBorderLargePitch
The distance along u between the clear side of a large pixel and the start of the internal gate.
Definition: PXDSensorInfoPar.h:125
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::PXDSensorInfoPar::setID
void setID(VxdID id)
Change the SensorID, useful to copy the SensorInfo from one sensor and use it for another.
Definition: PXDSensorInfoPar.h:47
Belle2::PXDSensorInfoPar::getNoiseFraction
double getNoiseFraction() const
Get the noise fraction for the sensor.
Definition: PXDSensorInfoPar.h:102
Belle2::PXDSensorInfoPar::m_drainBorderLargePitch
double m_drainBorderLargePitch
The distance along u between the drain side of a large pixel and the start of the internal gate.
Definition: PXDSensorInfoPar.h:127
Belle2::PXDSensorInfoPar::m_topVoltage
double m_topVoltage
The voltate at the top of the sensor.
Definition: PXDSensorInfoPar.h:115
Belle2::VXDSensorInfoBasePar::VXDSensorInfoBasePar
VXDSensorInfoBasePar()
Default constructor.
Definition: VXDSensorInfoBasePar.h:47
Belle2::PXDSensorInfoPar::getTopVoltage
double getTopVoltage() const
Return the voltage at the top of the sensor.
Definition: PXDSensorInfoPar.h:82
Belle2::PXDSensorInfoPar::m_bulkDoping
double m_bulkDoping
Doping concentration of the silicon bulk.
Definition: PXDSensorInfoPar.h:111
Belle2::PXDSensorInfoPar::getDrainBorderLargePitch
double getDrainBorderLargePitch() const
Return the distance along v between the drain side of a large pixel and the start of the internal gat...
Definition: PXDSensorInfoPar.h:92
Belle2::PXDSensorInfoPar::getClearBorderLargePitch
double getClearBorderLargePitch() const
Return the distance along u between the clear side of a large pixel and the start of the internal gat...
Definition: PXDSensorInfoPar.h:88
Belle2::PXDSensorInfoPar::m_clearBorderSmallPitch
double m_clearBorderSmallPitch
The distance along u between the clear side of a small pixel and the start of the internal gate.
Definition: PXDSensorInfoPar.h:119
Belle2::PXDSensorInfoPar
The Class for VXD geometry.
Definition: PXDSensorInfoPar.h:32
Belle2::PXDSensorInfoPar::getIntegrationStart
double getIntegrationStart() const
Return the start of the integration window, the timeframe the PXD is sensitive.
Definition: PXDSensorInfoPar.h:104
Belle2::PXDSensorInfoPar::getDrainBorderSmallPitch
double getDrainBorderSmallPitch() const
Return the distance along v between the drain side of a small pixel and the start of the internal gat...
Definition: PXDSensorInfoPar.h:94
Belle2::PXDSensorInfoPar::m_sourceBorderLargePitch
double m_sourceBorderLargePitch
The distance along v between the source side of a large pixel and the start of the internal gate.
Definition: PXDSensorInfoPar.h:123
Belle2::PXDSensorInfoPar::getDoublePixel
bool getDoublePixel() const
Return true if the Sensor is a double pixel structure: every other pixel is mirrored along v.
Definition: PXDSensorInfoPar.h:98
Belle2::PXDSensorInfoPar::m_sourceBorderSmallPitch
double m_sourceBorderSmallPitch
The distance along v between the source side of a small pixel and the start of the internal gate.
Definition: PXDSensorInfoPar.h:117
Belle2::PXDSensorInfoPar::m_drainBorderSmallPitch
double m_drainBorderSmallPitch
The distance along v between the drain side of a small pixel and the start of the internal gate.
Definition: PXDSensorInfoPar.h:121
Belle2::PXDSensorInfoPar::PXDSensorInfoPar
PXDSensorInfoPar(VxdID id=0, float width=0, float length=0, float thickness=0, int uCells=0, int vCells=0, float splitLength=0, int vCells2=0)
Constructor which automatically sets the SensorType.
Definition: PXDSensorInfoPar.h:37
Belle2::PXDSensorInfoPar::getBulkDoping
double getBulkDoping() const
Return the bulk doping of the Silicon sensor.
Definition: PXDSensorInfoPar.h:78
Belle2::PXDSensorInfoPar::getSourceBorderSmallPitch
double getSourceBorderSmallPitch() const
Return the distance along v between the source side of a small pixel and the start of the internal ga...
Definition: PXDSensorInfoPar.h:86