33 #ifndef G4RootAnalysisManager_h
34 #define G4RootAnalysisManager_h 1
39 #include "tools/wroot/ntuple"
40 #include "tools/histo/hmpi"
68 std::vector<tools::wroot::ntuple*>::iterator
BeginNtuple();
69 std::vector<tools::wroot::ntuple*>::iterator
EndNtuple();
71 std::vector<tools::wroot::ntuple*>::const_iterator
EndConstNtuple()
const;
88 const std::vector<G4HnInformation*>& hnVector,
89 tools::wroot::directory* directory,
virtual G4bool OpenFileImpl(const G4String &fileName) final
static G4RootAnalysisManager * fgMasterInstance
G4bool WriteT(const std::vector< T * > &htVector, const std::vector< G4HnInformation * > &hnVector, tools::wroot::directory *directory, const G4String &hnType)
std::vector< tools::wroot::ntuple * >::const_iterator BeginConstNtuple() const
virtual G4bool IsOpenFileImpl() const final
static G4ThreadLocal G4RootAnalysisManager * fgInstance
virtual G4bool CloseFileImpl() final
static G4bool IsInstance()
G4RootNtupleManager * fNtupleManager
G4RootAnalysisManager(G4bool isMaster=true)
std::vector< tools::wroot::ntuple * >::const_iterator EndConstNtuple() const
virtual ~G4RootAnalysisManager()
virtual G4bool WriteImpl() final
static G4RootAnalysisManager * Instance()
std::vector< tools::wroot::ntuple * >::iterator EndNtuple()
std::vector< tools::wroot::ntuple * >::iterator BeginNtuple()
std::shared_ptr< G4RootFileManager > fFileManager
tools::wroot::ntuple * GetNtuple() const