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

Public Member Functions

def event (self)
 

Detailed Description

Check ordering of SVD digits

Definition at line 53 of file test_shaperdigit_sorter.py.

Member Function Documentation

◆ event()

def event (   self)
event

Definition at line 56 of file test_shaperdigit_sorter.py.

56 def event(self):
57 '''event'''
58
59 digits = Belle2.PyStoreArray("SVDShaperDigits")
60 current_ID = 0
61 for d in digits:
62 new_ID = d.getUniqueChannelID()
63 if new_ID > current_ID:
64 current_ID = new_ID
65 else:
66 Belle2.B2ERROR('Wrong ordering!')
67
68
A (simplified) python wrapper for StoreArray.
Definition: PyStoreArray.h:72

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