#include <G4XmlFileManager.hh>
Definition at line 46 of file G4XmlFileManager.hh.
G4XmlFileManager::~G4XmlFileManager |
( |
| ) |
|
G4bool G4XmlFileManager::CloseFile |
( |
| ) |
|
|
finalvirtual |
G4bool G4XmlFileManager::CloseHnFile |
( |
| ) |
|
Definition at line 112 of file G4XmlFileManager.cc.
116 if ( ! fHnFile.get() )
return true;
124 tools::waxml::end(*fHnFile);
void Message(const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const
const G4AnalysisManagerState & fState
const G4AnalysisVerbose * GetVerboseL4() const
G4String GetFullFileName(const G4String &baseFileName="", G4bool isPerThread=true) const
const G4AnalysisVerbose * GetVerboseL1() const
Definition at line 172 of file G4XmlFileManager.cc.
176 if ( ! ntupleDescription->fFile )
return true;
178 G4String ntupleName = ntupleDescription->fNtupleBooking.name();
187 tools::waxml::end(*(ntupleDescription->fFile));
188 ntupleDescription->fFile->close();
void Message(const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const
const G4AnalysisManagerState & fState
G4String GetNtupleFileName(const G4String &ntupleName) const
const G4AnalysisVerbose * GetVerboseL4() const
const G4AnalysisVerbose * GetVerboseL1() const
G4bool G4XmlFileManager::CreateHnFile |
( |
| ) |
|
Definition at line 82 of file G4XmlFileManager.cc.
93 if ( fHnFile->fail() ) {
102 tools::waxml::begin(*fHnFile);
void Message(const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const
const G4AnalysisManagerState & fState
std::ostringstream G4ExceptionDescription
const G4AnalysisVerbose * GetVerboseL4() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4String GetFullFileName(const G4String &baseFileName="", G4bool isPerThread=true) const
const G4AnalysisVerbose * GetVerboseL1() const
Definition at line 137 of file G4XmlFileManager.cc.
140 G4String ntupleName = ntupleDescription->fNtupleBooking.name();
149 if ( ntupleFile->fail() ) {
152 description <<
" " <<
"Cannot open file "
154 G4Exception(
"G4XmlFileManager::CreateNtupleFile()",
159 tools::waxml::begin(*ntupleFile);
160 ntupleDescription->fFile = ntupleFile;
void Message(const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const
const G4AnalysisManagerState & fState
std::ostringstream G4ExceptionDescription
G4String GetNtupleFileName(const G4String &ntupleName) const
const G4AnalysisVerbose * GetVerboseL4() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
const G4AnalysisVerbose * GetVerboseL1() const
std::shared_ptr< std::ofstream > G4XmlFileManager::GetHnFile |
( |
| ) |
const |
|
inline |
G4bool G4XmlFileManager::WriteFile |
( |
| ) |
|
|
finalvirtual |
The documentation for this class was generated from the following files: