|
Gaudi Framework, version v21r4 |
| Home | Generated: 7 Sep 2009 |

Definition at line 61 of file GaudiTool.cpp.
Public Member Functions | |
| Counter (const std::string &msg=" Misbalance ") | |
| ~Counter () | |
| long | increment (const std::string &object) |
| long | decrement (const std::string &object) |
| long | counts (const std::string &object) |
| void | report () const |
Private Types | |
| typedef std::map< std::string, long > | Map |
Private Attributes | |
| Map | m_map |
| std::string | m_message |
typedef std::map<std::string,long> GaudiToolLocal::Counter::Map [private] |
Definition at line 88 of file GaudiTool.cpp.
| GaudiToolLocal::Counter::Counter | ( | const std::string & | msg = " Misbalance " |
) | [inline] |
| GaudiToolLocal::Counter::~Counter | ( | ) | [inline] |
| long GaudiToolLocal::Counter::increment | ( | const std::string & | object | ) | [inline] |
| long GaudiToolLocal::Counter::decrement | ( | const std::string & | object | ) | [inline] |
| long GaudiToolLocal::Counter::counts | ( | const std::string & | object | ) | [inline] |
| void GaudiToolLocal::Counter::report | ( | ) | const [inline] |
Definition at line 78 of file GaudiTool.cpp.
00079 { 00080 for ( Map::const_iterator entry = m_map.begin() ; 00081 m_map.end() != entry ; ++entry ) 00082 { 00083 if( 0 == entry->second ) { continue ; } 00084 std::cout << "GaudiTool WARNING " << m_message 00085 << "'" << entry->first << "' Counts = " << entry->second 00086 << std::endl ; 00087 } 00088 };
Map GaudiToolLocal::Counter::m_map [private] |
Definition at line 92 of file GaudiTool.cpp.
Definition at line 93 of file GaudiTool.cpp.