Test DisplayData
Definition at line 23 of file displaytriggered.py.
◆ event()
reimplementation of Module::event().
Definition at line 31 of file displaytriggered.py.
31 def event(self):
32 """reimplementation of Module::event()."""
33
35 displayData.create()
36
37 print("HLT Tags:")
38 displayData.obj().addLabel('HLT Tags:', ROOT.Math.XYZVector(200, 220, -300))
40 dz_pos = 0
41 for name, result in trigger_result.getResults():
42 prefix = 'software_trigger_cut&hlt&accept_'
43 if result == 1 and name.startswith(prefix):
44 name = name[len(prefix):]
45 displayData.obj().addLabel(name, ROOT.Math.XYVector(200, 200 - dz_pos, -300))
46 dz_pos += 15
47 print(name)
48
49
50
a (simplified) python wrapper for StoreObjPtr.
◆ initialize()
reimplementation of Module::initialize().
Definition at line 26 of file displaytriggered.py.
26 def initialize(self):
27 """reimplementation of Module::initialize()."""
28
30
The documentation for this class was generated from the following file: