Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
FWCore
Framework
interface
ParameterSetIDHolder.h
Go to the documentation of this file.
1
2
// The only purpose of this is to make it easier to use
3
// forward declarations when passing around ParameterSetID's.
4
// ParameterSetID itself is a typedef and hard to forward
5
// declare.
6
7
#include "
DataFormats/Provenance/interface/ParameterSetID.h
"
8
9
namespace
edm {
10
namespace
eventsetup {
11
12
class
ParameterSetIDHolder
{
13
public
:
14
ParameterSetIDHolder
(
ParameterSetID
const
&
psetID
) :
psetID_
(psetID) { }
15
ParameterSetID
const
&
psetID
()
const
{
return
psetID_
; }
16
bool
operator<
(
ParameterSetIDHolder
const
& other)
const
{
return
psetID
() < other.
psetID
(); }
17
bool
operator==
(
ParameterSetIDHolder
const
& other)
const
{
return
psetID
() == other.
psetID
(); }
18
private
:
19
ParameterSetID
psetID_
;
20
};
21
}
22
}
edm::eventsetup::ParameterSetIDHolder
Definition:
ParameterSetIDHolder.h:12
edm::Hash< ParameterSetType >
edm::eventsetup::ParameterSetIDHolder::psetID_
ParameterSetID psetID_
Definition:
ParameterSetIDHolder.h:19
edm::eventsetup::ParameterSetIDHolder::operator<
bool operator<(ParameterSetIDHolder const &other) const
Definition:
ParameterSetIDHolder.h:16
edm::eventsetup::ParameterSetIDHolder::ParameterSetIDHolder
ParameterSetIDHolder(ParameterSetID const &psetID)
Definition:
ParameterSetIDHolder.h:14
edm::eventsetup::ParameterSetIDHolder::psetID
ParameterSetID const & psetID() const
Definition:
ParameterSetIDHolder.h:15
ParameterSetID.h
edm::eventsetup::ParameterSetIDHolder::operator==
bool operator==(ParameterSetIDHolder const &other) const
Definition:
ParameterSetIDHolder.h:17
Generated for CMSSW Reference Manual by
1.8.5