Definition at line 50 of file TrigSignatureMoni.h.
◆ RateHistogram()
| TrigSignatureMoni::RateHistogram::RateHistogram |
( |
| ) |
|
|
default |
◆ ~RateHistogram()
| TrigSignatureMoni::RateHistogram::~RateHistogram |
( |
| ) |
|
◆ ATLAS_NOT_CONST_THREAD_SAFE() [1/2]
| LockedHandle< TH2 > &getHistogram TrigSignatureMoni::RateHistogram::ATLAS_NOT_CONST_THREAD_SAFE |
( |
| ) |
const |
◆ ATLAS_NOT_CONST_THREAD_SAFE() [2/2]
| LockedHandle< TH2 > &getBuffer TrigSignatureMoni::RateHistogram::ATLAS_NOT_CONST_THREAD_SAFE |
( |
| ) |
const |
◆ callback()
| void TrigSignatureMoni::RateHistogram::callback |
( |
| ) |
|
|
private |
Definition at line 551 of file TrigSignatureMoni.cxx.
551 {
552
554 unsigned int newinterval;
555 unsigned int oldinterval;
558 }
559}
void updatePublished(unsigned int duration) const
std::unique_ptr< TimeDivider > m_timeDivider
time(flags, cells_name, *args, **kw)
◆ fill()
| void TrigSignatureMoni::RateHistogram::fill |
( |
const double | x, |
|
|
const double | y ) const |
◆ getTimer()
| std::unique_ptr< Gaudi::Utils::PeriodicAction > & TrigSignatureMoni::RateHistogram::getTimer |
( |
| ) |
|
Definition at line 517 of file TrigSignatureMoni.cxx.
517 {
519}
std::unique_ptr< Gaudi::Utils::PeriodicAction > m_timer
◆ init()
| StatusCode TrigSignatureMoni::RateHistogram::init |
( |
const std::string & | histoName, |
|
|
const std::string & | histoTitle, |
|
|
const int | x, |
|
|
const int | y, |
|
|
const std::string & | registerPath, |
|
|
const ServiceHandle< ITHistSvc > & | histSvc ) |
Definition at line 497 of file TrigSignatureMoni.cxx.
498 {
499 std::unique_ptr<TH2>
h = std::make_unique<TH2F>(histoName.c_str(), histoTitle.c_str(),
x, 1,
x + 1,
y, 1,
y + 1);
500 ATH_CHECK(
histSvc->regShared( registerPath.c_str(), std::move(h), m_histogram));
501
502 TH2I * hB =
new TH2I( (histoName +
"Buffer").c_str(), histoTitle.c_str(),
x, 1,
x + 1,
y, 1,
y + 1);
503 m_bufferHistogram.set(hB, &
m_mutex);
504 m_bufferHistogram->SetDirectory(0);
505
506 return StatusCode::SUCCESS;
507}
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ startTimer()
| void TrigSignatureMoni::RateHistogram::startTimer |
( |
unsigned int | duration, |
|
|
unsigned int | intervals ) |
◆ stopTimer()
| void TrigSignatureMoni::RateHistogram::stopTimer |
( |
| ) |
|
◆ updatePublished()
| void TrigSignatureMoni::RateHistogram::updatePublished |
( |
unsigned int | duration | ) |
const |
|
private |
Definition at line 544 of file TrigSignatureMoni.cxx.
544 {
545 m_histogram->Reset("ICES");
546 m_histogram->Add(m_bufferHistogram.get(), 1./duration);
547 m_bufferHistogram->Reset("ICES");
548}
◆ ATLAS_THREAD_SAFE [1/2]
| LockedHandle<TH2> m_bufferHistogram TrigSignatureMoni::RateHistogram::ATLAS_THREAD_SAFE |
|
mutableprivate |
◆ ATLAS_THREAD_SAFE [2/2]
| LockedHandle<TH2> m_histogram TrigSignatureMoni::RateHistogram::ATLAS_THREAD_SAFE |
|
mutableprivate |
◆ m_duration
| unsigned int TrigSignatureMoni::RateHistogram::m_duration {0} |
|
private |
◆ m_mutex
| std::mutex TrigSignatureMoni::RateHistogram::m_mutex |
|
private |
◆ m_timeDivider
| std::unique_ptr<TimeDivider> TrigSignatureMoni::RateHistogram::m_timeDivider |
|
private |
◆ m_timer
| std::unique_ptr<Gaudi::Utils::PeriodicAction> TrigSignatureMoni::RateHistogram::m_timer |
|
private |
The documentation for this class was generated from the following files: