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 199 of file hdf5_dump.py.

Constructor & Destructor Documentation

◆ __init__()

hdf5_dump.DAQDataFile.Record.__init__ ( self)

Definition at line 200 of file hdf5_dump.py.

200 def __init__(self):
201 self.path = ''
202 self.header = ''
203 self.fragments = []
204

Member Function Documentation

◆ __call__()

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

Definition at line 205 of file hdf5_dump.py.

205 def __call__(self, name, dset):
206 if isinstance(dset, h5py.Dataset):
207 if "TR_Builder" in name:
208 self.header = self.path + '/' + name
209 # set ncomponents here
210 else:
211 self.fragments.append(self.path + '/' + name)
212
213

Member Data Documentation

◆ fragments

list hdf5_dump.DAQDataFile.Record.fragments = []

Definition at line 203 of file hdf5_dump.py.

◆ header

str hdf5_dump.DAQDataFile.Record.header = ''

Definition at line 202 of file hdf5_dump.py.

◆ path

str hdf5_dump.DAQDataFile.Record.path = ''

Definition at line 201 of file hdf5_dump.py.


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