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

Public Member Functions

def initialize (self)
 
def event (self)
 

Public Attributes

 info
 initialize InfoWidget
 

Static Public Attributes

None info = None
 InfoWidget pointer.
 

Detailed Description

Inspect DataStore contents

Definition at line 16 of file inspector.py.

Member Function Documentation

◆ event()

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

Definition at line 37 of file inspector.py.

37 def event(self):
38 """reimplementation of Module::event()."""
39
40 self.info.update()
41
42 print("Press Ctrl+D to exit.")
43 import interactive
44 interactive.embed()
45
46

◆ initialize()

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

Definition at line 23 of file inspector.py.

23 def initialize(self):
24 """reimplementation of Module::initialize()."""
25 from ROOT import gClient
26 from ROOT import gSystem
27 gSystem.Load('libdisplay')
28 from ROOT import Belle2
29
30 root = gClient.GetRoot()
31
32 self.info = Belle2.InfoWidget(root)
33 self.info.MapSubwindows()
34 self.info.Resize()
35 self.info.MapWindow()
36
text-based info viewer showing DataStore contents.
Definition: InfoWidget.h:27

Member Data Documentation

◆ info [1/2]

None info = None
static

InfoWidget pointer.

Definition at line 21 of file inspector.py.

◆ info [2/2]

info

initialize InfoWidget

Definition at line 32 of file inspector.py.


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