Belle II Software  release-08-01-10
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 26 of file test_support.py.

Member Function Documentation

◆ event()

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

Definition at line 29 of file test_support.py.

29  def event(self):
30  """reimplementation of Module::event()."""
31  sft_trigger = Belle2.PyStoreObj("SoftwareTriggerResult")
32 
33  if not sft_trigger.isValid():
34  basf2.B2FATAL("SoftwareTriggerResult object not created")
35  elif len(sft_trigger.getResults()) == 0:
36  basf2.B2FATAL("SoftwareTriggerResult exists but has no entries")
37 
38  if not Belle2.PyStoreArray("ROIs").isValid():
39  basf2.B2FATAL("ROIs are not present")
40 
41 
A (simplified) python wrapper for StoreArray.
Definition: PyStoreArray.h:72
a (simplified) python wrapper for StoreObjPtr.
Definition: PyStoreObj.h:67

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