Main Page
Namespaces
Classes
Package Documentation
DetectorDescription
Core
src
DDAxes.cc
Go to the documentation of this file.
1
#include "
DetectorDescription/Core/interface/DDAxes.h
"
2
3
#include <utility>
4
5
AxesNames::AxesNames
()
6
: axesmap_{{
"x"
,
DDAxes::x
}, {
"y"
,
DDAxes::y
}, {
"z"
,
DDAxes::z
}, {
"rho"
,
DDAxes::rho
}, {
"radial3D"
,
DDAxes::radial3D
}, {
"phi"
,
DDAxes::phi
}, {
"undefined"
,
DDAxes::undefined
}}
7
{}
8
9
AxesNames::~AxesNames
() { }
10
11
const
std::string
12
AxesNames::name
(
const
DDAxes
&
s
)
13
{
14
for
(
const
auto
& it :
axesmap_
)
15
{
16
if
( it.second == s )
17
return
it.first;
18
}
19
return
"undefined"
;
20
}
21
22
const
std::string
23
DDAxesNames::name
(
const
DDAxes
&
s
)
24
{
25
return
instance
().name(s);
26
}
DDAxes::rho
AxesNames::AxesNames
AxesNames()
Definition:
DDAxes.cc:5
instance
static PFTauRenderPlugin instance
Definition:
PFTauRenderPlugin.cc:70
AxesNames::~AxesNames
~AxesNames()
Definition:
DDAxes.cc:9
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
alignCSCRings.s
s
Definition:
alignCSCRings.py:91
AxesNames::name
const std::string name(const DDAxes &s)
Definition:
DDAxes.cc:12
DDAxes::phi
DDAxes::radial3D
DDAxes.h
AxesNames::axesmap_
std::map< std::string, DDAxes > axesmap_
Definition:
DDAxes.h:22
DDAxes::undefined
DDAxes::y
DDAxes
DDAxes
analagous to geant4/source/global/HEPGeometry/include/geomdefs.hh
Definition:
DDAxes.h:11
DDAxes::z
DDAxesNames::name
static const std::string name(const DDAxes &s)
Definition:
DDAxes.cc:23
DDAxes::x
Generated for CMSSW Reference Manual by
1.8.11