Geant4
10.02
|
#include <G4RootAnalysisReader.hh>
Static Public Member Functions | |
static G4RootAnalysisReader * | Instance () |
Protected Member Functions | |
virtual G4int | ReadH1Impl (const G4String &h1Name, const G4String &fileName, G4bool isUserFileName) final |
virtual G4int | ReadH2Impl (const G4String &h2Name, const G4String &fileName, G4bool isUserFileName) final |
virtual G4int | ReadH3Impl (const G4String &h3Name, const G4String &fileName, G4bool isUserFileName) final |
virtual G4int | ReadP1Impl (const G4String &p1Name, const G4String &fileName, G4bool isUserFileName) final |
virtual G4int | ReadP2Impl (const G4String &p2Name, const G4String &fileName, G4bool isUserFileName) final |
virtual G4int | ReadNtupleImpl (const G4String &ntupleName, const G4String &fileName, G4bool isUserFileName) final |
Protected Member Functions inherited from G4ToolsAnalysisReader | |
G4bool | Reset () |
Protected Member Functions inherited from G4VAnalysisReader | |
void | SetH1Manager (G4VH1Manager *h1Manager) |
void | SetH2Manager (G4VH2Manager *h2Manager) |
void | SetH3Manager (G4VH3Manager *h3Manager) |
void | SetP1Manager (G4VP1Manager *p1Manager) |
void | SetP2Manager (G4VP2Manager *p2Manager) |
void | SetNtupleManager (G4VRNtupleManager *ntupleManager) |
void | SetFileManager (G4BaseFileManager *fileManager) |
Private Member Functions | |
tools::rroot::buffer * | GetBuffer (const G4String &fileName, const G4String &name, const G4String &inFunction) |
G4bool | Reset () |
Private Attributes | |
G4RootRNtupleManager * | fNtupleManager |
G4RootRFileManager * | fFileManager |
Static Private Attributes | |
static G4RootAnalysisReader * | fgMasterInstance = nullptr |
static G4ThreadLocal G4RootAnalysisReader * | fgInstance = nullptr |
Additional Inherited Members | |
Protected Attributes inherited from G4ToolsAnalysisReader | |
G4H1ToolsManager * | fH1Manager |
G4H2ToolsManager * | fH2Manager |
G4H3ToolsManager * | fH3Manager |
G4P1ToolsManager * | fP1Manager |
G4P2ToolsManager * | fP2Manager |
Protected Attributes inherited from G4VAnalysisReader | |
G4AnalysisManagerState | fState |
Definition at line 54 of file G4RootAnalysisReader.hh.
|
explicit |
Definition at line 64 of file G4RootAnalysisReader.cc.
References FatalException, fFileManager, fgInstance, fgMasterInstance, fNtupleManager, G4VAnalysisReader::fState, G4Exception(), G4VAnalysisReader::SetFileManager(), and G4VAnalysisReader::SetNtupleManager().
|
virtual |
Definition at line 92 of file G4RootAnalysisReader.cc.
References fgInstance, fgMasterInstance, G4VAnalysisReader::fState, and G4AnalysisManagerState::GetIsMaster().
|
private |
Definition at line 103 of file G4RootAnalysisReader.cc.
References buffer, fFileManager, G4cout, G4Exception(), G4RootRFileManager::GetRFile(), JustWarning, and G4RootRFileManager::OpenRFile().
Referenced by ReadH1Impl(), ReadH2Impl(), ReadH3Impl(), ReadP1Impl(), and ReadP2Impl().
tools::rroot::ntuple* G4RootAnalysisReader::GetNtuple | ( | ) | const |
tools::rroot::ntuple* G4RootAnalysisReader::GetNtuple | ( | G4int | ntupleId | ) | const |
|
static |
Definition at line 53 of file G4RootAnalysisReader.cc.
References G4Threading::IsWorkerThread().
|
finalprotectedvirtual |
Implements G4VAnalysisReader.
Definition at line 166 of file G4RootAnalysisReader.cc.
References G4H1ToolsManager::AddH1(), buffer, G4ToolsAnalysisReader::fH1Manager, G4VAnalysisReader::fState, G4Exception(), GetBuffer(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, and G4AnalysisVerbose::Message().
|
finalprotectedvirtual |
Implements G4VAnalysisReader.
Definition at line 202 of file G4RootAnalysisReader.cc.
References G4H2ToolsManager::AddH2(), buffer, G4ToolsAnalysisReader::fH2Manager, G4VAnalysisReader::fState, G4Exception(), GetBuffer(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, and G4AnalysisVerbose::Message().
|
finalprotectedvirtual |
Implements G4VAnalysisReader.
Definition at line 243 of file G4RootAnalysisReader.cc.
References G4H3ToolsManager::AddH3(), buffer, G4ToolsAnalysisReader::fH3Manager, G4VAnalysisReader::fState, G4Exception(), GetBuffer(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, and G4AnalysisVerbose::Message().
|
finalprotectedvirtual |
Implements G4VAnalysisReader.
Definition at line 357 of file G4RootAnalysisReader.cc.
References buffer, fac, fFileManager, fNtupleManager, G4VAnalysisReader::fState, G4cout, G4Exception(), G4RootRFileManager::GetRFile(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, G4AnalysisVerbose::Message(), G4RootRFileManager::OpenRFile(), and G4RootRNtupleManager::SetNtuple().
|
finalprotectedvirtual |
Implements G4VAnalysisReader.
Definition at line 284 of file G4RootAnalysisReader.cc.
References G4P1ToolsManager::AddP1(), buffer, G4ToolsAnalysisReader::fP1Manager, G4VAnalysisReader::fState, G4Exception(), GetBuffer(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, and G4AnalysisVerbose::Message().
|
finalprotectedvirtual |
Implements G4VAnalysisReader.
Definition at line 320 of file G4RootAnalysisReader.cc.
References G4P2ToolsManager::AddP2(), buffer, G4ToolsAnalysisReader::fP2Manager, G4VAnalysisReader::fState, G4Exception(), GetBuffer(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, and G4AnalysisVerbose::Message().
|
private |
Definition at line 146 of file G4RootAnalysisReader.cc.
References fNtupleManager, G4RootRNtupleManager::Reset(), and G4ToolsAnalysisReader::Reset().
|
private |
Definition at line 98 of file G4RootAnalysisReader.hh.
Referenced by G4RootAnalysisReader(), GetBuffer(), and ReadNtupleImpl().
|
staticprivate |
Definition at line 86 of file G4RootAnalysisReader.hh.
Referenced by G4RootAnalysisReader(), and ~G4RootAnalysisReader().
|
staticprivate |
Definition at line 85 of file G4RootAnalysisReader.hh.
Referenced by G4RootAnalysisReader(), and ~G4RootAnalysisReader().
|
private |
Definition at line 97 of file G4RootAnalysisReader.hh.
Referenced by G4RootAnalysisReader(), ReadNtupleImpl(), and Reset().