ATLAS Offline Software
DetectorDescription
GeoModel
GeoSpecialShapes
src
LArWheelCalculator_Impl
RDBParamReader.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 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
12
13
RDBParamReader::RDBParamReader
(
IRDBAccessSvc
* rdbAccess)
14
: m_rdbAccess(rdbAccess)
15
{
16
}
17
18
RDBParamReader::~RDBParamReader
() {
19
}
20
21
RDBParamRecords
RDBParamReader::data
(
const
std::string&
node
,
22
const
std::string&
tag
,
23
const
std::string& tag2node)
24
{
25
IRDBRecordset_ptr
recset =
_getRecordsetPtr
(
node
,
tag
, tag2node);
26
return
RDBParamRecords
(
this
, std::move(recset));
27
}
28
29
IRDBRecordset_ptr
RDBParamReader::_getRecordsetPtr
(
const
std::string&
node
,
30
const
std::string&
tag
,
31
const
std::string& tag2node)
32
{
33
return
m_rdbAccess
->
getRecordsetPtr
(
node
,
tag
, tag2node);
34
}
RDBParamRecords.h
RDBParamReader::_getRecordsetPtr
IRDBRecordset_ptr _getRecordsetPtr(const std::string &node, const std::string &tag, const std::string &tag2node="")
Definition:
RDBParamReader.cxx:29
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:21
RDBParamRecords
Definition:
RDBParamRecords.h:16
RDBParamReader::RDBParamReader
RDBParamReader(IRDBAccessSvc *rdbAccess)
Definition:
RDBParamReader.cxx:13
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:18
IRDBRecordset_ptr
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Definition:
IRDBAccessSvc.h:25
RDBParamReader.h
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:23
IRDBRecordset.h
Definition of the abstract IRDBRecordset interface.
node
Definition:
node.h:21
Generated on Fri Oct 31 2025 21:17:15 for ATLAS Offline Software by
1.8.18