Geant4.10
|
#include <G4RootAnalysisManager.hh>
Static Public Member Functions | |
static G4RootAnalysisManager * | Instance () |
Protected Member Functions | |
virtual G4bool | OpenFileImpl (const G4String &fileName) |
virtual G4bool | WriteImpl () |
virtual G4bool | CloseFileImpl () |
![]() | |
void | SetH1Manager (G4VH1Manager *h1Manager) |
void | SetH2Manager (G4VH2Manager *h2Manager) |
void | SetNtupleManager (G4VNtupleManager *ntupleManager) |
void | SetFileManager (G4VFileManager *fileManager) |
G4bool | WriteAscii (const G4String &fileName) |
Additional Inherited Members | |
![]() | |
G4AnalysisManagerState | fState |
Definition at line 49 of file G4RootAnalysisManager.hh.
G4RootAnalysisManager::G4RootAnalysisManager | ( | G4bool | isMaster = true | ) |
Definition at line 69 of file G4RootAnalysisManager.cc.
References FatalException, G4VAnalysisManager::fState, G4Exception(), G4VAnalysisManager::SetFileManager(), G4VAnalysisManager::SetH1Manager(), G4VAnalysisManager::SetH2Manager(), and G4VAnalysisManager::SetNtupleManager().
Referenced by Instance().
|
virtual |
Definition at line 103 of file G4RootAnalysisManager.cc.
References G4VAnalysisManager::fState, and G4AnalysisManagerState::GetIsMaster().
|
protectedvirtual |
Implements G4VAnalysisManager.
Definition at line 296 of file G4RootAnalysisManager.cc.
References G4RootFileManager::CloseFile(), G4VAnalysisManager::fState, G4Exception(), G4VFileManager::GetFullFileName(), G4AnalysisManagerState::GetIsMaster(), G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL4(), G4H2ToolsManager::IsEmpty(), G4H1ToolsManager::IsEmpty(), G4RootNtupleManager::IsEmpty(), G4AnalysisManagerState::IsMT(), JustWarning, and G4AnalysisVerbose::Message().
tools::histo::h1d* G4RootAnalysisManager::GetH1 | ( | G4int | id, |
G4bool | warn = true , |
||
G4bool | onlyIfActive = true |
||
) | const |
Referenced by exGPSHistoManager::book(), RMC01AnalysisManager::book(), Histo::EndOfHisto(), and Histo::ScaleH1().
tools::histo::h2d* G4RootAnalysisManager::GetH2 | ( | G4int | id, |
G4bool | warn = true , |
||
G4bool | onlyIfActive = true |
||
) | const |
Referenced by exGPSHistoManager::book(), and RMC01AnalysisManager::book().
tools::wroot::ntuple* G4RootAnalysisManager::GetNtuple | ( | ) | const |
tools::wroot::ntuple* G4RootAnalysisManager::GetNtuple | ( | G4int | ntupleId | ) | const |
|
static |
Definition at line 58 of file G4RootAnalysisManager.cc.
References G4RootAnalysisManager(), and G4Threading::IsWorkerThread().
Referenced by Histo::BeginOfHisto(), Histo::Book(), and Histo::Save().
Implements G4VAnalysisManager.
Definition at line 231 of file G4RootAnalysisManager.cc.
References G4RootNtupleManager::CreateNtuplesFromBooking(), G4VAnalysisManager::fState, G4VFileManager::GetFullFileName(), G4RootFileManager::GetNtupleDirectory(), G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL4(), G4AnalysisVerbose::Message(), G4RootFileManager::OpenFile(), G4VFileManager::SetFileName(), and G4RootNtupleManager::SetNtupleDirectory().
|
protectedvirtual |
Implements G4VAnalysisManager.
Definition at line 258 of file G4RootAnalysisManager.cc.
References G4endl, G4Exception(), G4VFileManager::GetFileName(), G4VAnalysisManager::IsAscii(), G4H2ToolsManager::IsEmpty(), G4H1ToolsManager::IsEmpty(), JustWarning, G4VAnalysisManager::WriteAscii(), and G4RootFileManager::WriteFile().