Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondFormats
Calibration
interface
Conf.h
Go to the documentation of this file.
1
#ifndef CondEx_KeyedConf_H
2
#define CondEx_KeyedConf_H
3
/*
4
* Examples of configurations identified by a key
5
*/
6
7
#include "
CondFormats/Serialization/interface/Serializable.h
"
8
9
#include "
CondFormats/Common/interface/BaseKeyed.h
"
10
#include <string>
11
12
namespace
condex {
13
14
struct
ConfI
:
public
cond::BaseKeyed
{
15
ConfI
() :
v
(0),
key
(
" "
) {}
16
ConfI
(
std::string
k
,
int
i
) :
v
(i),
key
(k) {}
17
int
v
;
18
std::string
key
;
// just for test
19
20
COND_SERIALIZABLE
;
21
};
22
23
struct
ConfF
:
public
cond::BaseKeyed
{
24
ConfF
() :
v
(0),
key
(
" "
) {}
25
ConfF
(
std::string
k
,
float
i
) :
v
(i),
key
(k) {}
26
float
v
;
27
std::string
key
;
// just for test
28
29
COND_SERIALIZABLE
;
30
};
31
32
}
33
34
#endif
i
int i
Definition:
DBlmapReader.cc:9
cond::BaseKeyed
Definition:
BaseKeyed.h:14
condex::ConfI
Definition:
Conf.h:14
condex::ConfF::v
float v
Definition:
Conf.h:26
condex::ConfF::ConfF
ConfF()
Definition:
Conf.h:24
BaseKeyed.h
cond::BaseKeyed::key
std::string const & key() const
Definition:
BaseKeyed.h:20
condex::ConfF::COND_SERIALIZABLE
COND_SERIALIZABLE
Definition:
Conf.h:29
condex::ConfI::ConfI
ConfI(std::string k, int i)
Definition:
Conf.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
condex::ConfI::v
int v
Definition:
Conf.h:17
condex::ConfF
Definition:
Conf.h:23
condex::ConfI::key
std::string key
Definition:
Conf.h:18
gen::k
int k[5][pyjets_maxn]
Definition:
Cascade2Hadronizer.cc:79
condex::ConfF::ConfF
ConfF(std::string k, float i)
Definition:
Conf.h:25
condex::ConfI::COND_SERIALIZABLE
COND_SERIALIZABLE
Definition:
Conf.h:20
condex::ConfF::key
std::string key
Definition:
Conf.h:27
Serializable.h
condex::ConfI::ConfI
ConfI()
Definition:
Conf.h:15
Generated for CMSSW Reference Manual by
1.8.5