#include <RooGKCounter.h>
Public Member Functions | |
void | count (void) |
unsigned long int | getCount (void) |
void | increment (long int _incr) |
RooGKCounter () | |
RooGKCounter (const char *message) | |
RooGKCounter (unsigned long int theFirst, unsigned long int theDivider) | |
void | setCounter (unsigned long int) |
void | setDivider (unsigned int) |
void | setMessage (const char *) |
void | setNewLine (bool newLine) |
void | setPrintCount (bool _printCount) |
~RooGKCounter () | |
Private Member Functions | |
void | init (void) |
Private Attributes | |
unsigned long int | _count |
unsigned int | _divider |
unsigned long int | _firstCount |
std::string | _message |
bool | _newLine |
bool | firstCountEntry |
time_t | firstTickTime |
time_t | initTime |
time_t | lastPrintTime |
time_t | lastTickTime |
bool | printCount |
Definition at line 10 of file RooGKCounter.h.
RooGKCounter::RooGKCounter | ( | ) |
Definition at line 12 of file RooGKCounter.cc.
References init().
RooGKCounter::RooGKCounter | ( | const char * | message | ) |
Definition at line 16 of file RooGKCounter.cc.
References _message, init(), python.rootplot.argparse::message, and printCount.
RooGKCounter::RooGKCounter | ( | unsigned long int | theFirst, |
unsigned long int | theDivider | ||
) |
Definition at line 22 of file RooGKCounter.cc.
References _count, _divider, _firstCount, init(), and printCount.
RooGKCounter::~RooGKCounter | ( | ) |
Definition at line 117 of file RooGKCounter.cc.
void RooGKCounter::count | ( | void | ) |
Definition at line 66 of file RooGKCounter.cc.
References _count, _divider, _firstCount, _message, _newLine, hitfit::char, gather_cfg::cout, firstCountEntry, firstTickTime, lastPrintTime, lastTickTime, NULL, printCount, and cond::rpcobgas::time.
Referenced by HcalLutManager::getCompressionLutXmlFromAsciiMaster(), HcalLutManager::getCompressionLutXmlFromCoder(), HcalLutManager::getLinearizationLutXmlFromAsciiMasterEmap(), HcalLutManager::getLinearizationLutXmlFromAsciiMasterEmap_new(), HcalLutManager::getLinearizationLutXmlFromCoder(), HcalLutManager::getLinearizationLutXmlFromCoderEmap(), HcalLutManager::getLutXmlFromAsciiMaster(), and HcalLutManager::getZdcLutXml().
unsigned long int RooGKCounter::getCount | ( | void | ) |
Definition at line 109 of file RooGKCounter.cc.
References _count.
Referenced by HcalLutManager::getCompressionLutXmlFromAsciiMaster(), HcalLutManager::getCompressionLutXmlFromCoder(), HcalQIEManager::getHfQieTable(), HcalLutManager::getLinearizationLutXmlFromAsciiMasterEmap(), HcalLutManager::getLinearizationLutXmlFromAsciiMasterEmap_new(), HcalLutManager::getLinearizationLutXmlFromCoder(), HcalLutManager::getLinearizationLutXmlFromCoderEmap(), HcalLutManager::getLutXmlFromAsciiMaster(), HcalQIEManager::getTableFromDb(), and HcalLutManager::getZdcLutXml().
void RooGKCounter::increment | ( | long int | _incr | ) |
|
private |
Definition at line 50 of file RooGKCounter.cc.
References _count, _divider, _firstCount, _message, _newLine, firstCountEntry, firstTickTime, initTime, lastPrintTime, lastTickTime, NULL, printCount, and cond::rpcobgas::time.
Referenced by RooGKCounter().
void RooGKCounter::setCounter | ( | unsigned long int | theCount | ) |
void RooGKCounter::setDivider | ( | unsigned int | theDivider | ) |
void RooGKCounter::setMessage | ( | const char * | message | ) |
Definition at line 46 of file RooGKCounter.cc.
References _message, and python.rootplot.argparse::message.
void RooGKCounter::setNewLine | ( | bool | newLine | ) |
Definition at line 42 of file RooGKCounter.cc.
References _newLine.
void RooGKCounter::setPrintCount | ( | bool | _printCount | ) |
|
private |
Definition at line 28 of file RooGKCounter.h.
Referenced by count(), getCount(), increment(), init(), RooGKCounter(), and setCounter().
|
private |
Definition at line 30 of file RooGKCounter.h.
Referenced by count(), init(), RooGKCounter(), and setDivider().
|
private |
Definition at line 29 of file RooGKCounter.h.
Referenced by count(), init(), and RooGKCounter().
|
private |
Definition at line 33 of file RooGKCounter.h.
Referenced by Vispa.Share.FindAlgorithm.FindAlgorithm::_findIn(), Vispa.Share.FindAlgorithm.FindAlgorithm::clear(), count(), init(), Vispa.Share.FindAlgorithm.FindAlgorithm::message(), RooGKCounter(), and setMessage().
|
private |
Definition at line 34 of file RooGKCounter.h.
Referenced by count(), init(), and setNewLine().
|
private |
Definition at line 32 of file RooGKCounter.h.
|
private |
Definition at line 36 of file RooGKCounter.h.
|
private |
Definition at line 36 of file RooGKCounter.h.
Referenced by init().
|
private |
Definition at line 36 of file RooGKCounter.h.
|
private |
Definition at line 36 of file RooGKCounter.h.
|
private |
Definition at line 31 of file RooGKCounter.h.
Referenced by count(), init(), RooGKCounter(), and setPrintCount().