Belle II Software development
printSVDSizes Class Reference
Inheritance diagram for printSVDSizes:

Public Member Functions

def printSize (self, layer, ladder, sensor)
 
def beginRun (self)
 

Detailed Description

 class to print SVD sizes

Definition at line 61 of file dumpGeometryParameters.py.

Member Function Documentation

◆ beginRun()

def beginRun (   self)
begin run

Definition at line 78 of file dumpGeometryParameters.py.

78 def beginRun(self):
79 '''begin run'''
80
81 print('Layer 3')
82 self.printSize(3, 1, 2)
83
84 print('Barrel')
85 self.printSize(4, 1, 2)
86
87 print('Slanted')
88 self.printSize(4, 1, 1)
89
90

◆ printSize()

def printSize (   self,
  layer,
  ladder,
  sensor 
)
function to print the sizes

Definition at line 64 of file dumpGeometryParameters.py.

64 def printSize(self, layer, ladder, sensor):
65 '''function to print the sizes'''
66
68
69 vxdID = Belle2.VxdID(layer, ladder, sensor)
70 sensorInfo = geoCache.getSensorInfo(vxdID)
71 print('sizes of sensor ' + str(layer) + '.' + str(ladder) + '.' + str(sensor) + ' at:')
72 print("W size = " + str(sensorInfo.getWSize() * 10000) + ' mu')
73 print("V size = " + str(sensorInfo.getVSize() * 10) + ' mm')
74 print("U size at V=-length/2 = " + str(sensorInfo.getUSize(-sensorInfo.getLength() / 2) * 10) + ' mm')
75 print("U size at V=0 = " + str(sensorInfo.getUSize(0) * 10) + ' mm')
76 print("U size at V=+length/2 = " + str(sensorInfo.getUSize(sensorInfo.getLength() / 2) * 10) + ' mm')
77
static GeoCache & getInstance()
Return a reference to the singleton instance.
Definition: GeoCache.cc:214
Class to uniquely identify a any structure of the PXD and SVD.
Definition: VxdID.h:33

The documentation for this class was generated from the following file: