ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigConfiguration
TrigConfStorage
src
TriggerThresholdLoader.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
//
7
//NAME: TriggerThresholdLoader.h
8
//PACKAGE: TrigConfStorage
9
//
10
//AUTHOR: Johannes Haller (CERN) Johannes.Haller@cern.ch
11
//CREATED: 31. Oct. 2005
12
//
13
//PURPOSE:
14
//
15
//
17
18
#ifndef TrigConf_TriggerThresholdLoader
19
#define TrigConf_TriggerThresholdLoader
20
21
#include "
TrigConfStorage/ITriggerThresholdLoader.h
"
22
#include "
TrigConfStorage/DBLoader.h
"
23
24
namespace
TrigConf
{
25
27
class
TriggerThresholdLoader
:
virtual
public
ITriggerThresholdLoader
,
public
DBLoader
{
28
public
:
29
36
TriggerThresholdLoader
(
StorageMgr
& sm, coral::ISessionProxy& session) :
37
DBLoader
(
"TriggerThresholdLoader"
, sm, session),
m_MenuId
(0),
m_LoadCableInfo
(true) {}
38
40
virtual
~TriggerThresholdLoader
()
override
=
default
;
41
42
virtual
bool
load
(
TriggerThreshold
& data)
override
;
43
44
void
setLoadCableInfo
(
bool
b) {
m_LoadCableInfo
= b; }
45
bool
loadCableInfo
() {
return
m_LoadCableInfo
; }
46
47
void
setMenuId
(
const
int
&
id
);
48
int
menuId
();
49
50
private
:
51
int
m_MenuId
;
52
bool
m_LoadCableInfo
;
53
};
54
}
55
56
#endif
DBLoader.h
ITriggerThresholdLoader.h
TrigConf::DBLoader::DBLoader
DBLoader(StorageMgr &sm, coral::ISessionProxy &session)
constructor
Definition
DBLoader.cxx:31
TrigConf::ITriggerThresholdLoader
Definition
ITriggerThresholdLoader.h:27
TrigConf::StorageMgr
Database Storage Manager, controls the database session and the different loader classes for DB acces...
Definition
StorageMgr.h:23
TrigConf::TriggerThresholdLoader::setLoadCableInfo
void setLoadCableInfo(bool b)
Definition
TriggerThresholdLoader.h:44
TrigConf::TriggerThresholdLoader::loadCableInfo
bool loadCableInfo()
Definition
TriggerThresholdLoader.h:45
TrigConf::TriggerThresholdLoader::m_LoadCableInfo
bool m_LoadCableInfo
Definition
TriggerThresholdLoader.h:52
TrigConf::TriggerThresholdLoader::~TriggerThresholdLoader
virtual ~TriggerThresholdLoader() override=default
destructor
TrigConf::TriggerThresholdLoader::menuId
int menuId()
Definition
TriggerThresholdLoader.cxx:273
TrigConf::TriggerThresholdLoader::m_MenuId
int m_MenuId
Definition
TriggerThresholdLoader.h:51
TrigConf::TriggerThresholdLoader::setMenuId
void setMenuId(const int &id)
Definition
TriggerThresholdLoader.cxx:268
TrigConf::TriggerThresholdLoader::load
virtual bool load(TriggerThreshold &data) override
Definition
TriggerThresholdLoader.cxx:28
TrigConf::TriggerThresholdLoader::TriggerThresholdLoader
TriggerThresholdLoader(StorageMgr &sm, coral::ISessionProxy &session)
constructor
Definition
TriggerThresholdLoader.h:36
TrigConf::TriggerThreshold
Definition
TriggerThreshold.h:20
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition
IDPerfMonZmumu.h:57
Generated on
for ATLAS Offline Software by
1.17.0