ATLAS Offline Software
DetectorDescription
GeoModel
GeoSpecialShapes
src
LArWheelCalculator_Impl
RDBParamReader.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 "
RDBParamReader.h
"
6
#include "
RDBParamRecords.h
"
7
8
// Helper class to simplify parameter reading
9
#include "
RDBAccessSvc/IRDBRecordset.h
"
10
#include "
RDBAccessSvc/IRDBAccessSvc.h
"
11
#include <iostream>
12
13
14
RDBParamReader::RDBParamReader
(
IRDBAccessSvc
* rdbAccess)
15
: m_rdbAccess(rdbAccess)
16
{
17
}
18
19
RDBParamReader::~RDBParamReader
() {
20
}
21
22
RDBParamRecords
RDBParamReader::data
(
const
std::string&
node
,
23
const
std::string&
tag
,
24
const
std::string& tag2node)
25
{
26
IRDBRecordset_ptr
recset =
_getRecordsetPtr
(
node
,
tag
, tag2node);
27
return
RDBParamRecords
(
this
, recset);
28
}
29
30
IRDBRecordset_ptr
RDBParamReader::_getRecordsetPtr
(
const
std::string&
node
,
31
const
std::string&
tag
,
32
const
std::string& tag2node)
33
{
34
return
m_rdbAccess
->
getRecordsetPtr
(
node
,
tag
, tag2node);
35
}
RDBParamRecords.h
RDBParamReader::_getRecordsetPtr
IRDBRecordset_ptr _getRecordsetPtr(const std::string &node, const std::string &tag, const std::string &tag2node="")
Definition:
RDBParamReader.cxx:30
IRDBAccessSvc::getRecordsetPtr
virtual IRDBRecordset_ptr getRecordsetPtr(const std::string &node, const std::string &tag, const std::string &tag2node="", const std::string &connName="ATLASDD")=0
Provides access to the Recordset object containing HVS-tagged data.
RDBParamReader::data
RDBParamRecords data(const std::string &node, const std::string &tag, const std::string &tag2node="")
Definition:
RDBParamReader.cxx:22
RDBParamRecords
Definition:
RDBParamRecords.h:16
RDBParamReader::RDBParamReader
RDBParamReader(IRDBAccessSvc *rdbAccess)
Definition:
RDBParamReader.cxx:14
IRDBAccessSvc.h
Definition of the abstract IRDBAccessSvc interface.
RDBParamReader::m_rdbAccess
IRDBAccessSvc * m_rdbAccess
Definition:
RDBParamReader.h:31
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition:
IRDBAccessSvc.h:42
RDBParamReader::~RDBParamReader
~RDBParamReader()
Definition:
RDBParamReader.cxx:19
IRDBRecordset_ptr
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Definition:
IRDBAccessSvc.h:25
RDBParamReader.h
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:24
IRDBRecordset.h
Definition of the abstract IRDBRecordset interface.
node
Definition:
memory_hooks-stdcmalloc.h:74
Generated on Thu Jan 23 2025 21:16:42 for ATLAS Offline Software by
1.8.18