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/Common/interface/BaseKeyed.h
"
8
#include <string>
9
10
namespace
condex {
11
12
struct
ConfI
:
public
cond::BaseKeyed
{
13
ConfI
() :
v
(0),
key
(
" "
) {}
14
ConfI
(
std::string
k
,
int
i
) :
v
(i),
key
(k) {}
15
int
v
;
16
std::string
key
;
// just for test
17
};
18
19
struct
ConfF
:
public
cond::BaseKeyed
{
20
ConfF
() :
v
(0),
key
(
" "
) {}
21
ConfF
(
std::string
k
,
float
i
) :
v
(i),
key
(k) {}
22
float
v
;
23
std::string
key
;
// just for test
24
};
25
26
}
27
28
#endif
i
int i
Definition:
DBlmapReader.cc:9
cond::BaseKeyed
Definition:
BaseKeyed.h:12
condex::ConfI
Definition:
Conf.h:12
condex::ConfF::v
float v
Definition:
Conf.h:22
condex::ConfF::ConfF
ConfF()
Definition:
Conf.h:20
BaseKeyed.h
cond::BaseKeyed::key
std::string const & key() const
Definition:
BaseKeyed.h:18
condex::ConfI::ConfI
ConfI(std::string k, int i)
Definition:
Conf.h:14
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
condex::ConfI::v
int v
Definition:
Conf.h:15
condex::ConfF
Definition:
Conf.h:19
condex::ConfI::key
std::string key
Definition:
Conf.h:16
gen::k
int k[5][pyjets_maxn]
Definition:
Cascade2Hadronizer.cc:81
condex::ConfF::ConfF
ConfF(std::string k, float i)
Definition:
Conf.h:21
condex::ConfF::key
std::string key
Definition:
Conf.h:23
condex::ConfI::ConfI
ConfI()
Definition:
Conf.h:13
Generated for CMSSW Reference Manual by
1.8.5