Geant4
10.01.p02
|
#include <G4CsvNtupleManager.hh>
Protected Member Functions | |
G4CsvNtupleManager (const G4AnalysisManagerState &state) | |
~G4CsvNtupleManager () | |
void | CreateNtuplesFromBooking () |
G4bool | IsEmpty () const |
G4bool | Reset () |
void | SetFileManager (G4CsvFileManager *fileManager) |
tools::wcsv::ntuple * | GetNtuple () const |
tools::wcsv::ntuple * | GetNtuple (G4int ntupleId) const |
std::vector < tools::wcsv::ntuple * > ::iterator | BeginNtuple () |
std::vector < tools::wcsv::ntuple * > ::iterator | EndNtuple () |
std::vector < tools::wcsv::ntuple * > ::const_iterator | BeginConstNtuple () const |
std::vector < tools::wcsv::ntuple * > ::const_iterator | EndConstNtuple () const |
const std::vector < G4CsvNtupleDescription * > & | 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 |
void | SetIsCommentedHeader (G4bool isCommentedHeader) |
void | SetIsHippoHeader (G4bool isHippoHeader) |
Protected Member Functions inherited from G4VNtupleManager | |
G4VNtupleManager (const G4AnalysisManagerState &state) | |
virtual | ~G4VNtupleManager () |
G4bool | SetFirstNtupleColumnId (G4int firstId) |
G4int | GetFirstNtupleColumnId () const |
Private Member Functions | |
tools::wcsv::ntuple::column < int > * | GetNtupleIColumn (G4int ntupleId, G4int columnId) const |
tools::wcsv::ntuple::column < float > * | GetNtupleFColumn (G4int ntupleId, G4int columnId) const |
tools::wcsv::ntuple::column < double > * | GetNtupleDColumn (G4int ntupleId, G4int columnId) const |
tools::wcsv::ntuple::column < std::string > * | GetNtupleSColumn (G4int ntupleId, G4int columnId) const |
virtual G4CsvNtupleDescription * | GetNtupleInFunction (G4int id, G4String function, G4bool warn=true, G4bool onlyIfActive=true) const |
G4bool | WriteHeader (tools::wcsv::ntuple *ntuple) const |
Private Attributes | |
G4CsvFileManager * | fFileManager |
std::vector < G4CsvNtupleDescription * > | fNtupleDescriptionVector |
std::vector < tools::wcsv::ntuple * > | fNtupleVector |
G4bool | fIsCommentedHeader |
G4bool | fIsHippoHeader |
Friends | |
class | G4CsvAnalysisManager |
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 46 of file G4CsvNtupleManager.hh.
|
protected |
Definition at line 43 of file G4CsvNtupleManager.cc.
|
protected |
Definition at line 54 of file G4CsvNtupleManager.cc.
References fNtupleDescriptionVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 702 of file G4CsvNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
Implements G4VNtupleManager.
Definition at line 815 of file G4CsvNtupleManager.cc.
References G4CsvNtupleDescription::fNtuple, G4BaseAnalysisManager::fState, G4Exception(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
|
inlineprotected |
Definition at line 166 of file G4CsvNtupleManager.hh.
References fNtupleVector.
|
inlineprotected |
Definition at line 158 of file G4CsvNtupleManager.hh.
References fNtupleVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 326 of file G4CsvNtupleManager.cc.
References G4CsvFileManager::CreateNtupleFile(), G4CsvNtupleDescription::fFile, fFileManager, G4BaseAnalysisManager::fFirstId, G4BaseAnalysisManager::fLockFirstId, G4CsvNtupleDescription::fNtuple, G4CsvNtupleDescription::fNtupleBooking, fNtupleDescriptionVector, fNtupleVector, G4BaseAnalysisManager::fState, G4BaseFileManager::GetFileName(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 387 of file G4CsvNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, and fNtupleDescriptionVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 533 of file G4CsvNtupleManager.cc.
References G4VNtupleManager::fFirstNtupleColumnId, G4VNtupleManager::fLockFirstNtupleColumnId, G4CsvNtupleDescription::fNtuple, G4CsvNtupleDescription::fNtupleBooking, G4CsvNtupleDescription::fNtupleDColumnMap, G4BaseAnalysisManager::fState, G4Exception(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, G4AnalysisVerbose::Message(), and name.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 379 of file G4CsvNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, and fNtupleDescriptionVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 471 of file G4CsvNtupleManager.cc.
References G4VNtupleManager::fFirstNtupleColumnId, G4VNtupleManager::fLockFirstNtupleColumnId, G4CsvNtupleDescription::fNtuple, G4CsvNtupleDescription::fNtupleBooking, G4CsvNtupleDescription::fNtupleFColumnMap, G4BaseAnalysisManager::fState, G4Exception(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, G4AnalysisVerbose::Message(), and name.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 371 of file G4CsvNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, and fNtupleDescriptionVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 409 of file G4CsvNtupleManager.cc.
References G4VNtupleManager::fFirstNtupleColumnId, G4VNtupleManager::fLockFirstNtupleColumnId, G4CsvNtupleDescription::fNtuple, G4CsvNtupleDescription::fNtupleBooking, G4CsvNtupleDescription::fNtupleIColumnMap, G4BaseAnalysisManager::fState, G4Exception(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, G4AnalysisVerbose::Message(), and name.
Implements G4VNtupleManager.
Definition at line 395 of file G4CsvNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, and fNtupleDescriptionVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 595 of file G4CsvNtupleManager.cc.
References G4VNtupleManager::fFirstNtupleColumnId, G4VNtupleManager::fLockFirstNtupleColumnId, G4CsvNtupleDescription::fNtuple, G4CsvNtupleDescription::fNtupleBooking, G4CsvNtupleDescription::fNtupleSColumnMap, G4BaseAnalysisManager::fState, G4Exception(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, G4AnalysisVerbose::Message(), and name.
|
protected |
Definition at line 209 of file G4CsvNtupleManager.cc.
References G4CsvFileManager::CreateNtupleFile(), fFileManager, fNtupleDescriptionVector, fNtupleVector, G4BaseAnalysisManager::fState, G4cerr, G4Exception(), G4AnalysisManagerState::GetIsMaster(), G4AnalysisManagerState::GetVerboseL3(), G4AnalysisManagerState::GetVerboseL4(), G4Threading::IsMultithreadedApplication(), JustWarning, G4AnalysisVerbose::Message(), and WriteHeader().
Referenced by G4CsvAnalysisManager::OpenFileImpl().
|
inlineprotected |
Definition at line 170 of file G4CsvNtupleManager.hh.
References fNtupleVector.
|
inlineprotected |
Definition at line 162 of file G4CsvNtupleManager.hh.
References fNtupleVector.
Implements G4VNtupleManager.
Definition at line 689 of file G4CsvNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 761 of file G4CsvNtupleManager.cc.
References G4BaseAnalysisManager::fState, G4Exception(), GetNtupleDColumn(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
Implements G4VNtupleManager.
Definition at line 683 of file G4CsvNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 734 of file G4CsvNtupleManager.cc.
References G4BaseAnalysisManager::fState, G4Exception(), GetNtupleFColumn(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
Implements G4VNtupleManager.
Definition at line 677 of file G4CsvNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 708 of file G4CsvNtupleManager.cc.
References G4BaseAnalysisManager::fState, G4Exception(), GetNtupleIColumn(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 695 of file G4CsvNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 788 of file G4CsvNtupleManager.cc.
References G4BaseAnalysisManager::fState, G4Exception(), GetNtupleSColumn(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 402 of file G4CsvNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, and fNtupleDescriptionVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 657 of file G4CsvNtupleManager.cc.
References G4CsvNtupleDescription::fNtuple, G4Exception(), GetNtupleInFunction(), JustWarning, and WriteHeader().
|
inlineprotectedvirtual |
Implements G4VNtupleManager.
Definition at line 173 of file G4CsvNtupleManager.hh.
References fNtupleDescriptionVector.
|
protected |
Definition at line 309 of file G4CsvNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
|
protected |
Definition at line 315 of file G4CsvNtupleManager.cc.
References G4CsvNtupleDescription::fNtuple, and GetNtupleInFunction().
|
private |
Definition at line 117 of file G4CsvNtupleManager.cc.
References G4CsvNtupleDescription::fNtupleDColumnMap, G4Exception(), GetNtupleInFunction(), and JustWarning.
Referenced by FillNtupleDColumn().
|
inlineprotected |
Definition at line 177 of file G4CsvNtupleManager.hh.
References fNtupleDescriptionVector.
Referenced by G4CsvAnalysisManager::CloseNtupleFiles().
|
private |
Definition at line 92 of file G4CsvNtupleManager.cc.
References G4CsvNtupleDescription::fNtupleFColumnMap, G4Exception(), GetNtupleInFunction(), and JustWarning.
Referenced by FillNtupleFColumn().
|
private |
Definition at line 68 of file G4CsvNtupleManager.cc.
References G4CsvNtupleDescription::fNtupleIColumnMap, G4Exception(), GetNtupleInFunction(), and JustWarning.
Referenced by FillNtupleIColumn().
|
privatevirtual |
Definition at line 164 of file G4CsvNtupleManager.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 G4CsvNtupleManager.cc.
References G4CsvNtupleDescription::fNtupleSColumnMap, G4Exception(), GetNtupleInFunction(), and JustWarning.
Referenced by FillNtupleSColumn().
|
protected |
Definition at line 290 of file G4CsvNtupleManager.cc.
References fNtupleDescriptionVector.
|
protected |
Definition at line 296 of file G4CsvNtupleManager.cc.
References fNtupleDescriptionVector, and fNtupleVector.
Referenced by G4CsvAnalysisManager::Reset().
|
inlineprotected |
Definition at line 154 of file G4CsvNtupleManager.hh.
References fFileManager.
Referenced by G4CsvAnalysisManager::G4CsvAnalysisManager().
|
inlineprotected |
Definition at line 180 of file G4CsvNtupleManager.hh.
References fIsCommentedHeader.
|
inlineprotected |
Definition at line 183 of file G4CsvNtupleManager.hh.
References fIsHippoHeader.
|
private |
Definition at line 184 of file G4CsvNtupleManager.cc.
References fIsCommentedHeader, fIsHippoHeader, and G4cout.
Referenced by CreateNtuplesFromBooking(), and FinishNtuple().
|
friend |
Definition at line 48 of file G4CsvNtupleManager.hh.
|
private |
Definition at line 145 of file G4CsvNtupleManager.hh.
Referenced by CreateNtuple(), CreateNtuplesFromBooking(), and SetFileManager().
|
private |
Definition at line 148 of file G4CsvNtupleManager.hh.
Referenced by SetIsCommentedHeader(), and WriteHeader().
|
private |
Definition at line 149 of file G4CsvNtupleManager.hh.
Referenced by SetIsHippoHeader(), and WriteHeader().
|
private |
Definition at line 146 of file G4CsvNtupleManager.hh.
Referenced by CreateNtuple(), CreateNtupleDColumn(), CreateNtupleFColumn(), CreateNtupleIColumn(), CreateNtupleSColumn(), CreateNtuplesFromBooking(), FinishNtuple(), GetNofNtuples(), GetNtupleDescriptionVector(), GetNtupleInFunction(), IsEmpty(), Reset(), and ~G4CsvNtupleManager().
|
private |
Definition at line 147 of file G4CsvNtupleManager.hh.
Referenced by BeginConstNtuple(), BeginNtuple(), CreateNtuple(), CreateNtuplesFromBooking(), EndConstNtuple(), EndNtuple(), and Reset().