1#include "GaudiKernel/MsgStream.h"
2#include "GaudiKernel/AlgFactory.h"
3#include "GaudiKernel/ISvcLocator.h"
4#include "GaudiKernel/SmartDataPtr.h"
5#include "GaudiKernel/IDataProviderSvc.h"
6#include "GaudiKernel/PropertyMgr.h"
12 Algorithm(name, pSvcLocator) {
15 declareProperty(
"signal", m_signal =
false);
23 MsgStream log(
msgSvc(), name());
25 log << MSG::INFO <<
"in initialize()" << endmsg;
30 sc = createSubAlgorithm(
"Signal",
"Signal", m_Signal);
32 log << MSG::ERROR <<
"Error create 'Signal' algorithm" << endreq;
33 return StatusCode::FAILURE;
53 log << MSG::INFO <<
"successfully return from initialize()" <<endmsg;
54 return StatusCode::SUCCESS;
62 MsgStream log(
msgSvc(), name());
63 log << MSG::INFO <<
"in execute()" << endreq;
66 std::vector<Algorithm*>::const_iterator it = subAlgorithms()->begin();
67 std::vector<Algorithm*>::const_iterator end = subAlgorithms()->end();
68 for(; it != end; it++) {
69 sc = (*it)->execute();
71 log <<
"Error while executing " << (*it)->name() << endreq;
74 return StatusCode::SUCCESS;
82 MsgStream log(
msgSvc(), name());
83 log << MSG::INFO <<
"in finalize()" << endmsg;
86 return StatusCode::SUCCESS;
ValidPhyJPsill(const std::string &name, ISvcLocator *pSvcLocator)