ATLAS Offline Software
Loading...
Searching...
No Matches
MenuLoader.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 TrigConf_MenuLoader
6#define TrigConf_MenuLoader
7
10
13
14#include <string>
15
16namespace TrigConf {
17
18 class LogicExpression;
19
21 class MenuLoader : virtual public IMenuLoader, public DBLoader {
22 public:
23
29 MenuLoader( StorageMgr& sm, coral::ISessionProxy& session ) :
30 IMenuLoader(), DBLoader("MenuLoader", sm, session) {}
31
33 virtual ~MenuLoader() override = default;
34
35 virtual bool load( Menu& data) override;
36
37 virtual void setEnv(ENV env) override { m_env = env; }
38 private:
40
41 struct ThrInfo {
42 int thrId;
43 unsigned int thrPos;
44 short thrMult;
46 };
47
55
57 TriggerItemNode* constructTree(const std::string& def, const std::vector<ThrInfo>&);
58
59 TriggerItemNode* constructTree(const LogicExpression& def, const std::vector<ThrInfo>&);
60
61 };
62}
63
64#endif
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
DBLoader(StorageMgr &sm, coral::ISessionProxy &session)
constructor
Definition DBLoader.cxx:30
void createTipFromDirectThresholds(TrigConf::Menu &menu)
void loadThresholds(TrigConf::Menu &menu)
virtual ~MenuLoader() override=default
destructor
virtual bool load(Menu &data) override
MenuLoader(StorageMgr &sm, coral::ISessionProxy &session)
constructor
Definition MenuLoader.h:29
void loadMonitoring(TrigConf::Menu &menu)
void loadMenuAttributes(TrigConf::Menu &menu)
TriggerItemNode * constructTree(const std::string &def, const std::vector< ThrInfo > &)
New versions for item definition in string.
void loadItems(TrigConf::Menu &menu)
virtual void setEnv(ENV env) override
Definition MenuLoader.h:37
void loadCaloInfo(TrigConf::Menu &menu)
void loadPIT(TrigConf::Menu &menu)
Database Storage Manager, controls the database session and the different loader classes for DB acces...
Definition StorageMgr.h:23
make the sidebar many part of the config
Definition hcg.cxx:552
Forward iterator to traverse the main components of the trigger configuration.
Definition Config.h:22
TriggerThreshold * thr
Definition MenuLoader.h:45