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