Geant4
10.02.p02
|
#include <G4CsvAnalysisReader.hh>
Static Public Member Functions | |
static G4CsvAnalysisReader * | 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 | |
G4String | GetHnFileName (const G4String &hnType, const G4String &hnName, const G4String &baseFileName, G4bool isUserFileName) const |
G4bool | Reset () |
Private Attributes | |
G4CsvRNtupleManager * | fNtupleManager |
G4CsvRFileManager * | fFileManager |
Static Private Attributes | |
static G4CsvAnalysisReader * | fgMasterInstance = nullptr |
static G4ThreadLocal G4CsvAnalysisReader * | 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 G4CsvAnalysisReader.hh.
|
explicit |
Definition at line 104 of file G4CsvAnalysisReader.cc.
References FatalException, fFileManager, fgInstance, fgMasterInstance, fNtupleManager, G4VAnalysisReader::fState, G4Exception(), G4VAnalysisReader::SetFileManager(), and G4VAnalysisReader::SetNtupleManager().
|
virtual |
Definition at line 132 of file G4CsvAnalysisReader.cc.
References fgInstance, fgMasterInstance, G4VAnalysisReader::fState, and G4AnalysisManagerState::GetIsMaster().
|
private |
Definition at line 143 of file G4CsvAnalysisReader.cc.
References fFileManager, G4BaseFileManager::GetFullFileName(), and G4BaseFileManager::GetHnFileName().
Referenced by ReadH1Impl(), ReadH2Impl(), ReadH3Impl(), ReadP1Impl(), and ReadP2Impl().
tools::rcsv::ntuple* G4CsvAnalysisReader::GetNtuple | ( | ) | const |
tools::rcsv::ntuple* G4CsvAnalysisReader::GetNtuple | ( | G4int | ntupleId | ) | const |
|
static |
Definition at line 93 of file G4CsvAnalysisReader.cc.
References G4Threading::IsWorkerThread().
|
finalprotectedvirtual |
Implements G4VAnalysisReader.
Definition at line 178 of file G4CsvAnalysisReader.cc.
References G4H1ToolsManager::AddH1(), G4ToolsAnalysisReader::fH1Manager, G4VAnalysisReader::fState, G4Exception(), GetHnFileName(), G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, and G4AnalysisVerbose::Message().
|
finalprotectedvirtual |
Implements G4VAnalysisReader.
Definition at line 219 of file G4CsvAnalysisReader.cc.
References G4H2ToolsManager::AddH2(), G4ToolsAnalysisReader::fH2Manager, G4VAnalysisReader::fState, G4Exception(), GetHnFileName(), G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, and G4AnalysisVerbose::Message().
|
finalprotectedvirtual |
Implements G4VAnalysisReader.
Definition at line 260 of file G4CsvAnalysisReader.cc.
References G4H3ToolsManager::AddH3(), G4ToolsAnalysisReader::fH3Manager, G4VAnalysisReader::fState, G4Exception(), GetHnFileName(), G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, and G4AnalysisVerbose::Message().
|
finalprotectedvirtual |
Implements G4VAnalysisReader.
Definition at line 384 of file G4CsvAnalysisReader.cc.
References fFileManager, fNtupleManager, G4VAnalysisReader::fState, G4BaseFileManager::GetNtupleFileName(), G4CsvRFileManager::GetRFile(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), G4Analysis::kInvalidId, G4AnalysisVerbose::Message(), G4CsvRFileManager::OpenRFile(), and G4CsvRNtupleManager::SetNtuple().
|
finalprotectedvirtual |
Implements G4VAnalysisReader.
Definition at line 301 of file G4CsvAnalysisReader.cc.
References G4P1ToolsManager::AddP1(), G4ToolsAnalysisReader::fP1Manager, G4VAnalysisReader::fState, G4Exception(), GetHnFileName(), G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, and G4AnalysisVerbose::Message().
|
finalprotectedvirtual |
Implements G4VAnalysisReader.
Definition at line 342 of file G4CsvAnalysisReader.cc.
References G4P2ToolsManager::AddP2(), G4ToolsAnalysisReader::fP2Manager, G4VAnalysisReader::fState, G4Exception(), GetHnFileName(), G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, and G4AnalysisVerbose::Message().
|
private |
Definition at line 158 of file G4CsvAnalysisReader.cc.
References fNtupleManager, G4CsvRNtupleManager::Reset(), and G4ToolsAnalysisReader::Reset().
|
private |
Definition at line 98 of file G4CsvAnalysisReader.hh.
Referenced by G4CsvAnalysisReader(), GetHnFileName(), and ReadNtupleImpl().
|
staticprivate |
Definition at line 86 of file G4CsvAnalysisReader.hh.
Referenced by G4CsvAnalysisReader(), and ~G4CsvAnalysisReader().
|
staticprivate |
Definition at line 85 of file G4CsvAnalysisReader.hh.
Referenced by G4CsvAnalysisReader(), and ~G4CsvAnalysisReader().
|
private |
Definition at line 97 of file G4CsvAnalysisReader.hh.
Referenced by G4CsvAnalysisReader(), ReadNtupleImpl(), and Reset().