Geant4
10.00.p02
|
#include <G4XmlAnalysisManager.hh>
Static Public Member Functions | |
static G4XmlAnalysisManager * | Instance () |
Protected Member Functions | |
virtual G4bool | OpenFileImpl (const G4String &fileName) |
virtual G4bool | WriteImpl () |
virtual G4bool | CloseFileImpl () |
Protected Member Functions inherited from G4VAnalysisManager | |
void | SetH1Manager (G4VH1Manager *h1Manager) |
void | SetH2Manager (G4VH2Manager *h2Manager) |
void | SetNtupleManager (G4VNtupleManager *ntupleManager) |
void | SetFileManager (G4VFileManager *fileManager) |
G4bool | WriteAscii (const G4String &fileName) |
Private Member Functions | |
G4bool | WriteH1 () |
G4bool | WriteH2 () |
G4bool | WriteNtuple () |
G4bool | CloseNtupleFiles () |
G4bool | Reset () |
Private Attributes | |
G4H1ToolsManager * | fH1Manager |
G4H2ToolsManager * | fH2Manager |
G4XmlNtupleManager * | fNtupleManager |
G4XmlFileManager * | fFileManager |
Static Private Attributes | |
static G4XmlAnalysisManager * | fgMasterInstance = 0 |
static G4ThreadLocal G4XmlAnalysisManager * | fgInstance = 0 |
Additional Inherited Members | |
Protected Attributes inherited from G4VAnalysisManager | |
G4AnalysisManagerState | fState |
Definition at line 49 of file G4XmlAnalysisManager.hh.
G4XmlAnalysisManager::G4XmlAnalysisManager | ( | G4bool | isMaster = true | ) |
Definition at line 64 of file G4XmlAnalysisManager.cc.
References FatalException, fFileManager, fgInstance, fgMasterInstance, fH1Manager, fH2Manager, fNtupleManager, G4VAnalysisManager::fState, G4Exception(), G4XmlNtupleManager::SetFileManager(), G4VAnalysisManager::SetFileManager(), G4VAnalysisManager::SetH1Manager(), G4VAnalysisManager::SetH2Manager(), and G4VAnalysisManager::SetNtupleManager().
Referenced by Instance().
G4XmlAnalysisManager::~G4XmlAnalysisManager | ( | ) |
Definition at line 99 of file G4XmlAnalysisManager.cc.
References fgInstance, fgMasterInstance, G4VAnalysisManager::fState, and G4AnalysisManagerState::GetIsMaster().
|
protectedvirtual |
Implements G4VAnalysisManager.
Definition at line 350 of file G4XmlAnalysisManager.cc.
References G4XmlFileManager::CloseFile(), G4XmlFileManager::CloseHnFile(), CloseNtupleFiles(), fFileManager, fH1Manager, fH2Manager, G4VAnalysisManager::fState, G4Exception(), G4VFileManager::GetFullFileName(), G4XmlFileManager::GetHnFile(), G4AnalysisManagerState::GetIsMaster(), G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL4(), G4H2ToolsManager::IsEmpty(), G4H1ToolsManager::IsEmpty(), G4AnalysisManagerState::IsMT(), JustWarning, G4AnalysisVerbose::Message(), and Reset().
|
private |
Definition at line 222 of file G4XmlAnalysisManager.cc.
References G4XmlFileManager::CloseNtupleFile(), fFileManager, fNtupleManager, and G4XmlNtupleManager::GetNtupleVector().
Referenced by CloseFileImpl().
tools::histo::h1d* G4XmlAnalysisManager::GetH1 | ( | G4int | id, |
G4bool | warn = true , |
||
G4bool | onlyIfActive = true |
||
) | const |
tools::histo::h2d* G4XmlAnalysisManager::GetH2 | ( | G4int | id, |
G4bool | warn = true , |
||
G4bool | onlyIfActive = true |
||
) | const |
tools::waxml::ntuple* G4XmlAnalysisManager::GetNtuple | ( | ) | const |
tools::waxml::ntuple* G4XmlAnalysisManager::GetNtuple | ( | G4int | ntupleId | ) | const |
|
static |
Definition at line 53 of file G4XmlAnalysisManager.cc.
References fgInstance, G4XmlAnalysisManager(), and G4Threading::IsWorkerThread().
Implements G4VAnalysisManager.
Definition at line 261 of file G4XmlAnalysisManager.cc.
References G4XmlFileManager::CreateHnFile(), G4XmlNtupleManager::CreateNtuplesFromBooking(), fFileManager, fNtupleManager, G4VAnalysisManager::fState, G4VFileManager::GetFullFileName(), G4AnalysisManagerState::GetIsMaster(), G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL4(), G4AnalysisVerbose::Message(), name, G4XmlFileManager::OpenFile(), and G4VFileManager::SetFileName().
|
private |
Definition at line 238 of file G4XmlAnalysisManager.cc.
References fH1Manager, fH2Manager, fNtupleManager, G4H2ToolsManager::Reset(), G4XmlNtupleManager::Reset(), and G4H1ToolsManager::Reset().
Referenced by CloseFileImpl().
|
private |
Definition at line 110 of file G4XmlAnalysisManager.cc.
References G4H1ToolsManager::AddH1Vector(), G4String::append(), G4HnInformation::fActivation, fFileManager, fgMasterInstance, fH1Manager, G4HnInformation::fName, G4VAnalysisManager::fState, G4Exception(), G4H1ToolsManager::GetH1Vector(), G4VFileManager::GetHistoDirectoryName(), G4XmlFileManager::GetHnFile(), G4H1ToolsManager::GetHnVector(), G4AnalysisManagerState::GetIsActivation(), G4AnalysisManagerState::GetVerboseL3(), G4Threading::IsWorkerThread(), JustWarning, G4XmlFileManager::LockHistoDirectoryName(), G4AnalysisVerbose::Message(), name, and G4TemplateAutoLock< M, L, U >::unlock().
Referenced by WriteImpl().
|
private |
Definition at line 159 of file G4XmlAnalysisManager.cc.
References G4H2ToolsManager::AddH2Vector(), G4String::append(), G4HnInformation::fActivation, fFileManager, fgMasterInstance, fH2Manager, G4HnInformation::fName, G4VAnalysisManager::fState, G4Exception(), G4H2ToolsManager::GetH2Vector(), G4VFileManager::GetHistoDirectoryName(), G4XmlFileManager::GetHnFile(), G4H2ToolsManager::GetHnVector(), G4AnalysisManagerState::GetIsActivation(), G4AnalysisManagerState::GetVerboseL3(), G4Threading::IsWorkerThread(), JustWarning, G4XmlFileManager::LockHistoDirectoryName(), G4AnalysisVerbose::Message(), name, and G4TemplateAutoLock< M, L, U >::unlock().
Referenced by WriteImpl().
|
protectedvirtual |
Implements G4VAnalysisManager.
Definition at line 297 of file G4XmlAnalysisManager.cc.
References G4XmlFileManager::CreateHnFile(), fFileManager, fgMasterInstance, fH1Manager, fH2Manager, G4VAnalysisManager::fState, G4endl, G4Exception(), G4VFileManager::GetFileName(), G4VFileManager::GetFullFileName(), G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL4(), G4VAnalysisManager::IsAscii(), G4H2ToolsManager::IsEmpty(), G4H1ToolsManager::IsEmpty(), JustWarning, G4AnalysisVerbose::Message(), name, G4VAnalysisManager::WriteAscii(), WriteH1(), WriteH2(), and WriteNtuple().
|
private |
Definition at line 209 of file G4XmlAnalysisManager.cc.
References fNtupleManager, and G4XmlNtupleManager::GetNtupleVector().
Referenced by WriteImpl().
|
private |
Definition at line 88 of file G4XmlAnalysisManager.hh.
Referenced by CloseFileImpl(), CloseNtupleFiles(), G4XmlAnalysisManager(), OpenFileImpl(), WriteH1(), WriteH2(), and WriteImpl().
|
staticprivate |
Definition at line 75 of file G4XmlAnalysisManager.hh.
Referenced by G4XmlAnalysisManager(), Instance(), and ~G4XmlAnalysisManager().
|
staticprivate |
Definition at line 74 of file G4XmlAnalysisManager.hh.
Referenced by G4XmlAnalysisManager(), WriteH1(), WriteH2(), WriteImpl(), and ~G4XmlAnalysisManager().
|
private |
Definition at line 85 of file G4XmlAnalysisManager.hh.
Referenced by CloseFileImpl(), G4XmlAnalysisManager(), Reset(), WriteH1(), and WriteImpl().
|
private |
Definition at line 86 of file G4XmlAnalysisManager.hh.
Referenced by CloseFileImpl(), G4XmlAnalysisManager(), Reset(), WriteH2(), and WriteImpl().
|
private |
Definition at line 87 of file G4XmlAnalysisManager.hh.
Referenced by CloseNtupleFiles(), G4XmlAnalysisManager(), OpenFileImpl(), Reset(), and WriteNtuple().