ATLAS Offline Software
Loading...
Searching...
No Matches
LVL1ConfigSvc.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_LVL1ConfigSvc
6#define TrigConfigSvc_LVL1ConfigSvc
7
8#include <string>
9
11
12namespace TrigConf {
13
17 class LVL1ConfigSvc : public AthService {
18 public:
19 LVL1ConfigSvc(const std::string& name, ISvcLocator* pSvcLocator);
20
21 virtual StatusCode initialize() override;
22
23 private:
24 // loads Run-3-style menu (json) and writes it to the detector
25 // store to be read by clients of the L1 configuration from there
26 StatusCode loadRun3StyleMenu();
27
28 Gaudi::Property<std::string> m_inputType{this, "InputType", "FILE",
29 "FILE (json file), DB (Trigger DB)"};
30
31 Gaudi::Property<std::string> m_l1FileName{this, "L1JsonFileName", "",
32 "file name of L1 json file, needed if InputType is FILE"};
33
34 Gaudi::Property<std::string> m_hltFileName{this, "HLTJsonFileName", "",
35 "file name of HLT json file, needed if InputType is FILE and a hashed SMK needs to be computed"};
36
37 Gaudi::Property<std::string> m_dbConnection{this, "TriggerDB", "TRIGGERDB",
38 "DB connection alias, needed if InputType is DB"};
39
40 Gaudi::Property<unsigned int> m_smk{this, "SMK", 0,
41 "DB smk, needed if InputType is DB"};
42
43 };
44
45} // namespace TrigConf
46
47#endif
Gaudi::Property< std::string > m_inputType
Gaudi::Property< unsigned int > m_smk
Gaudi::Property< std::string > m_hltFileName
Gaudi::Property< std::string > m_dbConnection
virtual StatusCode initialize() override
Gaudi::Property< std::string > m_l1FileName
LVL1ConfigSvc(const std::string &name, ISvcLocator *pSvcLocator)
Forward iterator to traverse the main components of the trigger configuration.
Definition Config.h:22