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

Public Member Functions

def event (self)
 

Detailed Description

Print all SVD digits and clusters

Definition at line 69 of file test_shaperdigit_sorter.py.

Member Function Documentation

◆ event()

def event (   self)
event

Definition at line 72 of file test_shaperdigit_sorter.py.

72 def event(self):
73 '''event'''
74
75 digits = Belle2.PyStoreArray("SVDShaperDigits")
76 clusters = Belle2.PyStoreArray("SVDClusters")
77 print('\nSorted digits and clusters:')
78 for d in digits:
79 print("digit: sensor %s, u-side %s, strip %d" %
80 (d.getSensorID(), d.isUStrip(), d.getCellID()))
81 for c in clusters:
82 print("cluster: sensor %s, side %s, position %d size %d" %
83 (c.getSensorID(), 'u' if c.isUCluster() else 'v', c.getPosition(), c.getSize()))
84
85
A (simplified) python wrapper for StoreArray.
Definition: PyStoreArray.h:72

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