Service storing the HLT menu in the DetectorStore.
More...
#include <HLTConfigSvc.h>
Service storing the HLT menu in the DetectorStore.
Definition at line 17 of file HLTConfigSvc.h.
◆ HLTConfigSvc()
TrigConf::HLTConfigSvc::HLTConfigSvc |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ initialize()
StatusCode TrigConf::HLTConfigSvc::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 91 of file HLTConfigSvc.cxx.
94 if (
auto joSvc = serviceLocator()->service<TrigConf::IJobOptionsSvc>(
"JobOptionsSvc")) {
95 if (joSvc->superMasterKey() > 0) {
97 m_smk = joSvc->superMasterKey();
102 ATH_MSG_DEBUG(
"Did not locate TrigConf::JobOptionsSvc, not running athenaHLT");
117 return StatusCode::SUCCESS;
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ writeConfigToDetectorStore()
StatusCode TrigConf::HLTConfigSvc::writeConfigToDetectorStore |
( |
| ) |
|
|
private |
Definition at line 23 of file HLTConfigSvc.cxx.
25 std::unique_ptr<TrigConf::HLTMenu> hltmenu = std::make_unique<TrigConf::HLTMenu>();
26 std::unique_ptr<TrigConf::HLTMonitoring> monitoring;
44 auto l1menu = std::make_unique<TrigConf::L1Menu>();
49 ATH_MSG_DEBUG(
"No L1 menu created, cannot compute a MC-SMK in this job");
61 <<
", but the monitoring collection is flagged as optional. Continuing.");
65 <<
", the monitoring collection flagged as non-optional in this job.");
66 return StatusCode::FAILURE;
75 <<
"'. Allowed values: " <<
m_inputType.documentation());
76 return StatusCode::FAILURE;
81 if (
detStore->record(std::move(hltmenu),
"HLTTriggerMenu").isSuccess()) {
82 ATH_MSG_INFO(
"Recorded HLT menu as 'HLTTriggerMenu' in detector store");
84 if (monitoring and
detStore->record(std::move(monitoring),
"HLTMonitoringMenu").isSuccess()) {
85 ATH_MSG_INFO(
"Recorded HLT monitoring menu as 'HLTMonitoringMenu' in detector store");
88 return StatusCode::SUCCESS;
◆ m_dbConnection
Gaudi::Property<std::string> TrigConf::HLTConfigSvc::m_dbConnection |
|
private |
Initial value:{this, "TriggerDB", "TRIGGERDB",
"DB connection alias, needed if InputType is DB"}
Definition at line 38 of file HLTConfigSvc.h.
◆ m_hltFileName
Gaudi::Property<std::string> TrigConf::HLTConfigSvc::m_hltFileName |
|
private |
Initial value:{this, "HLTJsonFileName", "HLTMenu.json",
"file name of HLT json file, needed if InputType is FILE"}
Definition at line 29 of file HLTConfigSvc.h.
◆ m_inputType
Gaudi::Property<std::string> TrigConf::HLTConfigSvc::m_inputType |
|
private |
Initial value:{this, "InputType", "FILE",
"FILE (json file), DB (Trigger DB)"}
Definition at line 26 of file HLTConfigSvc.h.
◆ m_l1FileName
Gaudi::Property<std::string> TrigConf::HLTConfigSvc::m_l1FileName |
|
private |
Initial value:{this, "L1JsonFileName", "",
"file name of L1 json file, needed if InputType is FILE, and a hashed SMK needs to be computed"}
Definition at line 32 of file HLTConfigSvc.h.
◆ m_monitoringFileName
Gaudi::Property<std::string> TrigConf::HLTConfigSvc::m_monitoringFileName |
|
private |
Initial value:{this, "MonitoringJsonFileName", "",
"file name of HLT monitoring json file, optional if InputType is FILE"}
Definition at line 35 of file HLTConfigSvc.h.
◆ m_monitoringOptional
Gaudi::Property<bool> TrigConf::HLTConfigSvc::m_monitoringOptional |
|
private |
Initial value:{this, "MonitoringJSONOptional", true,
"Flag to control if a JSON is required when MonitoringJsonFileName is supplied and InputType is FILE"}
Definition at line 41 of file HLTConfigSvc.h.
◆ m_smk
Gaudi::Property<unsigned int> TrigConf::HLTConfigSvc::m_smk |
|
private |
Initial value:{this, "SMK", 0,
"DB smk, needed if InputType is DB (optional for file InputType)"}
Definition at line 44 of file HLTConfigSvc.h.
The documentation for this class was generated from the following files: