41 #include <AIDA/AIDA.h>
47 A01AnalysisManager::A01AnalysisManager()
48 :fAnalysisFactory(0), fFactory(0), tFactory(0), fPlotter(0)
51 fAnalysisFactory = AIDA_createAnalysisFactory();
54 ITreeFactory* treeFactory = fAnalysisFactory->createTreeFactory();
55 fTree = treeFactory->create(
"A01.aida",
"xml",
false,
true,
"compress=yes");
56 fFactory = fAnalysisFactory->createHistogramFactory(*fTree);
57 tFactory = fAnalysisFactory->createTupleFactory(*fTree);
58 IPlotterFactory* pf = fAnalysisFactory->createPlotterFactory(0,0);
60 fPlotter = pf->create(
"Plotter");
71 if (!fTree->commit()) G4cout <<
"Commit failed: no AIDA file produced!" <<
G4endl;
76 G4cout <<
"Warning: In case of working with JAS-AIDA, Geant4 will NOT exit unless you close the JAS-AIDA window." <<
G4endl;
77 delete fAnalysisFactory;
108 #endif // G4ANALYSIS_USE