Geant4
10.01.p02
|
#include <G4RootNtupleManager.hh>
Protected Member Functions | |
G4RootNtupleManager (const G4AnalysisManagerState &state) | |
virtual | ~G4RootNtupleManager () |
void | CreateNtuplesFromBooking () |
G4bool | IsEmpty () const |
G4bool | Reset () |
void | SetNtupleDirectory (tools::wroot::directory *directory) |
tools::wroot::ntuple * | GetNtuple () const |
tools::wroot::ntuple * | GetNtuple (G4int ntupleId) const |
std::vector < tools::wroot::ntuple * > ::iterator | BeginNtuple () |
std::vector < tools::wroot::ntuple * > ::iterator | EndNtuple () |
std::vector < tools::wroot::ntuple * > ::const_iterator | BeginConstNtuple () const |
std::vector < tools::wroot::ntuple * > ::const_iterator | EndConstNtuple () 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::wroot::ntuple::column < int > * | GetNtupleIColumn (G4int ntupleId, G4int columnId) const |
tools::wroot::ntuple::column < float > * | GetNtupleFColumn (G4int ntupleId, G4int columnId) const |
tools::wroot::ntuple::column < double > * | GetNtupleDColumn (G4int ntupleId, G4int columnId) const |
tools::wroot::ntuple::column_string * | GetNtupleSColumn (G4int ntupleId, G4int columnId) const |
virtual G4RootNtupleDescription * | GetNtupleInFunction (G4int id, G4String function, G4bool warn=true, G4bool onlyIfActive=true) const |
Private Attributes | |
tools::wroot::directory * | fNtupleDirectory |
std::vector < G4RootNtupleDescription * > | fNtupleDescriptionVector |
std::vector < tools::wroot::ntuple * > | fNtupleVector |
Friends | |
class | G4RootAnalysisManager |
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 51 of file G4RootNtupleManager.hh.
|
protected |
Definition at line 40 of file G4RootNtupleManager.cc.
|
protectedvirtual |
Definition at line 49 of file G4RootNtupleManager.cc.
References fNtupleDescriptionVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 636 of file G4RootNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
Implements G4VNtupleManager.
Definition at line 748 of file G4RootNtupleManager.cc.
References G4RootNtupleDescription::fNtuple, G4BaseAnalysisManager::fState, G4Exception(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
|
inlineprotected |
Definition at line 161 of file G4RootNtupleManager.hh.
References fNtupleVector.
|
inlineprotected |
Definition at line 153 of file G4RootNtupleManager.hh.
References fNtupleVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 289 of file G4RootNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, G4BaseAnalysisManager::fLockFirstId, G4RootNtupleDescription::fNtuple, G4RootNtupleDescription::fNtupleBooking, fNtupleDescriptionVector, fNtupleDirectory, fNtupleVector, G4BaseAnalysisManager::fState, G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 346 of file G4RootNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, and fNtupleDescriptionVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 491 of file G4RootNtupleManager.cc.
References G4VNtupleManager::fFirstNtupleColumnId, G4VNtupleManager::fLockFirstNtupleColumnId, G4RootNtupleDescription::fNtuple, G4RootNtupleDescription::fNtupleBooking, G4RootNtupleDescription::fNtupleDColumnMap, G4BaseAnalysisManager::fState, G4Exception(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, G4AnalysisVerbose::Message(), and name.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 338 of file G4RootNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, and fNtupleDescriptionVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 428 of file G4RootNtupleManager.cc.
References G4VNtupleManager::fFirstNtupleColumnId, G4VNtupleManager::fLockFirstNtupleColumnId, G4RootNtupleDescription::fNtuple, G4RootNtupleDescription::fNtupleBooking, G4RootNtupleDescription::fNtupleFColumnMap, G4BaseAnalysisManager::fState, G4Exception(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, G4AnalysisVerbose::Message(), and name.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 330 of file G4RootNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, and fNtupleDescriptionVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 367 of file G4RootNtupleManager.cc.
References G4VNtupleManager::fFirstNtupleColumnId, G4VNtupleManager::fLockFirstNtupleColumnId, G4RootNtupleDescription::fNtuple, G4RootNtupleDescription::fNtupleBooking, G4RootNtupleDescription::fNtupleIColumnMap, G4BaseAnalysisManager::fState, G4Exception(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, G4AnalysisVerbose::Message(), and name.
Implements G4VNtupleManager.
Definition at line 354 of file G4RootNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, and fNtupleDescriptionVector.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 553 of file G4RootNtupleManager.cc.
References G4VNtupleManager::fFirstNtupleColumnId, G4VNtupleManager::fLockFirstNtupleColumnId, G4RootNtupleDescription::fNtuple, G4RootNtupleDescription::fNtupleBooking, G4RootNtupleDescription::fNtupleSColumnMap, G4BaseAnalysisManager::fState, G4Exception(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, G4AnalysisVerbose::Message(), and name.
|
protected |
Definition at line 187 of file G4RootNtupleManager.cc.
References fNtupleDescriptionVector, fNtupleDirectory, fNtupleVector, G4BaseAnalysisManager::fState, G4Exception(), G4AnalysisManagerState::GetVerboseL3(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
Referenced by G4RootAnalysisManager::OpenFileImpl().
|
inlineprotected |
Definition at line 165 of file G4RootNtupleManager.hh.
References fNtupleVector.
|
inlineprotected |
Definition at line 157 of file G4RootNtupleManager.hh.
References fNtupleVector.
Implements G4VNtupleManager.
Definition at line 623 of file G4RootNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 695 of file G4RootNtupleManager.cc.
References G4BaseAnalysisManager::fState, G4Exception(), GetNtupleDColumn(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
Implements G4VNtupleManager.
Definition at line 617 of file G4RootNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 668 of file G4RootNtupleManager.cc.
References G4BaseAnalysisManager::fState, G4Exception(), GetNtupleFColumn(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
Implements G4VNtupleManager.
Definition at line 611 of file G4RootNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 642 of file G4RootNtupleManager.cc.
References G4BaseAnalysisManager::fState, G4Exception(), GetNtupleIColumn(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 629 of file G4RootNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 722 of file G4RootNtupleManager.cc.
References G4BaseAnalysisManager::fState, G4Exception(), GetNtupleSColumn(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 361 of file G4RootNtupleManager.cc.
|
protectedvirtual |
Implements G4VNtupleManager.
Definition at line 605 of file G4RootNtupleManager.cc.
|
inlineprotectedvirtual |
Implements G4VNtupleManager.
Definition at line 168 of file G4RootNtupleManager.hh.
References fNtupleVector.
|
protected |
Definition at line 272 of file G4RootNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId.
|
protected |
Definition at line 278 of file G4RootNtupleManager.cc.
References G4RootNtupleDescription::fNtuple, and GetNtupleInFunction().
|
private |
Definition at line 114 of file G4RootNtupleManager.cc.
References G4RootNtupleDescription::fNtupleDColumnMap, G4Exception(), GetNtupleInFunction(), and JustWarning.
Referenced by FillNtupleDColumn().
|
private |
Definition at line 88 of file G4RootNtupleManager.cc.
References G4RootNtupleDescription::fNtupleFColumnMap, G4Exception(), GetNtupleInFunction(), and JustWarning.
Referenced by FillNtupleFColumn().
|
private |
Definition at line 63 of file G4RootNtupleManager.cc.
References G4RootNtupleDescription::fNtupleIColumnMap, G4Exception(), GetNtupleInFunction(), and JustWarning.
Referenced by FillNtupleIColumn().
|
privatevirtual |
Definition at line 163 of file G4RootNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, fNtupleDescriptionVector, G4Exception(), and JustWarning.
Referenced by AddNtupleRow(), CreateNtupleDColumn(), CreateNtupleFColumn(), CreateNtupleIColumn(), CreateNtupleSColumn(), GetNtuple(), GetNtupleDColumn(), GetNtupleFColumn(), GetNtupleIColumn(), and GetNtupleSColumn().
|
private |
Definition at line 139 of file G4RootNtupleManager.cc.
References G4RootNtupleDescription::fNtupleSColumnMap, G4Exception(), GetNtupleInFunction(), and JustWarning.
Referenced by FillNtupleSColumn().
|
protected |
Definition at line 250 of file G4RootNtupleManager.cc.
References fNtupleDescriptionVector.
Referenced by G4RootAnalysisManager::CloseFileImpl().
|
protected |
Definition at line 256 of file G4RootNtupleManager.cc.
References fNtupleDescriptionVector, and fNtupleVector.
Referenced by G4RootAnalysisManager::Reset().
|
inlineprotected |
Definition at line 148 of file G4RootNtupleManager.hh.
References fNtupleDirectory.
Referenced by G4RootAnalysisManager::OpenFileImpl().
|
friend |
Definition at line 53 of file G4RootNtupleManager.hh.
|
private |
Definition at line 142 of file G4RootNtupleManager.hh.
Referenced by CreateNtuple(), CreateNtupleDColumn(), CreateNtupleFColumn(), CreateNtupleIColumn(), CreateNtupleSColumn(), CreateNtuplesFromBooking(), GetNtupleInFunction(), IsEmpty(), Reset(), and ~G4RootNtupleManager().
|
private |
Definition at line 141 of file G4RootNtupleManager.hh.
Referenced by CreateNtuple(), CreateNtuplesFromBooking(), and SetNtupleDirectory().
|
private |
Definition at line 143 of file G4RootNtupleManager.hh.
Referenced by BeginConstNtuple(), BeginNtuple(), CreateNtuple(), CreateNtuplesFromBooking(), EndConstNtuple(), EndNtuple(), GetNofNtuples(), and Reset().