ATLAS Offline Software
DBHelper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrigConf_DBHelper
6 #define TrigConf_DBHelper
7 
8 #include <CoralBase/Attribute.h>
9 #include <CoralBase/AttributeList.h>
10 
11 #include "RelationalAccess/SchemaException.h"
12 #include "RelationalAccess/ITransaction.h"
13 #include "RelationalAccess/ITable.h"
14 #include "RelationalAccess/ISchema.h"
15 #include "RelationalAccess/ICursor.h"
16 #include "RelationalAccess/IQuery.h"
17 
18 #include <string>
19 
20 namespace TrigConf {
21 
22  void fillQuery(coral::IQuery *q, coral::AttributeList& attList);
23 
24  inline std::string rmtilde(const std::string & input) { return input=="~" ? "" : input; }
25 
26  void printTable(const coral::ITable & teTable);
27 
28 }
29 
30 #endif
TrigConf::fillQuery
void fillQuery(coral::IQuery *q, coral::AttributeList &attList)
Definition: DBHelper.cxx:13
python.PyKernel.AttributeList
AttributeList
Definition: PyKernel.py:36
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
TrigConf::rmtilde
std::string rmtilde(const std::string &input)
Definition: DBHelper.h:24
extractSporadic.q
list q
Definition: extractSporadic.py:98
TrigConf::printTable
void printTable(const coral::ITable &teTable)
Definition: DBHelper.cxx:21