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

Public Member Functions

 initialize (self)
 
 event (self)
 

Public Attributes

 pxddigits = PyStoreArray("PXDDigits", DataStore.c_Event)
 PyStoreArray.
 

Detailed Description

Simple module that reads the content of the PyStoreArray
and prints a dictionary with the read values

Definition at line 9 of file read_array_example.py.

Member Function Documentation

◆ event()

event ( self)
Loop over the number of events and read the content of the
PyStoreArray into a dictionary

Definition at line 23 of file read_array_example.py.

23 def event(self):
24 '''
25 Loop over the number of events and read the content of the
26 PyStoreArray into a dictionary
27 '''
28 digits = self.pxddigits.readArray()
29 print(digits)
30
31

◆ initialize()

initialize ( self)
Initialize the PyStoreArray and regiter it into the DataStore

Definition at line 15 of file read_array_example.py.

15 def initialize(self):
16 '''
17 Initialize the PyStoreArray and regiter it into the DataStore
18 '''
19
20 self.pxddigits = PyStoreArray("PXDDigits", DataStore.c_Event)
21 self.pxddigits.registerInDataStore("PXDDigits")
22

Member Data Documentation

◆ pxddigits

pxddigits = PyStoreArray("PXDDigits", DataStore.c_Event)

PyStoreArray.

Definition at line 20 of file read_array_example.py.


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