31#ifndef G4NtupleBookingManager_h
32#define G4NtupleBookingManager_h 1
38#include "tools/ntuple_booking"
81 std::vector<int>* vector);
83 std::vector<float>* vector) ;
85 std::vector<double>* vector);
87 std::vector<std::string>* vector);
92 const G4String& name, std::vector<int>* vector);
94 const G4String& name, std::vector<float>* vector);
96 const G4String& name, std::vector<double>* vector);
98 const G4String& name, std::vector<std::string>* vector);
134 G4bool warn =
true)
const;
137 template <
typename T>
139 const G4String& name, std::vector<T>* vector);
140 G4int GetCurrentNtupleId()
const;
143 static constexpr std::string_view fkClass {
"G4NtupleBookingManager" };
147 G4int fFirstNtupleColumnId { 0 };
148 G4bool fLockFirstNtupleColumnId {
false };
151#include "G4NtupleBookingManager.icc"
G4double(*)(G4double) function
G4int GetFirstNtupleColumnId() const
G4bool GetActivation(G4int ntupleId) const
G4bool SetFirstNtupleColumnId(G4int firstId)
std::vector< G4NtupleBooking * > fNtupleBookingVector
G4String GetFileName(G4int id) const
G4int CreateNtupleSColumn(const G4String &name, std::vector< std::string > *vector)
G4NtupleBooking * FinishNtuple()
G4int CreateNtupleDColumn(const G4String &name, std::vector< double > *vector)
G4int CreateNtuple(const G4String &name, const G4String &title)
G4int CreateNtupleFColumn(const G4String &name, std::vector< float > *vector)
~G4NtupleBookingManager() override
G4String GetFileType() const
const std::vector< G4NtupleBooking * > & GetNtupleBookingVector() const
G4NtupleBookingManager()=delete
G4int GetNofNtupleBookings() const
void SetFileName(const G4String &fileName)
G4int CreateNtupleIColumn(const G4String &name, std::vector< int > *vector)
void SetFileType(const G4String &fileType)
void SetActivation(G4bool activation)
constexpr G4int kInvalidId
~G4NtupleBooking()=default
tools::ntuple_booking fNtupleBooking
G4NtupleBooking()=default