DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
hdf5_dump.DAQDataFile.Record Class Reference

Public Member Functions

 __init__ (self)
 
 __call__ (self, name, dset)
 

Public Attributes

str path = ''
 
str header = ''
 
list fragments = []
 

Detailed Description

Definition at line 206 of file hdf5_dump.py.

Constructor & Destructor Documentation

◆ __init__()

hdf5_dump.DAQDataFile.Record.__init__ ( self)

Definition at line 207 of file hdf5_dump.py.

207 def __init__(self):
208 self.path = ''
209 self.header = ''
210 self.fragments = []
211

Member Function Documentation

◆ __call__()

hdf5_dump.DAQDataFile.Record.__call__ ( self,
name,
dset )

Definition at line 212 of file hdf5_dump.py.

212 def __call__(self, name, dset):
213 if isinstance(dset, h5py.Dataset):
214 if "TR_Builder" in name:
215 self.header = self.path + '/' + name
216 # set ncomponents here
217 else:
218 self.fragments.append(self.path + '/' + name)
219
220

Member Data Documentation

◆ fragments

list hdf5_dump.DAQDataFile.Record.fragments = []

Definition at line 210 of file hdf5_dump.py.

◆ header

str hdf5_dump.DAQDataFile.Record.header = ''

Definition at line 209 of file hdf5_dump.py.

◆ path

str hdf5_dump.DAQDataFile.Record.path = ''

Definition at line 208 of file hdf5_dump.py.


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