#include <G4XmlFileManager.hh>
Definition at line 46 of file G4XmlFileManager.hh.
G4XmlFileManager::~G4XmlFileManager |
( |
| ) |
|
G4bool G4XmlFileManager::CloseFile |
( |
| ) |
|
|
finalvirtual |
G4bool G4XmlFileManager::CloseHnFile |
( |
| ) |
|
Definition at line 111 of file G4XmlFileManager.cc.
115 if ( ! fHnFile.get() )
return true;
123 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 170 of file G4XmlFileManager.cc.
173 G4String ntupleName = ntupleDescription->fNtupleBooking.name();
182 tools::waxml::end(*(ntupleDescription->fFile));
183 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() ) {
101 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 136 of file G4XmlFileManager.cc.
139 G4String ntupleName = ntupleDescription->fNtupleBooking.name();
148 if ( ntupleFile->fail() ) {
150 description <<
" " <<
"Cannot open file "
152 G4Exception(
"G4XmlFileManager::CreateNtupleFile()",
157 tools::waxml::begin(*ntupleFile);
158 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: