Belle II Software  release-05-01-25
CheckForCorrectHLTResults Class Reference
Inheritance diagram for CheckForCorrectHLTResults:
Collaboration diagram for CheckForCorrectHLTResults:

Public Member Functions

def event (self)
 

Detailed Description

Test module for assuring correct data store content

Definition at line 20 of file test_support.py.

Member Function Documentation

◆ event()

def event (   self)
reimplementation of Module::event().

Definition at line 23 of file test_support.py.

23  def event(self):
24  """reimplementation of Module::event()."""
25  sft_trigger = Belle2.PyStoreObj("SoftwareTriggerResult")
26 
27  if not sft_trigger.isValid():
28  basf2.B2FATAL("SoftwareTriggerResult object not created")
29  elif len(sft_trigger.getResults()) == 0:
30  basf2.B2FATAL("SoftwareTriggerResult exists but has no entries")
31 
32  if not Belle2.PyStoreArray("ROIs").isValid():
33  basf2.B2FATAL("ROIs are not present")
34 
35 

The documentation for this class was generated from the following file:
Belle2::PyStoreObj
a (simplified) python wrapper for StoreObjPtr.
Definition: PyStoreObj.h:69
ClusterEfficiency.ClusterEfficiency.event
def event(self)
Definition: ClusterEfficiency.py:146
Belle2::PyStoreArray
a (simplified) python wrapper for StoreArray.
Definition: PyStoreArray.h:58