![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "GaudiKernel/MsgStream.h"
16 #include "GaudiKernel/IToolSvc.h"
17 #include "GaudiKernel/StatusCode.h"
18 #include "GaudiKernel/ListItem.h"
48 log << MSG::INFO <<
"initialize AthenaMon algorithm" <<
endmsg;
56 return StatusCode::FAILURE;
66 sc = p_toolSvc->retrieveTool(
mytool.type(),
mytool.name(), p_tool);
70 return StatusCode::FAILURE;
79 log << MSG::WARNING <<
"Unable to setup the OutPutStreams in "
97 return StatusCode::SUCCESS;
111 if((*it)->preSelector())
112 if((*it)->fillHists().isFailure()) {
113 log << MSG::WARNING <<
"Error Filling Histograms" <<
endmsg;
122 log << MSG::INFO <<
"calling checkHists of tool " <<
endmsg;
125 log << MSG::WARNING <<
"Can\'t call checkHists of tool." <<
endmsg;
132 return StatusCode::SUCCESS;
140 log << MSG::INFO <<
"finalizing AthenaMon algorithm" <<
endmsg;
146 log << MSG::INFO <<
"finalizing tool " <<
endmsg;
149 log << MSG::WARNING <<
"Can\'t finalize a tool." <<
endmsg;
157 log << MSG::INFO <<
"calling checkHists of tool " <<
endmsg;
160 log << MSG::WARNING <<
"Can\'t call checkHists of tool." <<
endmsg;
165 return StatusCode::SUCCESS;
176 return StatusCode::SUCCESS;
180 if((*it)->bookHists().isFailure())
181 log << MSG::WARNING <<
"Error Filling Histograms" <<
endmsg;
183 return StatusCode::SUCCESS;
194 if((*it)->runStat().isFailure())
195 log << MSG::WARNING <<
"Error calling runStat" <<
endmsg;
197 return StatusCode::SUCCESS;
JetConstituentVector::iterator iterator
bool m_bookHistsinInitialize
std::vector< std::string > m_THistSvc_streamnameMapping
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
AthenaMon(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< std::string > m_monToolNames
msgSvc
Provide convenience handles for various services.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode finalize()
virtual StatusCode initialize()
virtual StatusCode stop()
std::vector< IMonitorToolBase * > m_monTools
virtual StatusCode start()
virtual StatusCode execute()