33 #include "tools/hdf5/h2file"
39 using namespace G4Analysis;
73 hid_t newFile = H5Fopen(name, H5F_ACC_RDONLY, H5P_DEFAULT);
76 description <<
" " <<
"Cannot open file " <<
name;
85 std::map<G4String, hid_t>::iterator
it
97 ->
Message(
"open",
"read analysis file", name);
112 auto directory = tools_H5Gopen(file, directoryName);
113 if ( directory < 0 ) {
116 <<
"cannot open directory " << directoryName;
146 auto newDirName = dirName;
147 if ( newDirName ==
"" ) {
158 newDirName += directoryType;
177 std::map<G4String, hid_t>::const_iterator
it
190 return GetRDirectory(
"histograms", fileName, dirName, isPerThread);
197 return GetRDirectory(
"ntuples", fileName, dirName, isPerThread);