#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 | ( | ) |
RooGKCounter::RooGKCounter | ( | const char * | message | ) |
RooGKCounter::RooGKCounter | ( | unsigned long int | theFirst, |
unsigned long int | theDivider | ||
) |
Definition at line 21 of file RooGKCounter.cc.
References _count, _divider, _firstCount, init(), and printCount.
RooGKCounter::~RooGKCounter | ( | ) |
Definition at line 99 of file RooGKCounter.cc.
void RooGKCounter::count | ( | void | ) |
Definition at line 54 of file RooGKCounter.cc.
References _count, _divider, _firstCount, _message, _newLine, gather_cfg::cout, firstCountEntry, firstTickTime, lastPrintTime, lastTickTime, printCount, and submitPVResolutionJobs::stdout.
Referenced by HcalChannelIterator::addListFromLmapAscii(), HcalLutManager::getCompressionLutXmlFromAsciiMaster(), HcalLutManager::getCompressionLutXmlFromCoder(), HcalLutManager::getHEFineGrainLUTs(), HcalQIEManager::getHfQieTable(), HcalLutManager::getLinearizationLutXmlFromAsciiMasterEmap(), HcalLutManager::getLinearizationLutXmlFromAsciiMasterEmap_new(), HcalLutManager::getLinearizationLutXmlFromCoder(), HcalLutManager::getLinearizationLutXmlFromCoderEmap(), HcalLutManager::getLutXmlFromAsciiMaster(), HcalLutManager::getMasks(), HcalQIEManager::getTableFromDb(), HcalLutManager::getZdcLutXml(), LMap::impl::read(), and EMap::read_map().
unsigned long int RooGKCounter::getCount | ( | void | ) |
Definition at line 95 of file RooGKCounter.cc.
References _count.
Referenced by HcalChannelIterator::addListFromLmapAscii(), HcalLutManager::getCompressionLutXmlFromAsciiMaster(), HcalLutManager::getCompressionLutXmlFromCoder(), HcalLutManager::getHEFineGrainLUTs(), HcalQIEManager::getHfQieTable(), HcalLutManager::getLinearizationLutXmlFromAsciiMasterEmap(), HcalLutManager::getLinearizationLutXmlFromAsciiMasterEmap_new(), HcalLutManager::getLinearizationLutXmlFromCoder(), HcalLutManager::getLinearizationLutXmlFromCoderEmap(), HcalLutManager::getLutXmlFromAsciiMaster(), HcalLutManager::getMasks(), HcalQIEManager::getTableFromDb(), HcalLutManager::getZdcLutXml(), LMap::impl::read(), and EMap::read_map().
void RooGKCounter::increment | ( | long int | _incr | ) |
|
private |
Definition at line 39 of file RooGKCounter.cc.
References _count, _divider, _firstCount, _message, _newLine, firstCountEntry, firstTickTime, initTime, lastPrintTime, lastTickTime, and printCount.
Referenced by RooGKCounter().
void RooGKCounter::setCounter | ( | unsigned long int | theCount | ) |
void RooGKCounter::setDivider | ( | unsigned int | theDivider | ) |
void RooGKCounter::setMessage | ( | const char * | message | ) |
void RooGKCounter::setNewLine | ( | bool | newLine | ) |
void RooGKCounter::setPrintCount | ( | bool | _printCount | ) |
|
private |
Definition at line 27 of file RooGKCounter.h.
Referenced by count(), getCount(), increment(), init(), RooGKCounter(), and setCounter().
|
private |
Definition at line 29 of file RooGKCounter.h.
Referenced by count(), init(), RooGKCounter(), and setDivider().
|
private |
Definition at line 28 of file RooGKCounter.h.
Referenced by count(), init(), and RooGKCounter().
|
private |
Definition at line 32 of file RooGKCounter.h.
Referenced by count(), init(), RooGKCounter(), and setMessage().
|
private |
Definition at line 33 of file RooGKCounter.h.
Referenced by count(), init(), and setNewLine().
|
private |
Definition at line 31 of file RooGKCounter.h.
|
private |
Definition at line 35 of file RooGKCounter.h.
|
private |
Definition at line 35 of file RooGKCounter.h.
Referenced by init().
|
private |
Definition at line 35 of file RooGKCounter.h.
|
private |
Definition at line 35 of file RooGKCounter.h.
|
private |
Definition at line 30 of file RooGKCounter.h.
Referenced by count(), init(), RooGKCounter(), and setPrintCount().