Main Page
Namespaces
Classes
Package Documentation
FWCore
ParameterSet
interface
ParameterSetEntry.h
Go to the documentation of this file.
1
#ifndef ParameterSet_ParameterSetEntry_h
2
#define ParameterSet_ParameterSetEntry_h
3
10
#include "
FWCore/Utilities/interface/atomic_value_ptr.h
"
11
#include "
FWCore/Utilities/interface/thread_safety_macros.h
"
12
#include "
DataFormats/Provenance/interface/ParameterSetID.h
"
13
14
namespace
cms
{
15
class
Digest;
16
}
17
18
namespace
edm
{
19
20
// forward declaration
21
class
ParameterSet
;
22
23
class
ParameterSetEntry
{
24
public
:
25
// default ctor for serialization
26
ParameterSetEntry
();
27
ParameterSetEntry
(
ParameterSet
const
&
pset
,
bool
isTracked);
28
ParameterSetEntry
(
ParameterSetID
const
&
id
,
bool
isTracked);
29
explicit
ParameterSetEntry
(
std::string
const
&
rep
);
30
31
~
ParameterSetEntry
() =
default
;
32
ParameterSetEntry
(
ParameterSetEntry
const
&) =
default
;
33
ParameterSetEntry
(
ParameterSetEntry
&&) =
default
;
34
ParameterSetEntry
& operator=(
ParameterSetEntry
const
&) =
default
;
35
ParameterSetEntry
& operator=(
ParameterSetEntry
&&) =
default
;
36
37
std::string
toString
()
const
;
38
void
toString
(
std::string
&
result
)
const
;
39
void
toDigest(
cms::Digest
& digest)
const
;
40
41
bool
isTracked
()
const
{
return
isTracked_; }
42
void
setIsTracked
(
bool
v
) { isTracked_ =
v
; }
43
44
ParameterSetID
id
()
const
{
return
theID_; }
45
47
ParameterSet
const
&
pset
()
const
;
48
ParameterSet
& psetForUpdate();
50
void
fillPSet()
const
;
51
52
void
updateID();
53
54
std::string
dump
(
unsigned
int
indent
= 0)
const
;
55
friend
std::ostream&
operator<<
(std::ostream& os,
ParameterSetEntry
const
& psetEntry);
56
57
private
:
58
bool
isTracked_
;
59
// can be internally reconstituted from the ID, in an
60
// ostensibly const function
61
CMS_THREAD_SAFE
mutable
atomic_value_ptr<ParameterSet>
thePSet_
;
62
63
ParameterSetID
theID_
;
64
};
65
66
}
// namespace edm
67
68
#endif
mps_fire.result
result
Definition:
mps_fire.py:294
ParameterSet
Definition:
Functions.h:16
edm::Hash< ParameterSetType >
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
thread_safety_macros.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
edm::ParameterSetEntry::isTracked_
bool isTracked_
Definition:
ParameterSetEntry.h:58
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
atomic_value_ptr.h
util.rrClient.indent
indent
Definition:
rrClient.py:41
toolbox::toString
std::string toString(const char *format,...)
Definition:
xdaq_compat.cc:4
edm::ParameterSetEntry::isTracked
bool isTracked() const
Definition:
ParameterSetEntry.h:41
FrontierConditions_GlobalTag_cff.dump
dump
Definition:
FrontierConditions_GlobalTag_cff.py:12
CMS_THREAD_SAFE
#define CMS_THREAD_SAFE
cuy.rep
rep
Definition:
cuy.py:1190
edm::ParameterSetEntry::thePSet_
atomic_value_ptr< ParameterSet > thePSet_
Definition:
ParameterSetEntry.h:61
cms
Namespace of DDCMS conversion namespace.
Definition:
ProducerAnalyzer.cc:21
ParameterSetID.h
cms::Digest
Definition:
Digest.h:46
edm::ParameterSetEntry
Definition:
ParameterSetEntry.h:23
edm::ParameterSetEntry::id
ParameterSetID id() const
Definition:
ParameterSetEntry.h:44
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ParameterSetEntry::theID_
ParameterSetID theID_
Definition:
ParameterSetEntry.h:63
cms::operator<<
std::ostream & operator<<(std::ostream &os, MD5Result const &r)
Definition:
Digest.h:39
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::ParameterSetEntry::setIsTracked
void setIsTracked(bool v)
Definition:
ParameterSetEntry.h:42
edm::atomic_value_ptr
Definition:
atomic_value_ptr.h:45
Generated for CMSSW Reference Manual by
1.8.11