78 fNtupleManager(nullptr),
81 #ifdef G4MULTITHREADED
82 #ifndef H5_HAVE_THREADSAFE
85 <<
"Your HDF5 lib is not built with H5_HAVE_THREADSAFE.";
86 G4Exception(
"G4Hdf5AnalysisManager::G4Hdf5AnalysisManager",
95 <<
"G4Hdf5AnalysisManager already exists."
96 <<
"Cannot create another instance.";
97 G4Exception(
"G4Hdf5AnalysisManager::G4Hdf5AnalysisManager",
132 if ( ! h1Vector.size() )
return true;
137 auto directoryName =
fFileManager->GetHistoDirectoryName();
138 result =
WriteHn(h1Vector, hnVector, directoryName,
"h1");
157 if ( ! h2Vector.size() )
return true;
162 auto directoryName =
fFileManager->GetHistoDirectoryName();
163 result =
WriteHn(h2Vector, hnVector, directoryName,
"h2");
182 if ( ! h3Vector.size() )
return true;
187 auto directoryName =
fFileManager->GetHistoDirectoryName();
188 result =
WriteHn(h3Vector, hnVector, directoryName,
"h3");
207 if ( ! p1Vector.size() )
return true;
212 auto directoryName =
fFileManager->GetHistoDirectoryName();
213 result =
WritePn(p1Vector, hnVector, directoryName,
"p1");
232 if ( ! p2Vector.size() )
return true;
237 auto directoryName =
fFileManager->GetHistoDirectoryName();
238 result =
WritePn(p2Vector, hnVector, directoryName,
"p2");
256 auto finalResult =
true;
259 finalResult = finalResult && result;
262 finalResult = finalResult && result;
274 auto finalResult =
true;
276 finalResult = finalResult && result;
286 finalResult = finalResult && result;
303 auto finalResult =
true;
316 finalResult = finalResult && result;
320 finalResult = finalResult && result;
324 finalResult = finalResult && result;
328 finalResult = finalResult && result;
332 finalResult = finalResult && result;
341 finalResult = finalResult && result;
356 auto finalResult =
true;
360 finalResult = finalResult && result;
371 description <<
" " <<
"Resetting data failed";
377 finalResult = finalResult && result;