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 "
DataFormats/Provenance/interface/ParameterSetID.h
"
12
13
namespace
cms
{
14
class
Digest;
15
}
16
17
namespace
edm
{
18
19
// forward declaration
20
class
ParameterSet
;
21
22
class
ParameterSetEntry
{
23
public
:
24
// default ctor for serialization
25
ParameterSetEntry
();
26
ParameterSetEntry
(
ParameterSet
const
&
pset
,
bool
isTracked);
27
ParameterSetEntry
(
ParameterSetID
const
&
id
,
bool
isTracked);
28
explicit
ParameterSetEntry
(
std::string
const
&
rep
);
29
30
~
ParameterSetEntry
();
31
32
std::string
toString
()
const
;
33
void
toString
(
std::string
&
result
)
const
;
34
void
toDigest(
cms::Digest
&digest)
const
;
35
36
bool
isTracked
()
const
{
return
isTracked_;}
37
void
setIsTracked
(
bool
v
) { isTracked_ =
v
; }
38
39
ParameterSetID
id
()
const
{
return
theID_;}
40
42
ParameterSet
const
&
pset
()
const
;
43
ParameterSet
& psetForUpdate();
45
void
fillPSet()
const
;
46
47
void
updateID();
48
49
std::string
dump
(
unsigned
int
indent
= 0)
const
;
50
friend
std::ostream &
operator<<
(std::ostream & os,
ParameterSetEntry
const
& psetEntry);
51
52
private
:
53
54
bool
isTracked_
;
55
// can be internally reconstituted from the ID, in an
56
// ostensibly const function
57
mutable
atomic_value_ptr<ParameterSet>
thePSet_
;
58
59
ParameterSetID
theID_
;
60
};
61
62
}
63
64
#endif
65
mps_fire.result
result
Definition:
mps_fire.py:226
ParameterSet
Definition:
Functions.h:16
edm::Hash< ParameterSetType >
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
edm::ParameterSetEntry::isTracked_
bool isTracked_
Definition:
ParameterSetEntry.h:54
findQualityFiles.v
v
Definition:
findQualityFiles.py:177
atomic_value_ptr.h
toolbox::toString
std::string toString(const char *format,...)
Definition:
xdaq_compat.cc:4
edm::ParameterSetEntry::isTracked
bool isTracked() const
Definition:
ParameterSetEntry.h:36
FrontierConditions_GlobalTag_cff.dump
dump
Definition:
FrontierConditions_GlobalTag_cff.py:12
cuy.rep
rep
Definition:
cuy.py:1188
edm::ParameterSetEntry::thePSet_
atomic_value_ptr< ParameterSet > thePSet_
Definition:
ParameterSetEntry.h:57
cms
Definition:
ProducerAnalyzer.cc:21
ParameterSetID.h
cms::Digest
Definition:
Digest.h:54
edm::ParameterSetEntry
Definition:
ParameterSetEntry.h:22
edm::ParameterSetEntry::id
ParameterSetID id() const
Definition:
ParameterSetEntry.h:39
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSetEntry::theID_
ParameterSetID theID_
Definition:
ParameterSetEntry.h:59
cms::operator<<
std::ostream & operator<<(std::ostream &os, MD5Result const &r)
Definition:
Digest.h:46
edm::ParameterSet
Definition:
ParameterSet.h:36
summarizeEdmComparisonLogfiles.indent
indent
Definition:
summarizeEdmComparisonLogfiles.py:174
edm::ParameterSetEntry::setIsTracked
void setIsTracked(bool v)
Definition:
ParameterSetEntry.h:37
edm::atomic_value_ptr
Definition:
atomic_value_ptr.h:47
Generated for CMSSW Reference Manual by
1.8.11