Main Page
Namespaces
Classes
Package Documentation
CondFormats
Common
interface
DropBoxMetadata.h
Go to the documentation of this file.
1
#ifndef CondFormatsCommon_DropBoxMetadata_H
2
#define CondFormatsCommon_DropBoxMetadata_H
3
13
#include "
CondFormats/Serialization/interface/Serializable.h
"
14
15
#include <map>
16
#include <string>
17
18
class
DropBoxMetadata
{
19
public
:
21
DropBoxMetadata
();
22
24
virtual
~DropBoxMetadata
();
25
26
27
class
Parameters
{
28
public
:
29
30
void
addParameter
(
const
std::string
&
key
,
const
std::string
& vale);
31
32
std::string
getParameter
(
const
std::string
& key)
const
;
33
34
const
std::map<std::string, std::string> &
getParameterMap
()
const
;
35
36
private
:
37
38
std::map<std::string, std::string>
theParameters
;
39
40
COND_SERIALIZABLE
;
41
};
42
43
// Operations
44
void
addRecordParameters
(
const
std::string
&
record
,
const
Parameters
& params);
45
46
const
Parameters
&
getRecordParameters
(
const
std::string
&
record
)
const
;
47
48
bool
knowsRecord
(
const
std::string
&
record
)
const
;
49
50
protected
:
51
52
private
:
53
std::map<std::string, DropBoxMetadata::Parameters>
recordSet
;
54
55
56
COND_SERIALIZABLE
;
57
};
58
#endif
59
record
JetCorrectorParameters::Record record
Definition:
classes.h:7
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DropBoxMetadata::knowsRecord
bool knowsRecord(const std::string &record) const
Definition:
DropBoxMetadata.cc:49
crabWrapper.key
key
Definition:
crabWrapper.py:19
DropBoxMetadata::Parameters::getParameter
std::string getParameter(const std::string &key) const
Definition:
DropBoxMetadata.cc:25
DropBoxMetadata::Parameters
Definition:
DropBoxMetadata.h:27
DropBoxMetadata::Parameters::theParameters
std::map< std::string, std::string > theParameters
Definition:
DropBoxMetadata.h:38
DropBoxMetadata::Parameters::getParameterMap
const std::map< std::string, std::string > & getParameterMap() const
Definition:
DropBoxMetadata.cc:34
DropBoxMetadata
Definition:
DropBoxMetadata.h:18
DropBoxMetadata::Parameters::addParameter
void addParameter(const std::string &key, const std::string &vale)
Definition:
DropBoxMetadata.cc:21
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:38
DropBoxMetadata::recordSet
std::map< std::string, DropBoxMetadata::Parameters > recordSet
Definition:
DropBoxMetadata.h:53
DropBoxMetadata::addRecordParameters
void addRecordParameters(const std::string &record, const Parameters ¶ms)
Definition:
DropBoxMetadata.cc:41
DropBoxMetadata::~DropBoxMetadata
virtual ~DropBoxMetadata()
Destructor.
Definition:
DropBoxMetadata.cc:18
Serializable.h
DropBoxMetadata::getRecordParameters
const Parameters & getRecordParameters(const std::string &record) const
Definition:
DropBoxMetadata.cc:45
DropBoxMetadata::DropBoxMetadata
DropBoxMetadata()
Constructor.
Definition:
DropBoxMetadata.cc:16
Generated for CMSSW Reference Manual by
1.8.11