Belle II Software light-2406-ragdoll
checkNumOutOfTimeDigitsModule Class Reference
Inheritance diagram for checkNumOutOfTimeDigitsModule:
Collaboration diagram for checkNumOutOfTimeDigitsModule:

Public Member Functions

def event (self)
 

Detailed Description

module which checks the number of out of time digits in EventLevelClusteringInfo is as expected

Definition at line 125 of file eventLevelClusteringInfo_countOutOfTime.py.

Member Function Documentation

◆ event()

def event (   self)
event function

Definition at line 130 of file eventLevelClusteringInfo_countOutOfTime.py.

130 def event(self):
131 """
132 event function
133 """
134 eventLevelClusteringInfo = Belle2.PyStoreObj('EventLevelClusteringInfo').obj()
135
136 tc = TestCase('__init__')
137
138 tc.assertEqual(eventLevelClusteringInfo.getNECLCalDigitsOutOfTimeFWD(), expectOutOfTime["FWD"])
139 tc.assertEqual(eventLevelClusteringInfo.getNECLCalDigitsOutOfTimeBarrel(), expectOutOfTime["BRL"])
140 tc.assertEqual(eventLevelClusteringInfo.getNECLCalDigitsOutOfTimeBWD(), expectOutOfTime["BWD"])
141 tc.assertEqual(eventLevelClusteringInfo.getNECLCalDigitsOutOfTime(),
142 expectOutOfTime["FWD"] + expectOutOfTime["BRL"] + expectOutOfTime["BWD"])
143
144
a (simplified) python wrapper for StoreObjPtr.
Definition: PyStoreObj.h:67

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