Loading [MathJax]/extensions/tex2jax.js
 |
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/TypeNameString.h"
48 log << MSG::INFO <<
"initialize AthenaMon algorithm" <<
endmsg;
51 SmartIF<IToolSvc> p_toolSvc{service(
"ToolSvc")};
65 return StatusCode::FAILURE;
74 log << MSG::WARNING <<
"Unable to setup the OutPutStreams in "
92 return StatusCode::SUCCESS;
106 if((*it)->preSelector())
107 if((*it)->fillHists().isFailure()) {
108 log << MSG::WARNING <<
"Error Filling Histograms" <<
endmsg;
117 log << MSG::INFO <<
"calling checkHists of tool " <<
endmsg;
120 log << MSG::WARNING <<
"Can\'t call checkHists of tool." <<
endmsg;
127 return StatusCode::SUCCESS;
135 log << MSG::INFO <<
"finalizing AthenaMon algorithm" <<
endmsg;
141 log << MSG::INFO <<
"finalizing tool " <<
endmsg;
144 log << MSG::WARNING <<
"Can\'t finalize a tool." <<
endmsg;
152 log << MSG::INFO <<
"calling checkHists of tool " <<
endmsg;
155 log << MSG::WARNING <<
"Can\'t call checkHists of tool." <<
endmsg;
160 return StatusCode::SUCCESS;
171 return StatusCode::SUCCESS;
175 if((*it)->bookHists().isFailure())
176 log << MSG::WARNING <<
"Error Filling Histograms" <<
endmsg;
178 return StatusCode::SUCCESS;
189 if((*it)->runStat().isFailure())
190 log << MSG::WARNING <<
"Error calling runStat" <<
endmsg;
192 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()