CFEL - ASG Software Suite
2.5.0
CASS
|
write an entity to a h5 file More...
Public Member Functions | |
WriteEntry (const string &filename, const CASSEvent::id_t id=0) | |
constructor More... | |
void | setBaseGroup (const string &name) |
set the base group name More... | |
virtual void | setEventID (const CASSEvent::id_t id) |
set the event id More... | |
size_t | currentFileSize () const |
retrieve the current file size More... | |
virtual void | operator() (const pp1002::entry_t &entry) |
write an entry to h5 file using the functions defined above More... | |
Protected Attributes | |
::hdf5::Handler | _fh |
the file handle of the h5 file More... | |
CASSEvent::id_t | _id |
the eventid to look for More... | |
string | _baseGroupname |
the base group name More... | |
write an entity to a h5 file
Definition at line 74 of file hdf5_converter.cpp.
|
inline |
constructor
create the hdf5 file with the name and the handles to the specific data storage. Add a dataset that describes the cass version with which the file was generated
filename | the name of the h5 file |
id | the id of the event to get the data for |
Definition at line 87 of file hdf5_converter.cpp.
|
inline |
retrieve the current file size
Definition at line 118 of file hdf5_converter.cpp.
|
inlinevirtual |
write an entry to h5 file using the functions defined above
entry | The entry to put into the h5 file |
create the requested dataset name
retrieve data from pp and write it to the h5 file
Reimplemented in cass::hdf5::AppendEntry.
Definition at line 127 of file hdf5_converter.cpp.
References data, cass::pp1002::entry_t::groupname, cass::pp1002::entry_t::name, cass::pp1002::entry_t::options, cass::pp1002::entry_t::proc, cass::Processor::result(), cass::toString(), cass::Result< float >::xAxis, and cass::Result< float >::yAxis.
|
inline |
set the base group name
name | the new base group name |
Definition at line 100 of file hdf5_converter.cpp.
|
inlinevirtual |
set the event id
id | the current event id |
Reimplemented in cass::hdf5::AppendEntry.
Definition at line 109 of file hdf5_converter.cpp.
|
protected |
the base group name
Definition at line 181 of file hdf5_converter.cpp.
|
protected |
the file handle of the h5 file
Definition at line 175 of file hdf5_converter.cpp.
|
protected |
the eventid to look for
Definition at line 178 of file hdf5_converter.cpp.