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
},
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
15
AxesNames::~AxesNames
() { }
16
17
const
std::string
18
AxesNames::name
(
const
DDAxes
&
s
)
19
{
20
for
(
const
auto
& it :
axesmap_
)
21
{
22
if
( it.second == s )
23
return
it.first;
24
}
25
return
"undefined"
;
26
}
27
28
const
std::string
29
DDAxesNames::name
(
const
DDAxes
&
s
)
30
{
31
return
instance
().name(s);
32
}
DDAxes::rho
AxesNames::AxesNames
AxesNames()
Definition:
DDAxes.cc:5
instance
static PFTauRenderPlugin instance
Definition:
PFTauRenderPlugin.cc:70
AxesNames::~AxesNames
~AxesNames()
Definition:
DDAxes.cc:15
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
AxesNames::name
const std::string name(const DDAxes &s)
Definition:
DDAxes.cc:18
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:29
DDAxes::x
Generated for CMSSW Reference Manual by
1.8.11