Geant4
10.01.p02
|
#include <G4XmlNtupleManager.hh>
Protected Member Functions | |
G4XmlNtupleManager (const G4AnalysisManagerState &state) | |
~G4XmlNtupleManager () | |
void | CreateNtuplesFromBooking () |
G4bool | IsEmpty () const |
G4bool | Reset () |
void | SetFileManager (G4XmlFileManager *fileManager) |
tools::waxml::ntuple * | GetNtuple () const |
tools::waxml::ntuple * | GetNtuple (G4int ntupleId) const |
std::vector < tools::waxml::ntuple * > ::iterator | BeginNtuple () |
std::vector < tools::waxml::ntuple * > ::iterator | EndNtuple () |
std::vector < tools::waxml::ntuple * > ::const_iterator | BeginConstNtuple () const |
std::vector < tools::waxml::ntuple * > ::const_iterator | EndConstNtuple () const |
const std::vector < G4XmlNtupleDescription * > & | GetNtupleDescriptionVector () const |
virtual G4int | CreateNtuple (const G4String &name, const G4String &title) |
virtual G4int | CreateNtupleIColumn (const G4String &name, std::vector< int > *vector) |
virtual G4int | CreateNtupleFColumn (const G4String &name, std::vector< float > *vector) |
virtual G4int | CreateNtupleDColumn (const G4String &name, std::vector< double > *vector) |
virtual G4int | CreateNtupleSColumn (const G4String &name) |
virtual void | FinishNtuple () |
virtual G4int | CreateNtupleIColumn (G4int ntupleId, const G4String &name, std::vector< int > *vector) |
virtual G4int | CreateNtupleFColumn (G4int ntupleId, const G4String &name, std::vector< float > *vector) |
virtual G4int | CreateNtupleDColumn (G4int ntupleId, const G4String &name, std::vector< double > *vector) |
virtual G4int | CreateNtupleSColumn (G4int ntupleId, const G4String &name) |
virtual void | FinishNtuple (G4int ntupleId) |
virtual G4bool | FillNtupleIColumn (G4int columnId, G4int value) |
virtual G4bool | FillNtupleFColumn (G4int columnId, G4float value) |
virtual G4bool | FillNtupleDColumn (G4int columnId, G4double value) |
virtual G4bool | FillNtupleSColumn (G4int columnId, const G4String &value) |
virtual G4bool | AddNtupleRow () |
virtual G4bool | FillNtupleIColumn (G4int ntupleId, G4int columnId, G4int value) |
virtual G4bool | FillNtupleFColumn (G4int ntupleId, G4int columnId, G4float value) |
virtual G4bool | FillNtupleDColumn (G4int ntupleId, G4int columnId, G4double value) |
virtual G4bool | FillNtupleSColumn (G4int ntupleId, G4int columnId, const G4String &value) |
virtual G4bool | AddNtupleRow (G4int ntupleId) |
virtual G4int | GetNofNtuples () const |
Protected Member Functions inherited from G4VNtupleManager | |
G4VNtupleManager (const G4AnalysisManagerState &state) | |
virtual | ~G4VNtupleManager () |
G4bool | SetFirstNtupleColumnId (G4int firstId) |
G4int | GetFirstNtupleColumnId () const |
Private Member Functions | |
tools::waxml::ntuple::column < int > * | GetNtupleIColumn (G4int ntupleId, G4int columnId) const |
tools::waxml::ntuple::column < float > * | GetNtupleFColumn (G4int ntupleId, G4int columnId) const |
tools::waxml::ntuple::column < double > * | GetNtupleDColumn (G4int ntupleId, G4int columnId) const |
tools::waxml::ntuple::column < std::string > * | GetNtupleSColumn (G4int ntupleId, G4int columnId) const |
virtual G4XmlNtupleDescription * | GetNtupleInFunction (G4int id, G4String function, G4bool warn=true, G4bool onlyIfActive=true) const |
Private Attributes | |
G4XmlFileManager * | fFileManager |
std::vector < G4XmlNtupleDescription * > | fNtupleDescriptionVector |
std::vector < tools::waxml::ntuple * > | fNtupleVector |
Friends | |
class | G4XmlAnalysisManager |
Additional Inherited Members | |
Public Member Functions inherited from G4BaseAnalysisManager | |
G4BaseAnalysisManager (const G4AnalysisManagerState &state) | |
virtual | ~G4BaseAnalysisManager () |
G4bool | SetFirstId (G4int firstId) |
G4int | GetFirstId () const |
Protected Attributes inherited from G4VNtupleManager | |
G4int | fFirstNtupleColumnId |
G4bool | fLockFirstNtupleColumnId |
Protected Attributes inherited from G4BaseAnalysisManager | |
const G4AnalysisManagerState & | fState |
G4int | fFirstId |
G4bool | fLockFirstId |
Definition at line 45 of file G4XmlNtupleManager.hh.
|
protected |
Definition at line 46 of file G4XmlNtupleManager.cc.
|
protected |
Definition at line 55 of file G4XmlNtupleManager.cc.
References fNtupleDescriptionVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 789 of file G4XmlNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
Implements G4VNtupleManager.
Definition at line 795 of file G4XmlNtupleManager.cc.
References G4XmlNtupleDescription::fNtuple, G4BaseAnalysisManager::fState, G4Exception(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
|
inlineprotected |
Definition at line 158 of file G4XmlNtupleManager.hh.
References fNtupleVector.
|
inlineprotected |
Definition at line 150 of file G4XmlNtupleManager.hh.
References fNtupleVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 301 of file G4XmlNtupleManager.cc.
References G4XmlFileManager::CreateNtupleFile(), G4XmlNtupleDescription::fFile, fFileManager, G4BaseAnalysisManager::fFirstId, G4BaseAnalysisManager::fLockFirstId, G4XmlNtupleDescription::fNtuple, G4XmlNtupleDescription::fNtupleBooking, fNtupleDescriptionVector, fNtupleVector, G4BaseAnalysisManager::fState, G4BaseFileManager::GetFileName(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 360 of file G4XmlNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, and fNtupleDescriptionVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 504 of file G4XmlNtupleManager.cc.
References G4VNtupleManager::fFirstNtupleColumnId, G4VNtupleManager::fLockFirstNtupleColumnId, G4XmlNtupleDescription::fNtuple, G4XmlNtupleDescription::fNtupleBooking, G4XmlNtupleDescription::fNtupleDColumnMap, G4BaseAnalysisManager::fState, G4Exception(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, G4AnalysisVerbose::Message(), and name.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 352 of file G4XmlNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, and fNtupleDescriptionVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 443 of file G4XmlNtupleManager.cc.
References G4VNtupleManager::fFirstNtupleColumnId, G4VNtupleManager::fLockFirstNtupleColumnId, G4XmlNtupleDescription::fNtuple, G4XmlNtupleDescription::fNtupleBooking, G4XmlNtupleDescription::fNtupleFColumnMap, G4BaseAnalysisManager::fState, G4Exception(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, G4AnalysisVerbose::Message(), and name.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 344 of file G4XmlNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, and fNtupleDescriptionVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 382 of file G4XmlNtupleManager.cc.
References G4VNtupleManager::fFirstNtupleColumnId, G4VNtupleManager::fLockFirstNtupleColumnId, G4XmlNtupleDescription::fNtuple, G4XmlNtupleDescription::fNtupleBooking, G4XmlNtupleDescription::fNtupleIColumnMap, G4BaseAnalysisManager::fState, G4Exception(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, G4AnalysisVerbose::Message(), and name.
Implements G4VNtupleManager.
Definition at line 368 of file G4XmlNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, and fNtupleDescriptionVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 565 of file G4XmlNtupleManager.cc.
References G4VNtupleManager::fFirstNtupleColumnId, G4VNtupleManager::fLockFirstNtupleColumnId, G4XmlNtupleDescription::fNtuple, G4XmlNtupleDescription::fNtupleBooking, G4XmlNtupleDescription::fNtupleSColumnMap, G4BaseAnalysisManager::fState, G4Exception(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, G4AnalysisVerbose::Message(), and name.
|
protected |
Definition at line 188 of file G4XmlNtupleManager.cc.
References G4XmlFileManager::CreateNtupleFile(), fFileManager, G4BaseAnalysisManager::fFirstId, FinishNtuple(), fNtupleDescriptionVector, fNtupleVector, G4BaseAnalysisManager::fState, G4cerr, G4cout, G4endl, G4Exception(), G4AnalysisManagerState::GetIsMaster(), G4AnalysisManagerState::GetVerboseL3(), G4AnalysisManagerState::GetVerboseL4(), G4Threading::IsMultithreadedApplication(), JustWarning, and G4AnalysisVerbose::Message().
Referenced by G4XmlAnalysisManager::OpenFileImpl().
|
inlineprotected |
Definition at line 162 of file G4XmlNtupleManager.hh.
References fNtupleVector.
|
inlineprotected |
Definition at line 154 of file G4XmlNtupleManager.hh.
References fNtupleVector.
Implements G4VNtupleManager.
Definition at line 674 of file G4XmlNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 737 of file G4XmlNtupleManager.cc.
References G4BaseAnalysisManager::fState, G4Exception(), GetNtupleDColumn(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
Implements G4VNtupleManager.
Definition at line 668 of file G4XmlNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 711 of file G4XmlNtupleManager.cc.
References G4BaseAnalysisManager::fState, G4Exception(), GetNtupleFColumn(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
Implements G4VNtupleManager.
Definition at line 662 of file G4XmlNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 686 of file G4XmlNtupleManager.cc.
References G4BaseAnalysisManager::fState, G4Exception(), GetNtupleIColumn(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 680 of file G4XmlNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 763 of file G4XmlNtupleManager.cc.
References G4BaseAnalysisManager::fState, G4Exception(), GetNtupleSColumn(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 375 of file G4XmlNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, and fNtupleDescriptionVector.
Referenced by CreateNtuplesFromBooking().
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 617 of file G4XmlNtupleManager.cc.
References G4String::append(), fFileManager, G4XmlNtupleDescription::fNtuple, G4XmlNtupleDescription::fNtupleBooking, G4BaseAnalysisManager::fState, G4Exception(), G4VFileManager::GetNtupleDirectoryName(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4VFileManager::LockNtupleDirectoryName(), and G4AnalysisVerbose::Message().
|
inlineprotectedvirtual |
Implements G4VNtupleManager.
Definition at line 165 of file G4XmlNtupleManager.hh.
References fNtupleVector.
|
protected |
Definition at line 284 of file G4XmlNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
|
protected |
Definition at line 290 of file G4XmlNtupleManager.cc.
References G4XmlNtupleDescription::fNtuple, and GetNtupleInFunction().
|
private |
Definition at line 117 of file G4XmlNtupleManager.cc.
References G4XmlNtupleDescription::fNtupleDColumnMap, G4Exception(), GetNtupleInFunction(), and JustWarning.
Referenced by FillNtupleDColumn().
|
inlineprotected |
Definition at line 169 of file G4XmlNtupleManager.hh.
References fNtupleDescriptionVector.
Referenced by G4XmlAnalysisManager::CloseNtupleFiles(), and G4XmlAnalysisManager::WriteNtuple().
|
private |
Definition at line 93 of file G4XmlNtupleManager.cc.
References G4XmlNtupleDescription::fNtupleFColumnMap, G4Exception(), GetNtupleInFunction(), and JustWarning.
Referenced by FillNtupleFColumn().
|
private |
Definition at line 69 of file G4XmlNtupleManager.cc.
References G4XmlNtupleDescription::fNtupleIColumnMap, G4Exception(), GetNtupleInFunction(), and JustWarning.
Referenced by FillNtupleIColumn().
|
privatevirtual |
Definition at line 164 of file G4XmlNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, fNtupleDescriptionVector, G4Exception(), and JustWarning.
Referenced by AddNtupleRow(), CreateNtupleDColumn(), CreateNtupleFColumn(), CreateNtupleIColumn(), CreateNtupleSColumn(), FinishNtuple(), GetNtuple(), GetNtupleDColumn(), GetNtupleFColumn(), GetNtupleIColumn(), and GetNtupleSColumn().
|
private |
Definition at line 141 of file G4XmlNtupleManager.cc.
References G4XmlNtupleDescription::fNtupleSColumnMap, G4Exception(), GetNtupleInFunction(), and JustWarning.
Referenced by FillNtupleSColumn().
|
protected |
Definition at line 263 of file G4XmlNtupleManager.cc.
References fNtupleDescriptionVector.
|
protected |
Definition at line 269 of file G4XmlNtupleManager.cc.
References fNtupleDescriptionVector, and fNtupleVector.
Referenced by G4XmlAnalysisManager::Reset().
|
inlineprotected |
Definition at line 146 of file G4XmlNtupleManager.hh.
References fFileManager.
Referenced by G4XmlAnalysisManager::G4XmlAnalysisManager().
|
friend |
Definition at line 47 of file G4XmlNtupleManager.hh.
|
private |
Definition at line 139 of file G4XmlNtupleManager.hh.
Referenced by CreateNtuple(), CreateNtuplesFromBooking(), FinishNtuple(), and SetFileManager().
|
private |
Definition at line 140 of file G4XmlNtupleManager.hh.
Referenced by CreateNtuple(), CreateNtupleDColumn(), CreateNtupleFColumn(), CreateNtupleIColumn(), CreateNtupleSColumn(), CreateNtuplesFromBooking(), FinishNtuple(), GetNtupleDescriptionVector(), GetNtupleInFunction(), IsEmpty(), Reset(), and ~G4XmlNtupleManager().
|
private |
Definition at line 141 of file G4XmlNtupleManager.hh.
Referenced by BeginConstNtuple(), BeginNtuple(), CreateNtuple(), CreateNtuplesFromBooking(), EndConstNtuple(), EndNtuple(), GetNofNtuples(), and Reset().