Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
CondTools
DT
interface
DTKeyedConfigCache.h
Go to the documentation of this file.
1
#ifndef CondTools_DT_DTKeyedConfigCache_h
2
#define CondTools_DT_DTKeyedConfigCache_h
3
17
#include <map>
18
#include <string>
19
#include <vector>
20
21
#include "
CondCore/CondDB/interface/KeyList.h
"
22
23
class
DTKeyedConfig
;
24
25
// ---------------------
26
// -- Class Interface --
27
// ---------------------
28
29
class
DTKeyedConfigCache
{
30
public
:
31
DTKeyedConfigCache
();
32
virtual
~DTKeyedConfigCache
();
33
34
int
get
(
const
cond::persistency::KeyList
& keyList,
int
cfgId,
const
DTKeyedConfig
*&
obj
);
35
36
void
getData
(
const
cond::persistency::KeyList
& keyList,
int
cfgId, std::vector<std::string>& list);
37
38
void
purge
();
39
40
static
const
int
maxBrickNumber
;
41
static
const
int
maxStringNumber
;
42
static
const
int
maxByteNumber
;
43
44
private
:
45
DTKeyedConfigCache
(
const
DTKeyedConfigCache
&
x
) =
delete
;
46
const
DTKeyedConfigCache
&
operator=
(
const
DTKeyedConfigCache
&
x
) =
delete
;
47
48
typedef
std::pair<int, const DTKeyedConfig*>
counted_brick
;
49
std::map<int, counted_brick>
brickMap
;
50
int
cachedBrickNumber
;
51
int
cachedStringNumber
;
52
int
cachedByteNumber
;
53
};
54
#endif
DTKeyedConfigCache::DTKeyedConfigCache
DTKeyedConfigCache()
Definition:
DTKeyedConfigCache.cc:35
DTKeyedConfigCache::maxStringNumber
static const int maxStringNumber
Definition:
DTKeyedConfigCache.h:41
DTKeyedConfigCache::getData
void getData(const cond::persistency::KeyList &keyList, int cfgId, std::vector< std::string > &list)
Definition:
DTKeyedConfigCache.cc:115
DTKeyedConfigCache::brickMap
std::map< int, counted_brick > brickMap
Definition:
DTKeyedConfigCache.h:49
DDAxes::x
DTKeyedConfigCache::operator=
const DTKeyedConfigCache & operator=(const DTKeyedConfigCache &x)=delete
DTKeyedConfigCache::cachedBrickNumber
int cachedBrickNumber
Definition:
DTKeyedConfigCache.h:50
DTKeyedConfigCache
Definition:
DTKeyedConfigCache.h:29
DTKeyedConfigCache::counted_brick
std::pair< int, const DTKeyedConfig * > counted_brick
Definition:
DTKeyedConfigCache.h:48
getGTfromDQMFile.obj
obj
Definition:
getGTfromDQMFile.py:32
DTKeyedConfigCache::cachedByteNumber
int cachedByteNumber
Definition:
DTKeyedConfigCache.h:52
DTKeyedConfig
Definition:
DTKeyedConfig.h:35
DTKeyedConfigCache::maxByteNumber
static const int maxByteNumber
Definition:
DTKeyedConfigCache.h:42
DTKeyedConfigCache::maxBrickNumber
static const int maxBrickNumber
Definition:
DTKeyedConfigCache.h:40
DTKeyedConfigCache::~DTKeyedConfigCache
virtual ~DTKeyedConfigCache()
Definition:
DTKeyedConfigCache.cc:40
DTKeyedConfigCache::purge
void purge()
Definition:
DTKeyedConfigCache.cc:131
KeyList.h
DTKeyedConfigCache::get
int get(const cond::persistency::KeyList &keyList, int cfgId, const DTKeyedConfig *&obj)
Definition:
DTKeyedConfigCache.cc:42
cond::persistency::KeyList
Definition:
KeyList.h:33
DTKeyedConfigCache::cachedStringNumber
int cachedStringNumber
Definition:
DTKeyedConfigCache.h:51
Generated for CMSSW Reference Manual by
1.8.16