Geant4-11
|
#include <G4XmlAnalysisReader.hh>
Static Public Member Functions | |
static G4XmlAnalysisReader * | Instance () |
Protected Member Functions | |
virtual G4bool | CloseFilesImpl (G4bool reset) final |
G4XmlAnalysisReader () | |
void | Message (G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const |
virtual G4int | ReadH1Impl (const G4String &h1Name, const G4String &fileName, const G4String &dirName, G4bool isUserFileName) final |
virtual G4int | ReadH2Impl (const G4String &h2Name, const G4String &fileName, const G4String &dirName, G4bool isUserFileName) final |
virtual G4int | ReadH3Impl (const G4String &h3Name, const G4String &fileName, const G4String &dirName, G4bool isUserFileName) final |
virtual G4int | ReadP1Impl (const G4String &p1Name, const G4String &fileName, const G4String &dirName, G4bool isUserFileName) final |
virtual G4int | ReadP2Impl (const G4String &p2Name, const G4String &fileName, const G4String &dirName, G4bool isUserFileName) final |
template<typename HT > | |
G4int | ReadTImpl (const G4String &htName, const G4String &fileName, const G4String &dirName, G4bool isUserFileName, G4THnManager< HT > *htManager) |
void | SetFileManager (std::shared_ptr< G4VRFileManager > fileManager) |
void | SetH1Manager (G4VH1Manager *h1Manager) |
void | SetH2Manager (G4VH2Manager *h2Manager) |
void | SetH3Manager (G4VH3Manager *h3Manager) |
void | SetNtupleManager (std::shared_ptr< G4VRNtupleManager > ntupleManager) |
void | SetP1Manager (G4VP1Manager *p1Manager) |
void | SetP2Manager (G4VP2Manager *p2Manager) |
Protected Attributes | |
G4H1ToolsManager * | fH1Manager { nullptr } |
G4H2ToolsManager * | fH2Manager { nullptr } |
G4H3ToolsManager * | fH3Manager { nullptr } |
G4P1ToolsManager * | fP1Manager { nullptr } |
G4P2ToolsManager * | fP2Manager { nullptr } |
G4AnalysisManagerState | fState |
std::shared_ptr< G4VRFileManager > | fVFileManager { nullptr } |
Private Member Functions | |
G4bool | Reset () |
Private Attributes | |
std::shared_ptr< G4XmlRFileManager > | fFileManager { nullptr } |
std::shared_ptr< G4XmlRNtupleManager > | fNtupleManager { nullptr } |
std::unique_ptr< G4VH1Manager > | fVH1Manager |
std::unique_ptr< G4VH2Manager > | fVH2Manager |
std::unique_ptr< G4VH3Manager > | fVH3Manager |
std::shared_ptr< G4VRNtupleManager > | fVNtupleManager { nullptr } |
std::unique_ptr< G4VP1Manager > | fVP1Manager |
std::unique_ptr< G4VP2Manager > | fVP2Manager |
Static Private Attributes | |
static G4XmlAnalysisReader * | fgMasterInstance { nullptr } |
static constexpr std::string_view | fkClass { "G4XmlAnalysisReader" } |
Friends | |
class | G4ThreadLocalSingleton< G4XmlAnalysisReader > |
Definition at line 49 of file G4XmlAnalysisReader.hh.
|
virtual |
Definition at line 62 of file G4XmlAnalysisReader.cc.
References fgMasterInstance, G4VAnalysisReader::fState, and G4AnalysisManagerState::GetIsMaster().
|
protected |
Definition at line 46 of file G4XmlAnalysisReader.cc.
References fFileManager, fgMasterInstance, fNtupleManager, G4VAnalysisReader::fState, G4Threading::IsWorkerThread(), G4VAnalysisReader::SetFileManager(), and G4VAnalysisReader::SetNtupleManager().
Definition at line 102 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::CloseFilesImpl().
Implements G4VAnalysisReader.
Definition at line 89 of file G4XmlAnalysisReader.cc.
References fFileManager, G4Analysis::kVL2, G4Analysis::kVL4, G4VAnalysisReader::Message(), and Reset().
|
inherited |
Definition at line 114 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVFileManager.
|
inherited |
|
inherited |
Definition at line 422 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVH1Manager.
|
inherited |
Definition at line 428 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVH2Manager.
|
inherited |
Definition at line 434 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVH3Manager.
|
inherited |
Definition at line 452 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
|
inherited |
Definition at line 440 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVP1Manager.
|
inherited |
Definition at line 446 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVP2Manager.
tools::aida::ntuple * G4XmlAnalysisReader::GetNtuple | ( | ) | const |
G4int G4VAnalysisReader::GetNtuple | ( | const G4String & | ntupleName, |
const G4String & | fileName = "" , |
||
const G4String & | dirName = "" |
||
) |
Definition at line 89 of file G4VAnalysisReader.cc.
tools::aida::ntuple * G4XmlAnalysisReader::GetNtuple | ( | G4int | ntupleId | ) | const |
|
inherited |
Definition at line 409 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
Definition at line 416 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
|
inherited |
|
inherited |
|
static |
Definition at line 39 of file G4XmlAnalysisReader.cc.
References G4ThreadLocalSingleton< T >::Instance().
|
inherited |
|
inherited |
Definition at line 120 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fkClass, G4VAnalysisReader::fVFileManager, G4Analysis::kInvalidId, G4VAnalysisReader::ReadH1Impl(), and G4Analysis::Warn().
|
finalprotectedvirtualinherited |
Implements G4VAnalysisReader.
Definition at line 61 of file G4ToolsAnalysisReader.cc.
References G4ToolsAnalysisReader::fH1Manager.
|
inherited |
Definition at line 138 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fkClass, G4VAnalysisReader::fVFileManager, G4Analysis::kInvalidId, G4VAnalysisReader::ReadH2Impl(), and G4Analysis::Warn().
|
finalprotectedvirtualinherited |
Implements G4VAnalysisReader.
Definition at line 71 of file G4ToolsAnalysisReader.cc.
References G4ToolsAnalysisReader::fH2Manager.
|
inherited |
Definition at line 156 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fkClass, G4VAnalysisReader::fVFileManager, G4Analysis::kInvalidId, G4VAnalysisReader::ReadH3Impl(), and G4Analysis::Warn().
|
finalprotectedvirtualinherited |
Implements G4VAnalysisReader.
Definition at line 81 of file G4ToolsAnalysisReader.cc.
References G4ToolsAnalysisReader::fH3Manager.
|
inherited |
Definition at line 174 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fkClass, G4VAnalysisReader::fVFileManager, G4Analysis::kInvalidId, G4VAnalysisReader::ReadP1Impl(), and G4Analysis::Warn().
|
finalprotectedvirtualinherited |
Implements G4VAnalysisReader.
Definition at line 91 of file G4ToolsAnalysisReader.cc.
References G4ToolsAnalysisReader::fP1Manager.
|
inherited |
Definition at line 192 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fkClass, G4VAnalysisReader::fVFileManager, G4Analysis::kInvalidId, G4VAnalysisReader::ReadP2Impl(), and G4Analysis::Warn().
|
finalprotectedvirtualinherited |
Implements G4VAnalysisReader.
Definition at line 101 of file G4ToolsAnalysisReader.cc.
References G4ToolsAnalysisReader::fP2Manager.
|
protectedinherited |
|
private |
Definition at line 72 of file G4XmlAnalysisReader.cc.
References fNtupleManager, and G4ToolsAnalysisReader::Reset().
Referenced by CloseFilesImpl().
|
protectedinherited |
Definition at line 92 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVFileManager.
Referenced by G4CsvAnalysisReader::G4CsvAnalysisReader(), G4Hdf5AnalysisReader::G4Hdf5AnalysisReader(), G4RootAnalysisReader::G4RootAnalysisReader(), and G4XmlAnalysisReader().
|
inherited |
Definition at line 108 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVFileManager.
Definition at line 222 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVH1Manager.
Referenced by G4VAnalysisReader::SetFirstHistoId().
Definition at line 228 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVH2Manager.
Referenced by G4VAnalysisReader::SetFirstHistoId().
Definition at line 234 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVH3Manager.
Referenced by G4VAnalysisReader::SetFirstHistoId().
Definition at line 210 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::SetFirstH1Id(), G4VAnalysisReader::SetFirstH2Id(), and G4VAnalysisReader::SetFirstH3Id().
Definition at line 263 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
Definition at line 251 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVP1Manager.
Referenced by G4VAnalysisReader::SetFirstProfileId().
Definition at line 257 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVP2Manager.
Referenced by G4VAnalysisReader::SetFirstProfileId().
Definition at line 240 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::SetFirstP1Id(), and G4VAnalysisReader::SetFirstP2Id().
|
protectedinherited |
Definition at line 56 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVH1Manager.
Referenced by G4ToolsAnalysisReader::G4ToolsAnalysisReader().
|
protectedinherited |
Definition at line 62 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVH2Manager.
Referenced by G4ToolsAnalysisReader::G4ToolsAnalysisReader().
|
protectedinherited |
Definition at line 68 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVH3Manager.
Referenced by G4ToolsAnalysisReader::G4ToolsAnalysisReader().
|
inherited |
Definition at line 303 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
|
inherited |
Definition at line 331 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
|
inherited |
Definition at line 361 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
|
inherited |
Definition at line 393 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
|
inherited |
Definition at line 296 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
|
inherited |
Definition at line 324 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
|
inherited |
Definition at line 353 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
|
inherited |
Definition at line 385 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
Definition at line 289 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
|
inherited |
Definition at line 317 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
|
inherited |
Definition at line 345 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
|
inherited |
Definition at line 377 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
|
protectedinherited |
Definition at line 86 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
Referenced by G4CsvAnalysisReader::G4CsvAnalysisReader(), G4Hdf5AnalysisReader::G4Hdf5AnalysisReader(), G4RootAnalysisReader::G4RootAnalysisReader(), and G4XmlAnalysisReader().
|
inherited |
Definition at line 310 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
|
inherited |
Definition at line 338 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
|
inherited |
Definition at line 369 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
|
inherited |
Definition at line 401 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVNtupleManager.
|
protectedinherited |
Definition at line 74 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVP1Manager.
Referenced by G4ToolsAnalysisReader::G4ToolsAnalysisReader().
|
protectedinherited |
Definition at line 80 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fVP2Manager.
Referenced by G4ToolsAnalysisReader::G4ToolsAnalysisReader().
|
inherited |
Definition at line 462 of file G4VAnalysisReader.cc.
References G4VAnalysisReader::fState, and G4AnalysisManagerState::SetVerboseLevel().
|
friend |
Definition at line 1 of file G4XmlAnalysisReader.hh.
|
private |
Definition at line 82 of file G4XmlAnalysisReader.hh.
Referenced by CloseFilesImpl(), and G4XmlAnalysisReader().
|
inlinestaticprivate |
Definition at line 72 of file G4XmlAnalysisReader.hh.
Referenced by G4XmlAnalysisReader(), and ~G4XmlAnalysisReader().
|
protectedinherited |
Definition at line 96 of file G4ToolsAnalysisReader.hh.
Referenced by G4ToolsAnalysisReader::G4ToolsAnalysisReader(), G4ToolsAnalysisReader::ReadH1Impl(), and G4ToolsAnalysisReader::Reset().
|
protectedinherited |
Definition at line 97 of file G4ToolsAnalysisReader.hh.
Referenced by G4ToolsAnalysisReader::G4ToolsAnalysisReader(), G4ToolsAnalysisReader::ReadH2Impl(), and G4ToolsAnalysisReader::Reset().
|
protectedinherited |
Definition at line 98 of file G4ToolsAnalysisReader.hh.
Referenced by G4ToolsAnalysisReader::G4ToolsAnalysisReader(), G4ToolsAnalysisReader::ReadH3Impl(), and G4ToolsAnalysisReader::Reset().
|
staticconstexprprivate |
Definition at line 78 of file G4XmlAnalysisReader.hh.
|
private |
Definition at line 81 of file G4XmlAnalysisReader.hh.
Referenced by G4XmlAnalysisReader(), and Reset().
|
protectedinherited |
Definition at line 99 of file G4ToolsAnalysisReader.hh.
Referenced by G4ToolsAnalysisReader::G4ToolsAnalysisReader(), G4ToolsAnalysisReader::ReadP1Impl(), and G4ToolsAnalysisReader::Reset().
|
protectedinherited |
Definition at line 100 of file G4ToolsAnalysisReader.hh.
Referenced by G4ToolsAnalysisReader::G4ToolsAnalysisReader(), G4ToolsAnalysisReader::ReadP2Impl(), and G4ToolsAnalysisReader::Reset().
|
protectedinherited |
Definition at line 262 of file G4VAnalysisReader.hh.
Referenced by G4CsvAnalysisReader::G4CsvAnalysisReader(), G4Hdf5AnalysisReader::G4Hdf5AnalysisReader(), G4RootAnalysisReader::G4RootAnalysisReader(), G4ToolsAnalysisReader::G4ToolsAnalysisReader(), G4XmlAnalysisReader(), G4VAnalysisReader::SetVerboseLevel(), G4CsvAnalysisReader::~G4CsvAnalysisReader(), G4Hdf5AnalysisReader::~G4Hdf5AnalysisReader(), G4RootAnalysisReader::~G4RootAnalysisReader(), and ~G4XmlAnalysisReader().
|
protectedinherited |
Definition at line 265 of file G4VAnalysisReader.hh.
Referenced by G4VAnalysisReader::GetFileName(), G4VAnalysisReader::GetNtuple(), G4VAnalysisReader::ReadH1(), G4VAnalysisReader::ReadH2(), G4VAnalysisReader::ReadH3(), G4VAnalysisReader::ReadP1(), G4VAnalysisReader::ReadP2(), G4VAnalysisReader::SetFileManager(), and G4VAnalysisReader::SetFileName().
|
privateinherited |
Definition at line 272 of file G4VAnalysisReader.hh.
Referenced by G4VAnalysisReader::GetNofH1s(), G4VAnalysisReader::SetFirstH1Id(), and G4VAnalysisReader::SetH1Manager().
|
privateinherited |
Definition at line 273 of file G4VAnalysisReader.hh.
Referenced by G4VAnalysisReader::GetNofH2s(), G4VAnalysisReader::SetFirstH2Id(), and G4VAnalysisReader::SetH2Manager().
|
privateinherited |
Definition at line 274 of file G4VAnalysisReader.hh.
Referenced by G4VAnalysisReader::GetNofH3s(), G4VAnalysisReader::SetFirstH3Id(), and G4VAnalysisReader::SetH3Manager().
|
privateinherited |
Definition at line 277 of file G4VAnalysisReader.hh.
Referenced by G4VAnalysisReader::GetNofNtuples(), G4VAnalysisReader::GetNtuple(), G4VAnalysisReader::GetNtupleRow(), G4VAnalysisReader::SetFirstNtupleId(), G4VAnalysisReader::SetNtupleDColumn(), G4VAnalysisReader::SetNtupleFColumn(), G4VAnalysisReader::SetNtupleIColumn(), G4VAnalysisReader::SetNtupleManager(), and G4VAnalysisReader::SetNtupleSColumn().
|
privateinherited |
Definition at line 275 of file G4VAnalysisReader.hh.
Referenced by G4VAnalysisReader::GetNofP1s(), G4VAnalysisReader::SetFirstP1Id(), and G4VAnalysisReader::SetP1Manager().
|
privateinherited |
Definition at line 276 of file G4VAnalysisReader.hh.
Referenced by G4VAnalysisReader::GetNofP2s(), G4VAnalysisReader::SetFirstP2Id(), and G4VAnalysisReader::SetP2Manager().