Ignore:
Timestamp:
Nov 27, 2008, 4:56:05 PM (15 years ago)
Author:
garnier
Message:

make 3.80 added because 3.81 is bad

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/extended/analysis/A01/src/A01AnalysisManager.cc

    r807 r893  
    6060#include "A01AnalysisManager.hh"
    6161
     62//OSC:begin
     63AIDA::IAnalysisFactory* A01AnalysisManager::m_AIDA = 0;
     64void A01AnalysisManager::setAIDA(AIDA::IAnalysisFactory* a_AIDA) {m_AIDA = a_AIDA;}
     65AIDA::IAnalysisFactory* A01AnalysisManager::getAIDA(){return m_AIDA;}
     66//OSC:end
     67
     68
    6269A01AnalysisManager* A01AnalysisManager::instance = 0;
    6370
     
    6673{
    6774  // Hooking an AIDA compliant analysis system.
    68   analysisFactory = AIDA_createAnalysisFactory();
     75//OSC:begin
     76  analysisFactory = getAIDA();
     77//OSC:end
    6978  if(analysisFactory)
    7079  {
     
    92101    delete plotter;
    93102    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
    95108  }
    96109}
Note: See TracChangeset for help on using the changeset viewer.