ATLAS Offline Software
Trigger
TrigConfiguration
TrigConfStorage
src
DBHelper.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
./DBHelper.h
"
6
7
#include <iostream>
8
9
#include "RelationalAccess/IColumn.h"
10
#include "RelationalAccess/ITableDescription.h"
11
12
void
13
TrigConf::fillQuery
(coral::IQuery *
q
,
coral::AttributeList
& attList) {
14
q
->defineOutput(attList);
15
for
(
coral::AttributeList::iterator
attr=attList.begin(); attr!=attList.end(); ++attr)
16
q
->addToOutputList(attr->specification().name());
17
}
18
19
20
void
21
TrigConf::printTable
(
const
coral::ITable &
table
) {
22
const
coral::ITableDescription &
desc
=
table
.description();
23
for
(
int
i
=0;
i
<
desc
.numberOfColumns(); ++
i
) {
24
const
coral::IColumn &
col
=
desc
.columnDescription(
i
);
25
std::cout <<
" "
<<
col
.name() << std::endl;
26
}
27
}
xAOD::iterator
JetConstituentVector::iterator iterator
Definition:
JetConstituentVector.cxx:68
DBHelper.h
TrigConf::fillQuery
void fillQuery(coral::IQuery *q, coral::AttributeList &attList)
Definition:
DBHelper.cxx:13
python.PyKernel.AttributeList
AttributeList
Definition:
PyKernel.py:36
CaloCondBlobAlgs_fillNoiseFromASCII.desc
desc
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:54
lumiFormat.i
int i
Definition:
lumiFormat.py:85
python.ext.table_printer.table
list table
Definition:
table_printer.py:81
query_example.col
col
Definition:
query_example.py:7
extractSporadic.q
list q
Definition:
extractSporadic.py:98
TrigConf::printTable
void printTable(const coral::ITable &teTable)
Definition:
DBHelper.cxx:21
Generated on Sun Dec 22 2024 21:09:16 for ATLAS Offline Software by
1.8.18