79 for (
const auto& entry : m_map ) {
81 std::cout <<
"GaudiTool WARNING " << m_message <<
"'" << entry.first <<
"' Counts = " << entry.second
100 static Counter s_InstanceCounter(
" Create/Destroy (mis)balance " );
107 static Counter s_FinalizeCounter(
" Initialize/Finalize (mis)balance " );
119 s_enableSummary = value;
120 return summaryEnabled();
127 return s_enableSummary;
135 GaudiToolLocal::s_InstanceCounter.increment(
m_local );
150 GaudiToolLocal::s_FinalizeCounter.increment(
m_local );
162 if ( msgLevel(
MSG::DEBUG ) ) debug() <<
" ==> Finalize the base class GaudiTool " <<
endmsg;
175 GaudiToolLocal::s_FinalizeCounter.decrement(
m_local );
186 bool ownedByToolSvc =
false;
187 unsigned int sanityCheck( 0 );
188 while ( tool && ++sanityCheck < 99999 ) {
189 ownedByToolSvc = (
nullptr !=
dynamic_cast<const IToolSvc*
>( tool->
parent() ) );
190 if ( ownedByToolSvc ) {
break; }
194 return ownedByToolSvc;
Header file for class GaudiAlgorithm.
Data provider interface definition.
The IChronoStatSvc is the interface implemented by the ChronoStatService.
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.
Definition of the IHistogramSvc interface class.
Implements the common functionality between GaudiTools and GaudiAlgorithms.
An abstract interface for Algorithm Context Service.
void reset(TYPE *ptr=nullptr)
Set the internal pointer to the passed one disposing of the old one.
TOOL * tool(const std::string &type, const std::string &name, const IInterface *parent=0, bool create=true) const
Useful method for the easy location of tools.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
The interface implemented by the IncidentSvc service.