80 fPlotManager = std::make_unique<G4PlotManager>(
fState);
95G4bool G4ToolsAnalysisManager::WriteHns()
113G4bool G4ToolsAnalysisManager::ResetHns()
129G4bool G4ToolsAnalysisManager::MergeHns()
136 Warn(
"No master G4AnalysisManager instance exists.\n"
137 "Histogram/profile data will not be merged.",
189 result &= MergeHns();
196 result &= WriteHns();
234 Warn(
"Closing files failed",
fkClass,
"CloseFileImpl");
241 Warn(
"Deleting empty files failed",
fkClass,
"CloseFileImpl");
248 Warn(
"Resetting data failed",
fkClass,
"CloseFileImpl");
266 result &= ResetHns();
319 result &= fPlotManager->CloseFile();
330 if (hmpi ==
nullptr)
return false;
#define G4MUTEX_INITIALIZER
G4bool GetIsMaster() const
void Merge(G4Mutex &mergeMutex, G4THnManager< HT > *masterInstance)
const std::vector< std::pair< HT *, G4HnInformation * > > & GetTHnVectorRef() const
void SetH3Manager(G4VTBaseHnManager< 3 > *h3Manager)
void SetP2Manager(G4VTBaseHnManager< 3 > *p2Manager)
std::shared_ptr< G4VNtupleFileManager > fVNtupleFileManager
void Message(G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const
G4AnalysisManagerState fState
void SetH1Manager(G4VTBaseHnManager< 1 > *h1Manager)
void SetP1Manager(G4VTBaseHnManager< 2 > *p1Manager)
G4bool WriteAscii(const G4String &fileName)
void SetNtupleManager(std::shared_ptr< G4VNtupleManager > ntupleManager)
std::shared_ptr< G4VFileManager > fVFileManager
void SetH2Manager(G4VTBaseHnManager< 2 > *h2Manager)
void Warn(const G4String &message, const std::string_view inClass, const std::string_view inFunction)