CondTools
DQM
interface
ReadBase.h
Go to the documentation of this file.
1
#ifndef CondTools_DQM_ReadBase_h
2
#define CondTools_DQM_ReadBase_h
3
4
/*
5
* \class ReadBase
6
*
7
* needed for using coral
8
*
9
*
10
*/
11
12
#include <string>
13
//#include "CoralKernel/Context.h"
14
#include "RelationalAccess/ConnectionService.h"
15
#include "CoralBase/MessageStream.h"
16
17
namespace
coral
{
18
//class IConnection;
19
class
ISessionProxy;
20
}
// namespace coral
21
22
class
ReadBase
{
23
public
:
24
ReadBase
();
25
virtual
~ReadBase
();
26
virtual
void
run
() = 0;
27
void
setVerbosityLevel
(coral::MsgLevel
level
);
28
29
protected
:
30
coral::ISessionProxy*
connect
(
const
std::string
&
connectionString
,
31
const
std::string
&
user
,
32
const
std::string
&
password
);
33
34
private
:
35
//coral::IConnection* m_connection;
36
coral::ConnectionService
m_connectionService
;
37
};
38
39
#endif
personalPlayback.level
level
Definition:
personalPlayback.py:22
ReadBase::run
virtual void run()=0
ReadBase
Definition:
ReadBase.h:22
ReadBase::setVerbosityLevel
void setVerbosityLevel(coral::MsgLevel level)
Definition:
ReadBase.cc:50
EcalCondDBWriter_cfi.password
password
Definition:
EcalCondDBWriter_cfi.py:62
coral
Definition:
Binary.h:9
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ReadBase::~ReadBase
virtual ~ReadBase()
Definition:
ReadBase.cc:20
EnviromentSettings.user
user
Definition:
EnviromentSettings.py:30
ReadBase::ReadBase
ReadBase()
Definition:
ReadBase.cc:12
ReadBase::connect
coral::ISessionProxy * connect(const std::string &connectionString, const std::string &user, const std::string &password)
Definition:
ReadBase.cc:24
l1RCTOmdsFedVectorProducer_cfi.connectionString
connectionString
Definition:
l1RCTOmdsFedVectorProducer_cfi.py:4
ReadBase::m_connectionService
coral::ConnectionService m_connectionService
Definition:
ReadBase.h:36
Generated for CMSSW Reference Manual by
1.8.16