DetectorDescription
Core
interface
DDValuePair.h
Go to the documentation of this file.
1
#ifndef DDValuePair_h
2
#define DDValuePair_h
3
4
#include <string>
5
#include <map>
6
//#include <utility>
7
8
struct
DDValuePair
:
public
std::pair<std::string, double> {
9
DDValuePair
() {}
10
DDValuePair
(
const
std::string
&
s
,
double
d
) :
std
::pair<
std
::
string
, double>(
s
,
d
) {}
11
DDValuePair
(
const
std::string
&
s
) :
std
::pair<
std
::
string
, double>(
s
, 0) {}
12
DDValuePair
(
double
d
) :
std
::pair<
std
::
string
, double>(
""
,
d
) {}
13
14
operator
const
std::string
&()
const
{
return
first
; }
15
operator
std::string
&() {
return
first
; }
16
operator
const
double
&()
const
{
return
second
; }
17
operator
double
&() {
return
second
; }
18
};
19
20
std::ostream&
operator<<
(std::ostream&
o
,
const
DDValuePair
&
v
);
21
22
#endif
DDValuePair::DDValuePair
DDValuePair(const std::string &s, double d)
Definition:
DDValuePair.h:10
DDValuePair::DDValuePair
DDValuePair(double d)
Definition:
DDValuePair.h:12
DDValuePair
Definition:
DDValuePair.h:8
edm::second
U second(std::pair< T, U > const &p)
Definition:
ParameterSet.cc:222
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:42
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
DDValuePair::DDValuePair
DDValuePair(const std::string &s)
Definition:
DDValuePair.h:11
first
auto first
Definition:
CAHitNtupletGeneratorKernelsImpl.h:112
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
operator<<
std::ostream & operator<<(std::ostream &o, const DDValuePair &v)
Definition:
DDValue.cc:138
DDValuePair::DDValuePair
DDValuePair()
Definition:
DDValuePair.h:9
std
Definition:
JetResolutionObject.h:76
ztail.d
d
Definition:
ztail.py:151
Generated for CMSSW Reference Manual by
1.8.16