1#include "TruthExamples/DumpMC.h"
2#include "GeneratorModule/GeneratorName.h"
4#include "GaudiKernel/MsgStream.h"
5#include "GaudiKernel/DataSvc.h"
10 Algorithm(name, pSvcLocator)
15 MsgStream log(messageService(), name());
16 log << MSG::INFO <<
">>> DumpMC from Initialize" << endreq;
17 std::cout <<
"----- DumpMC World From initialize" << std::endl;
28 return StatusCode::SUCCESS;
32 MsgStream log(messageService(), name());
33 log << MSG::INFO <<
">>> DumpMC from execute" << endreq;
34 std::cout <<
"----- DumpMC World From execute" << std::endl;
72 return StatusCode::SUCCESS;
76 MsgStream log(messageService(), name());
77 log << MSG::INFO <<
">>> DumpMC from finalize" << endreq;
78 std::cout <<
"----- DumpMC World From finalize" << std::endl;
81 return StatusCode::SUCCESS;
DumpMC(const std::string &name, ISvcLocator *pSvcLocator)