src
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
},
7
{
"y"
,
DDAxes::y
},
8
{
"z"
,
DDAxes::z
},
9
{
"rho"
,
DDAxes::rho
},
10
{
"radial3D"
,
DDAxes::radial3D
},
11
{
"phi"
,
DDAxes::phi
},
12
{
"undefined"
,
DDAxes::undefined
}} {}
13
14
AxesNames::~AxesNames
() {}
15
16
const
std::string
AxesNames::name
(
const
DDAxes
&
s
) {
17
for
(
const
auto
&
it
:
axesmap_
) {
18
if
(
it
.second ==
s
)
19
return
it
.first;
20
}
21
return
"undefined"
;
22
}
23
24
const
std::string
DDAxesNames::name
(
const
DDAxes
&
s
) {
return
instance
().
name
(
s
); }
DDAxes::rho
AxesNames::AxesNames
AxesNames()
Definition:
DDAxes.cc:5
AxesNames::~AxesNames
~AxesNames()
Definition:
DDAxes.cc:14
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
AxesNames::name
const std::string name(const DDAxes &s)
Definition:
DDAxes.cc:16
DDAxes::phi
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DDI::Singleton< AxesNames >::instance
static value_type & instance()
DDAxes::radial3D
DDAxes.h
AxesNames::axesmap_
std::map< std::string, DDAxes > axesmap_
Definition:
DDAxes.h:21
DDAxes::undefined
ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it
auto & it
Definition:
splitVertices.h:48
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:24
DDAxes::x
Generated for CMSSW Reference Manual by
1.8.14