Changeset 893 for trunk/examples/extended/analysis/A01/src
- Timestamp:
- Nov 27, 2008, 4:56:05 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/analysis/A01/src/A01AnalysisManager.cc
r807 r893 60 60 #include "A01AnalysisManager.hh" 61 61 62 //OSC:begin 63 AIDA::IAnalysisFactory* A01AnalysisManager::m_AIDA = 0; 64 void A01AnalysisManager::setAIDA(AIDA::IAnalysisFactory* a_AIDA) {m_AIDA = a_AIDA;} 65 AIDA::IAnalysisFactory* A01AnalysisManager::getAIDA(){return m_AIDA;} 66 //OSC:end 67 68 62 69 A01AnalysisManager* A01AnalysisManager::instance = 0; 63 70 … … 66 73 { 67 74 // Hooking an AIDA compliant analysis system. 68 analysisFactory = AIDA_createAnalysisFactory(); 75 //OSC:begin 76 analysisFactory = getAIDA(); 77 //OSC:end 69 78 if(analysisFactory) 70 79 { … … 92 101 delete plotter; 93 102 G4cout << "Warning: In case of working with JAS-AIDA, Geant4 will NOT exit unless you close the JAS-AIDA window." << G4endl; 94 delete analysisFactory; 103 //OSC:begin 104 // AIDA analysis factory is managed by 105 // G4Lab::UIOnX, it can't be delete here. 106 // delete analysisFactory; 107 //OSC:end 95 108 } 96 109 }
Note: See TracChangeset
for help on using the changeset viewer.