Classes | |
struct | HDFFileInfo |
Typedefs | |
typedef std::unique_ptr< HDFFileInfo > | HDFFileInfoPtr |
typedef std::map< std::string, std::unique_ptr< artdaq::Fragments > > | FragmentListsByType |
typedef uint64_t | PDS_DATASET_DATATYPE |
Functions | |
HDFFileInfoPtr | openFile (const std::string &fileName) |
HDFFileInfoPtr | reopenFile (HDFFileInfoPtr oldHdfFileInfoPtr) |
void | closeFile (HDFFileInfoPtr hdfFileInfoPtr) |
std::list< std::string > | getTopLevelGroupNames (HDFFileInfoPtr &hdfFileInfoPtr) |
std::list< std::string > | getMidLevelGroupNames (hid_t grp) |
hid_t | getGroupFromPath (HDFFileInfoPtr &hdfFileInfoPtr, const std::string &path) |
bool | attrExists (hid_t object, const std::string &attrname) |
FragmentListsByType | getFragmentsForEvent (HDFFileInfoPtr &hdfFileInfoPtr, const std::string &topLevelGroupName) |
Variables | |
const std::string | TPC_GROUP_NAME = "TPC" |
const std::string | PDS_GROUP_NAME = "PHOTON" |
typedef std::map<std::string, std::unique_ptr<artdaq::Fragments> > dune::HDFFileReader::FragmentListsByType |
Definition at line 25 of file HDFFileReader.hh.
typedef std::unique_ptr<HDFFileInfo> dune::HDFFileReader::HDFFileInfoPtr |
Definition at line 23 of file HDFFileReader.hh.
typedef uint64_t dune::HDFFileReader::PDS_DATASET_DATATYPE |
Definition at line 67 of file HDFFileReader.hh.
bool dune::HDFFileReader::attrExists | ( | hid_t | object, |
const std::string & | attrname | ||
) |
Definition at line 94 of file HDFFileReader.cc.
void dune::HDFFileReader::closeFile | ( | HDFFileInfoPtr | hdfFileInfoPtr | ) |
Closes the specified HDF file. To call this method, user code should use closeFile(std::move(fileInfoPtr)); The intention behind this is to make it clear that the user code is relinquishing control.
Definition at line 55 of file HDFFileReader.cc.
FragmentListsByType dune::HDFFileReader::getFragmentsForEvent | ( | HDFFileInfoPtr & | hdfFileInfoPtr, |
const std::string & | topLevelGroupName | ||
) |
Definition at line 122 of file HDFFileReader.cc.
hid_t dune::HDFFileReader::getGroupFromPath | ( | HDFFileInfoPtr & | hdfFileInfoPtr, |
const std::string & | groupPath | ||
) |
Gets the requested Group ID from the specified file and group path.
Definition at line 85 of file HDFFileReader.cc.
std::list< std::string > dune::HDFFileReader::getMidLevelGroupNames | ( | hid_t | grp | ) |
Definition at line 69 of file HDFFileReader.cc.
std::list< std::string > dune::HDFFileReader::getTopLevelGroupNames | ( | HDFFileInfoPtr & | hdfFileInfoPtr | ) |
Definition at line 61 of file HDFFileReader.cc.
HDFFileInfoPtr dune::HDFFileReader::openFile | ( | const std::string & | fileName | ) |
Opens an HDF file (for reading) with the specified filename (including path information).
Definition at line 21 of file HDFFileReader.cc.
HDFFileInfoPtr dune::HDFFileReader::reopenFile | ( | HDFFileInfoPtr | oldHdfFileInfoPtr | ) |
Closes and re-opens the specified file.
Definition at line 41 of file HDFFileReader.cc.
const std::string dune::HDFFileReader::PDS_GROUP_NAME = "PHOTON" |
Definition at line 68 of file HDFFileReader.hh.
const std::string dune::HDFFileReader::TPC_GROUP_NAME = "TPC" |
Definition at line 60 of file HDFFileReader.hh.