Service storing the LVL1 menu in the DetectorStore.
More...
#include <LVL1ConfigSvc.h>
Service storing the LVL1 menu in the DetectorStore.
Definition at line 17 of file LVL1ConfigSvc.h.
◆ LVL1ConfigSvc()
TrigConf::LVL1ConfigSvc::LVL1ConfigSvc |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ initialize()
StatusCode TrigConf::LVL1ConfigSvc::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 70 of file LVL1ConfigSvc.cxx.
73 if (
auto joSvc = serviceLocator()->service<TrigConf::IJobOptionsSvc>(
"JobOptionsSvc")) {
74 if (joSvc->superMasterKey() > 0) {
76 m_smk = joSvc->superMasterKey();
81 ATH_MSG_DEBUG(
"Did not locate TrigConf::JobOptionsSvc, not running athenaHLT");
96 return StatusCode::SUCCESS;
◆ loadRun3StyleMenu()
StatusCode TrigConf::LVL1ConfigSvc::loadRun3StyleMenu |
( |
| ) |
|
|
private |
Definition at line 22 of file LVL1ConfigSvc.cxx.
24 auto l1menu = std::make_unique<TrigConf::L1Menu>();
42 auto hltmenu = std::make_unique<TrigConf::HLTMenu>();
47 ATH_MSG_DEBUG(
"No HLT menu created, cannot compute a MC-SMK in this job");
57 <<
"'. Allowed values: " <<
m_inputType.documentation());
58 return StatusCode::FAILURE;
63 if (
detStore->record(std::move(
l1menu),
"L1TriggerMenu").isSuccess()) {
64 ATH_MSG_INFO(
"Recorded L1 menu as 'L1TriggerMenu' in detector store");
67 return StatusCode::SUCCESS;
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ m_dbConnection
Gaudi::Property<std::string> TrigConf::LVL1ConfigSvc::m_dbConnection |
|
private |
Initial value:{this, "TriggerDB", "TRIGGERDB",
"DB connection alias, needed if InputType is DB"}
Definition at line 37 of file LVL1ConfigSvc.h.
◆ m_hltFileName
Gaudi::Property<std::string> TrigConf::LVL1ConfigSvc::m_hltFileName |
|
private |
Initial value:{this, "HLTJsonFileName", "",
"file name of HLT json file, needed if InputType is FILE and a hashed SMK needs to be computed"}
Definition at line 34 of file LVL1ConfigSvc.h.
◆ m_inputType
Gaudi::Property<std::string> TrigConf::LVL1ConfigSvc::m_inputType |
|
private |
Initial value:{this, "InputType", "FILE",
"FILE (json file), DB (Trigger DB)"}
Definition at line 28 of file LVL1ConfigSvc.h.
◆ m_l1FileName
Gaudi::Property<std::string> TrigConf::LVL1ConfigSvc::m_l1FileName |
|
private |
Initial value:{this, "L1JsonFileName", "",
"file name of L1 json file, needed if InputType is FILE"}
Definition at line 31 of file LVL1ConfigSvc.h.
◆ m_smk
Gaudi::Property<unsigned int> TrigConf::LVL1ConfigSvc::m_smk |
|
private |
Initial value:{this, "SMK", 0,
"DB smk, needed if InputType is DB"}
Definition at line 40 of file LVL1ConfigSvc.h.
The documentation for this class was generated from the following files: