ATLAS Offline Software
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
11 #include <iostream>
12 
13 
15  : m_rdbAccess(rdbAccess)
16 {
17 }
18 
20 }
21 
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 
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:45
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