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

Public Member Functions

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

Detailed Description

class to print strip length

Definition at line 91 of file dumpGeometryParameters.py.

Member Function Documentation

◆ beginRun()

def beginRun (   self)
begin run

Definition at line 109 of file dumpGeometryParameters.py.

109 def beginRun(self):
110 '''begin run'''
111
112 print('Layer 3')
113 self.printStripLength(3, 1, 2)
114
115 print('Barrel')
116 self.printStripLength(4, 1, 2)
117
118 print('Slanted')
119 self.printStripLength(4, 1, 1)
120
121

◆ printStripLength()

def printStripLength (   self,
  layer,
  ladder,
  sensor 
)
function to print strip length

Definition at line 94 of file dumpGeometryParameters.py.

94 def printStripLength(self, layer, ladder, sensor):
95 '''function to print strip length'''
96
98
99 vxdID = Belle2.VxdID(layer, ladder, sensor)
100 sensorInfo = geoCache.getSensorInfo(vxdID)
101 nUcells = sensorInfo.getUCells() - 1
102 nVcells = sensorInfo.getVCells() - 1
103 print('strip lengths ' + str(layer) + '.' + str(ladder) + '.' + str(sensor) + ' at:')
104 print(' V strips at uID=0 = ' + str(sensorInfo.getStripLengthV(0) * 10) + ' mm')
105 print(' V strips at uID=' + str(nUcells) + ' = ' + str(sensorInfo.getStripLengthV(nUcells) * 10) + ' mm')
106 print(' U strips at vID=0 = ' + str(sensorInfo.getStripLengthU(0) * 10) + ' mm')
107 print(' U strips at vID=' + str(nVcells) + ' = ' + str(sensorInfo.getStripLengthU(nVcells) * 10) + ' mm')
108
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: