ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigConfiguration
TrigConfIO
TrigConfIO
TrigDBJobOptionsLoader.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
11
12
#ifndef TRIGCONFIO_TRIGDBJOBOPTIONSLOADER_H
13
#define TRIGCONFIO_TRIGDBJOBOPTIONSLOADER_H
14
15
#include "
TrigConfData/DataStructure.h
"
16
17
#include "boost/property_tree/ptree.hpp"
18
19
#include "
TrigConfIO/TrigDBLoader.h
"
20
21
#include <map>
22
23
namespace
TrigConf
{
24
28
class
TrigDBJobOptionsLoader
:
public
TrigDBLoader
{
29
public
:
30
32
TrigDBJobOptionsLoader
(
const
std::string & connection);
33
35
virtual
~TrigDBJobOptionsLoader
()
override
;
36
44
bool
loadJobOptions
(
unsigned
int
smk,
45
boost::property_tree::ptree &
jobOptions
,
46
const
std::string & outFileName =
""
)
const
;
47
55
bool
loadJobOptions
(
unsigned
int
smk,
56
DataStructure
&
jobOptions
,
57
const
std::string & outFileName =
""
)
const
;
58
private
:
59
60
std::map<size_t, QueryDefinition>
m_queries
;
61
};
62
63
}
64
65
#endif
66
DataStructure.h
TrigDBLoader.h
Loader class for Trigger configuration from the Trigger DB.
TrigConf::DataStructure
Base class for Trigger configuration data and wrapper around underlying representation.
Definition
DataStructure.h:37
TrigConf::TrigDBJobOptionsLoader::TrigDBJobOptionsLoader
TrigDBJobOptionsLoader(const std::string &connection)
Constructor.
Definition
TrigDBJobOptionsLoader.cxx:8
TrigConf::TrigDBJobOptionsLoader::m_queries
std::map< size_t, QueryDefinition > m_queries
Definition
TrigDBJobOptionsLoader.h:60
TrigConf::TrigDBJobOptionsLoader::loadJobOptions
bool loadJobOptions(unsigned int smk, boost::property_tree::ptree &jobOptions, const std::string &outFileName="") const
Load job options from the Trigger DB into a ptree for a given SuperMasterKey (SMK).
Definition
TrigDBJobOptionsLoader.cxx:51
TrigConf::TrigDBJobOptionsLoader::~TrigDBJobOptionsLoader
virtual ~TrigDBJobOptionsLoader() override
Destructor - cannot be defined here because QueryDefinition is an incomplete type.
TrigConf::TrigDBLoader::TrigDBLoader
TrigDBLoader(const std::string &loaderName, const std::string &connection)
Constructor.
Definition
TrigDBLoader.cxx:26
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition
Config.h:22
jobOptions
Definition
jobOptions.pA.py:1
Generated on
for ATLAS Offline Software by
1.17.0