32 #ifndef G4CsvNtupleManager_h
33 #define G4CsvNtupleManager_h 1
39 #include "tools/wcsv_ntuple"
70 std::vector<tools::wcsv::ntuple*>::iterator
BeginNtuple();
71 std::vector<tools::wcsv::ntuple*>::iterator
EndNtuple();
73 std::vector<tools::wcsv::ntuple*>::const_iterator
EndConstNtuple()
const;
127 tools::wcsv::ntuple::column<int>*
129 tools::wcsv::ntuple::column<float>*
131 tools::wcsv::ntuple::column<double>*
133 tools::wcsv::ntuple::column<std::string>*
139 G4bool onlyIfActive =
true)
const;
157 inline std::vector<tools::wcsv::ntuple*>::iterator
161 inline std::vector<tools::wcsv::ntuple*>::iterator
165 inline std::vector<tools::wcsv::ntuple*>::const_iterator
169 inline std::vector<tools::wcsv::ntuple*>::const_iterator
176 inline const std::vector<G4CsvNtupleDescription*>&
void SetFileManager(G4CsvFileManager *fileManager)
virtual G4int CreateNtupleDColumn(const G4String &name, std::vector< double > *vector)
std::vector< tools::wcsv::ntuple * >::const_iterator BeginConstNtuple() const
std::vector< G4CsvNtupleDescription * > fNtupleDescriptionVector
virtual G4int CreateNtuple(const G4String &name, const G4String &title)
virtual G4int CreateNtupleFColumn(const G4String &name, std::vector< float > *vector)
G4CsvNtupleManager(const G4AnalysisManagerState &state)
std::vector< tools::wcsv::ntuple * > fNtupleVector
void CreateNtuplesFromBooking()
tools::wcsv::ntuple * GetNtuple() const
virtual G4CsvNtupleDescription * GetNtupleInFunction(G4int id, G4String function, G4bool warn=true, G4bool onlyIfActive=true) const
tools::wcsv::ntuple::column< float > * GetNtupleFColumn(G4int ntupleId, G4int columnId) const
G4CsvFileManager * fFileManager
std::vector< tools::wcsv::ntuple * >::iterator BeginNtuple()
virtual void FinishNtuple()
tools::wcsv::ntuple::column< double > * GetNtupleDColumn(G4int ntupleId, G4int columnId) const
G4bool fIsCommentedHeader
virtual G4bool FillNtupleFColumn(G4int columnId, G4float value)
std::vector< tools::wcsv::ntuple * >::const_iterator EndConstNtuple() const
virtual G4int GetNofNtuples() const
virtual G4int CreateNtupleIColumn(const G4String &name, std::vector< int > *vector)
void SetIsHippoHeader(G4bool isHippoHeader)
virtual G4int CreateNtupleSColumn(const G4String &name)
const std::vector< G4CsvNtupleDescription * > & GetNtupleDescriptionVector() const
virtual G4bool FillNtupleIColumn(G4int columnId, G4int value)
tools::wcsv::ntuple::column< int > * GetNtupleIColumn(G4int ntupleId, G4int columnId) const
void SetIsCommentedHeader(G4bool isCommentedHeader)
virtual G4bool FillNtupleDColumn(G4int columnId, G4double value)
tools::wcsv::ntuple::column< std::string > * GetNtupleSColumn(G4int ntupleId, G4int columnId) const
G4bool WriteHeader(tools::wcsv::ntuple *ntuple) const
std::vector< tools::wcsv::ntuple * >::iterator EndNtuple()
virtual G4bool AddNtupleRow()
virtual G4bool FillNtupleSColumn(G4int columnId, const G4String &value)