35 #ifndef ExG4HbookAnalysisManager_h
36 #define ExG4HbookAnalysisManager_h 1
41 #include <tools/hbook/wfile>
42 #include <tools/hbook/h1>
43 #include <tools/hbook/h2>
44 #include <tools/hbook/wntuple>
49 #define setpawc setpawc_
50 #define setntuc setntuc_
53 class ExG4HbookAnalysisManager;
61 class ExG4HbookFileManager;
62 class ExG4HbookH1Manager;
63 class ExG4HbookH2Manager;
64 class ExG4HbookNtupleManager;
75 ExG4HbookAnalysisManager();
76 virtual ~ExG4HbookAnalysisManager();
79 static ExG4HbookAnalysisManager* Create(
G4bool isMaster =
true);
80 static ExG4HbookAnalysisManager* Instance();
90 G4int GetH1HbookIdOffset()
const;
96 G4int GetH2HbookIdOffset()
const;
101 G4int GetNtupleHbookIdOffset()
const;
106 G4bool onlyIfActive =
true)
const;
108 G4bool onlyIfActive =
true)
const;
109 tools::hbook::wntuple* GetNtuple()
const;
110 tools::hbook::wntuple* GetNtuple(
G4int ntupleId)
const;
122 static ExG4HbookAnalysisManager* fgInstance;
128 ExG4HbookH1Manager* fH1Manager;
129 ExG4HbookH2Manager* fH2Manager;
130 ExG4HbookNtupleManager* fNtupleManager;
131 ExG4HbookFileManager* fFileManager;
134 #include "ExG4HbookAnalysisManager.icc"
virtual G4bool WriteImpl()=0
virtual G4bool OpenFileImpl(const G4String &fileName)=0
ExG4HbookAnalysisManager G4AnalysisManager
ntupleExperimental Reset()
virtual G4bool CloseFileImpl()=0