5#ifndef TRIGONLINEMONITOR_TRIGOPMONITOR_H
6#define TRIGONLINEMONITOR_TRIGOPMONITOR_H
18#include "GaudiKernel/EventIDBase.h"
19#include "GaudiKernel/ITHistSvc.h"
20#include "GaudiKernel/ServiceHandle.h"
21#include "GaudiKernel/ToolHandle.h"
30#include <unordered_map>
39 TrigOpMonitor(
const std::string& name, ISvcLocator* pSvcLocator);
42 virtual StatusCode
start()
override;
43 virtual StatusCode
execute()
override;
44 virtual void handle(
const Incident& incident )
override;
49 virtual unsigned int cardinality()
const override {
return 1; }
94 this,
"ReleaseDataFile",
"../ReleaseData",
95 "Path to ReleaseData file (relative to LD_LIBRARY_PATH entries"};
98 "Detailed histograms for COOL folder updates during run"};
100 Gaudi::Property<unsigned short int>
m_maxLB{
this,
"MaxLumiblocks", 3000,
101 "Number of lumiblocks for histograms"};
Abstract interface to IOVDbSvc to access IOVRange and tag information.
Hold luminosity data produced by LuminosityCondAlg.
void fillProcThreadHist(int workerID)
virtual unsigned int cardinality() const override
std::string m_histPath
histogram booking path
std::unordered_map< std::string, IOVRange > m_currentIOVs
current IOVs managed by IOVDbSvc
ServiceHandle< ITHistSvc > m_histSvc
ServiceHandle< IIncidentSvc > m_incidentSvc
virtual StatusCode initialize() override
void fillReleaseDataHist()
virtual StatusCode execute() override
TrigOpMonitor(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< bool > m_detailedHists
virtual StatusCode start() override
void fillIOVDbChangeHist(const EventContext &ctx)
Gaudi::Property< unsigned short int > m_maxLB
Gaudi::Property< std::string > m_releaseData
SG::ReadCondHandleKey< AtlasFieldMapCondObj > m_fieldMapKey
virtual void handle(const Incident &incident) override
std::unordered_map< std::string, FolderHist > m_folderHist
histograms for COOL folders
SG::ReadCondHandleKey< LuminosityCondData > m_lumiDataKey
void fillLumiHist(const EventContext &ctx)
EventIDBase::number_type m_previousLB
LB of previous event.
SmartIF< IIOVDbSvc > m_IOVDbSvc
Histograms for COOL folders.