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

Public Member Functions

def __init__ (self)
 
def event (self)
 

Detailed Description

Module to check SVDShaperDigit ordering.

Definition at line 23 of file SVDShaperDigitsOrderingTest.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)
initialize

Definition at line 27 of file SVDShaperDigitsOrderingTest.py.

27 def __init__(self):
28 '''initialize'''
29
30 super().__init__()
31

Member Function Documentation

◆ event()

def event (   self)
 print shaper digits 

Definition at line 32 of file SVDShaperDigitsOrderingTest.py.

32 def event(self):
33 ''' print shaper digits '''
34
35 sds = Belle2.PyStoreArray('SVDShaperDigits')
36
37 print('NEW EVENT!')
38 print('layer ladder sensor side strip')
39
40 for sd in sds:
41 sensor = sd.getSensorID()
42 side = 'V'
43 if(sd.isUStrip()):
44 side = 'U'
45
46 print(str(sensor.getLayerNumber()) + ' ' + str(sensor.getLadderNumber()) + ' ' +
47 str(sensor.getSensorNumber()) + ' ' + side + ' ' + str(sd.getCellID()))
48
49
A (simplified) python wrapper for StoreArray.
Definition: PyStoreArray.h:72

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