Belle II Software  release-08-01-10
printVelocity Class Reference

test SVD SensorInfo getters More...

Inheritance diagram for printVelocity:
Collaboration diagram for printVelocity:

Public Member Functions

def beginRun (self)
 

Detailed Description

test SVD SensorInfo getters

  1. > prepend the GT you want to test
    1. > set the Experiment and Run number you want to test
    2. > basf2 dumpSensorInfoParameters.py
 print velocity 

Definition at line 27 of file dumpSensorInfoParameters.py.

Member Function Documentation

◆ beginRun()

def beginRun (   self)
do everything here

Definition at line 30 of file dumpSensorInfoParameters.py.

30  def beginRun(self):
31  """do everything here"""
32 
34 
35  layer = 3
36  ladder = 1
37  sensor = 1
38  vxdID = Belle2.VxdID(layer, ladder, sensor)
39  sensorInfo = geoCache.getSensorInfo(vxdID)
40  print('printing velocity VS thickness for' + str(layer) + '.' + str(ladder) + '.' + str(sensor))
41  thickness = sensorInfo.getThickness()
42  N = 10
43  step = thickness / N
44  for s in range(0, N + 1):
45  print()
46  z = - thickness / 2 + step * s
47  print('Z = ' + str(z * 1e4) + ' um')
48  print(' electrons')
49  sensorInfo.getVelocity(-1, r.TVector3(0, 0, z)).Print()
50  print(' holes')
51  sensorInfo.getVelocity(+1, r.TVector3(0, 0, z)).Print()
52 
53 
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: