CondTools
DT
interface
DTKeyedConfigHandler.h
Go to the documentation of this file.
1
#ifndef DTKeyedConfigHandler_H
2
#define DTKeyedConfigHandler_H
3
14
//----------------------
15
// Base Class Headers --
16
//----------------------
17
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
18
19
//------------------------------------
20
// Collaborating Class Declarations --
21
//------------------------------------
22
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
23
#include "
CondCore/CondDB/interface/ConnectionPool.h
"
24
#include "
CondFormats/DTObjects/interface/DTCCBConfig.h
"
25
#include <memory>
26
#include <string>
27
28
namespace
coral
{
29
class
ISessionProxy;
30
}
31
32
namespace
cond
{
33
namespace
persistency {
34
class
KeyList;
35
}
36
}
// namespace cond
37
38
//---------------
39
// C++ Headers --
40
//---------------
41
42
// ---------------------
43
// -- Class Interface --
44
// ---------------------
45
46
class
DTKeyedConfigHandler
:
public
popcon::PopConSourceHandler
<DTCCBConfig> {
47
public
:
50
DTKeyedConfigHandler
(
const
edm::ParameterSet
& ps);
51
54
~DTKeyedConfigHandler
()
override
;
55
58
void
getNewObjects
()
override
;
60
std::string
id
()
const override
;
61
62
void
setList
(
const
cond::persistency::KeyList
* list);
63
64
private
:
65
bool
copyData
;
66
int
minBrickId
;
67
int
maxBrickId
;
68
int
minRunId
;
69
int
maxRunId
;
70
71
std::string
dataTag
;
72
std::string
onlineConnect
;
73
std::string
onlineAuthentication
;
74
int
onlineAuthSys
;
75
std::string
brickContainer
;
76
DTCCBConfig
*
ccbConfig
;
77
78
cond::persistency::ConnectionPool
connection
;
79
std::shared_ptr<coral::ISessionProxy>
isession
;
80
void
chkConfigList
();
81
static
bool
sameConfigList
(
const
std::vector<DTConfigKey>& cfgl,
const
std::vector<DTConfigKey>& cfgr);
82
83
const
cond::persistency::KeyList
*
keyList
=
nullptr
;
84
};
85
86
#endif // DTKeyedConfigHandler_H
PopConSourceHandler.h
DTKeyedConfigHandler::minRunId
int minRunId
Definition:
DTKeyedConfigHandler.h:68
ConnectionPool.h
DTKeyedConfigHandler::chkConfigList
void chkConfigList()
Definition:
DTKeyedConfigHandler.cc:435
DTKeyedConfigHandler::sameConfigList
static bool sameConfigList(const std::vector< DTConfigKey > &cfgl, const std::vector< DTConfigKey > &cfgr)
Definition:
DTKeyedConfigHandler.cc:573
DTKeyedConfigHandler::dataTag
std::string dataTag
Definition:
DTKeyedConfigHandler.h:71
DTKeyedConfigHandler::onlineConnect
std::string onlineConnect
Definition:
DTKeyedConfigHandler.h:72
coral
Definition:
Binary.h:9
DTKeyedConfigHandler::brickContainer
std::string brickContainer
Definition:
DTKeyedConfigHandler.h:75
cond::persistency::ConnectionPool
Definition:
ConnectionPool.h:35
DTKeyedConfigHandler::onlineAuthentication
std::string onlineAuthentication
Definition:
DTKeyedConfigHandler.h:73
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DTKeyedConfigHandler::isession
std::shared_ptr< coral::ISessionProxy > isession
Definition:
DTKeyedConfigHandler.h:79
cond
Definition:
plugin.cc:23
edm::ParameterSet
Definition:
ParameterSet.h:47
DTKeyedConfigHandler::maxBrickId
int maxBrickId
Definition:
DTKeyedConfigHandler.h:67
DTKeyedConfigHandler::~DTKeyedConfigHandler
~DTKeyedConfigHandler() override
Definition:
DTKeyedConfigHandler.cc:67
DTKeyedConfigHandler::onlineAuthSys
int onlineAuthSys
Definition:
DTKeyedConfigHandler.h:74
DTKeyedConfigHandler::DTKeyedConfigHandler
DTKeyedConfigHandler(const edm::ParameterSet &ps)
Definition:
DTKeyedConfigHandler.cc:48
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
DTKeyedConfigHandler::keyList
const cond::persistency::KeyList * keyList
Definition:
DTKeyedConfigHandler.h:83
cond::persistency::KeyList
Definition:
KeyList.h:33
DTKeyedConfigHandler::setList
void setList(const cond::persistency::KeyList *list)
Definition:
DTKeyedConfigHandler.cc:605
ParameterSet.h
DTKeyedConfigHandler::getNewObjects
void getNewObjects() override
Definition:
DTKeyedConfigHandler.cc:72
DTKeyedConfigHandler::ccbConfig
DTCCBConfig * ccbConfig
Definition:
DTKeyedConfigHandler.h:76
DTKeyedConfigHandler::maxRunId
int maxRunId
Definition:
DTKeyedConfigHandler.h:69
DTCCBConfig
Definition:
DTCCBConfig.h:60
DTKeyedConfigHandler::minBrickId
int minBrickId
Definition:
DTKeyedConfigHandler.h:66
DTKeyedConfigHandler::id
std::string id() const override
Definition:
DTKeyedConfigHandler.cc:571
DTKeyedConfigHandler::connection
cond::persistency::ConnectionPool connection
Definition:
DTKeyedConfigHandler.h:78
DTKeyedConfigHandler::copyData
bool copyData
Definition:
DTKeyedConfigHandler.h:65
DTCCBConfig.h
DTKeyedConfigHandler
Definition:
DTKeyedConfigHandler.h:46
Generated for CMSSW Reference Manual by
1.8.16