ATLAS Offline Software
Loading...
Searching...
No Matches
HLTConfigSvc.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TrigConfigSvc_HLTConfigSvc
6#define TrigConfigSvc_HLTConfigSvc
7
8#include <string>
9
11
12namespace TrigConf {
13
17 class HLTConfigSvc : public AthService {
18 public:
19 HLTConfigSvc(const std::string& name, ISvcLocator* pSvcLocator);
20
21 virtual StatusCode initialize() override;
22
23 private:
24 StatusCode writeConfigToDetectorStore();
25
26 Gaudi::Property<std::string> m_inputType{this, "InputType", "FILE",
27 "FILE (json file), DB (Trigger DB)"};
28
29 Gaudi::Property<std::string> m_hltFileName{this, "HLTJsonFileName", "HLTMenu.json",
30 "file name of HLT json file, needed if InputType is FILE"};
31
32 Gaudi::Property<std::string> m_l1FileName{this, "L1JsonFileName", "",
33 "file name of L1 json file, needed if InputType is FILE, and a hashed SMK needs to be computed"};
34
35 Gaudi::Property<std::string> m_monitoringFileName{this, "MonitoringJsonFileName", "",
36 "file name of HLT monitoring json file, optional if InputType is FILE"};
37
38 Gaudi::Property<std::string> m_dbConnection{this, "TriggerDB", "TRIGGERDB",
39 "DB connection alias, needed if InputType is DB"};
40
41 Gaudi::Property<bool> m_monitoringOptional{this, "MonitoringJSONOptional", true,
42 "Flag to control if a JSON is required when MonitoringJsonFileName is supplied and InputType is FILE"};
43
44 Gaudi::Property<unsigned int> m_smk{this, "SMK", 0,
45 "DB smk, needed if InputType is DB (optional for file InputType)"};
46 };
47
48} // namespace TrigConf
49
50#endif
HLTConfigSvc(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< std::string > m_dbConnection
Gaudi::Property< std::string > m_l1FileName
Gaudi::Property< unsigned int > m_smk
Gaudi::Property< std::string > m_inputType
Gaudi::Property< bool > m_monitoringOptional
Gaudi::Property< std::string > m_hltFileName
Gaudi::Property< std::string > m_monitoringFileName
virtual StatusCode initialize() override
StatusCode writeConfigToDetectorStore()
Forward iterator to traverse the main components of the trigger configuration.
Definition Config.h:22