diff --git a/DDG4/lcio/Geant4Output2LCIO.cpp b/DDG4/lcio/Geant4Output2LCIO.cpp index f5f6f9024a1ee2c089e4160e607ac5a17b305040..b2b58f81a86c50f0e5cc5e074f78fcaf965b40a9 100644 --- a/DDG4/lcio/Geant4Output2LCIO.cpp +++ b/DDG4/lcio/Geant4Output2LCIO.cpp @@ -152,8 +152,8 @@ void Geant4Output2LCIO::saveRun(const G4Run* run) { void Geant4Output2LCIO::begin(const G4Event* event){ lcio::LCEventImpl* e = new lcio::LCEventImpl; //fg: fixme: should be this call (deleting the pointer in the end) but that does not compile ... - // context()->event().addExtension<lcio::LCEventImpl>( e ); - context()->event().addExtension(e); + context()->event().addExtension<lcio::LCEventImpl>( e ); + //context()->event().addExtension(e); //context()->event().addExtension( e , typeid( lcio::LCEventImpl ), 0); // std::cout << " ########### Geant4Output2LCIO::begin add new LCIO event event context " << std::endl ; }