30 #ifndef G4RootAnalysisManager_h
31 #define G4RootAnalysisManager_h 1
36 #include "tools/wroot/file"
37 #include "tools/wroot/to"
38 #include "tools/ntuple_booking"
39 #include "tools/wroot/ntuple"
40 #include "tools/histo/h1d"
41 #include "tools/histo/h2d"
106 G4bool onlyIfActive =
true)
const;
108 G4bool onlyIfActive =
true)
const;
160 G4bool CreateHistoDirectory();
161 G4bool CreateNtupleDirectory();
162 void CreateNtupleFromBooking();
163 tools::wroot::ntuple::column<int>* GetNtupleIColumn(
G4int id)
const;
164 tools::wroot::ntuple::column<float>* GetNtupleFColumn(
G4int id)
const;
165 tools::wroot::ntuple::column<double>* GetNtupleDColumn(
G4int id)
const;
169 G4bool onlyIfActive =
true)
const;
170 virtual tools::histo::h2d* GetH2InFunction(
G4int id,
G4String function,
172 G4bool onlyIfActive =
true)
const;
179 tools::wroot::directory* fHistoDirectory;
180 tools::wroot::directory* fNtupleDirectory;
182 std::vector<tools::histo::h1d*> fH1Vector;
183 std::vector<tools::histo::h2d*> fH2Vector;
184 std::map<G4String, G4int> fH1NameIdMap;
185 std::map<G4String, G4int> fH2NameIdMap;
188 tools::ntuple_booking* fNtupleBooking;
189 std::map<G4int, tools::wroot::ntuple::column<int>* > fNtupleIColumnMap;
190 std::map<G4int, tools::wroot::ntuple::column<float>* > fNtupleFColumnMap;
191 std::map<G4int, tools::wroot::ntuple::column<double>* > fNtupleDColumnMap;