11 #include "GaudiKernel/TypeNameString.h" 
   23              ISvcLocator* pSvcLocator)
 
   25     , m_outputFrequency(1)
 
   46       Gaudi::Utils::TypeNameString writerAlgoTool(toolName);
 
   49       StatusCode checkOut = toolSvc()->retrieveTool(writerAlgoTool.type(),
 
   50                                                     writerAlgoTool.name(),
 
   54       if ( checkOut.isFailure() )
 
   57             ( 
"failed to pick up tool of type \042" 
   58           << writerAlgoTool.type()
 
   60           << writerAlgoTool.name()
 
   63       return StatusCode::FAILURE;
 
   80       return StatusCode::FAILURE;
 
   91   return StatusCode::SUCCESS;
 
  100   const EventContext& ctx = Gaudi::Hive::currentContext();
 
  113       return StatusCode::SUCCESS;
 
  128   std::ostringstream thisFileName;
 
  130            << std::setw(6)   << std::setfill(
'0')
 
  131            << ctx.eventID().run_number()    << 
"." << std::setfill(
'0')
 
  133            << ctx.eventID().event_number()  << 
".xml" << std::ends;
 
  135   std::ofstream thisFileStream((thisFileName.str()).c_str());
 
  145       if ( checkOut.isFailure() )
 
  157   thisFileStream.close();
 
  159   return StatusCode::SUCCESS;
 
  165   return StatusCode::SUCCESS;