test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DetectorDescription
Core
src
DDAxes.cc
Go to the documentation of this file.
1
#include "
DetectorDescription/Core/interface/DDAxes.h
"
2
3
AxesNames::AxesNames
()
4
: axesmap_{{
"x"
,
DDAxes::x
}, {
"y"
,
DDAxes::y
}, {
"z"
,
DDAxes::z
}, {
"rho"
,
DDAxes::rho
}, {
"radial3D"
,
DDAxes::radial3D
}, {
"phi"
,
DDAxes::phi
}, {
"undefined"
,
DDAxes::undefined
}}
5
{}
6
7
AxesNames::~AxesNames
() { }
8
9
const
std::string
10
AxesNames::name
(
const
DDAxes
&
s
)
11
{
12
for
(
const
auto
& it :
axesmap_
)
13
{
14
if
( it.second == s )
15
return
it.first;
16
}
17
return
"undefined"
;
18
}
19
20
const
std::string
21
DDAxesNames::name
(
const
DDAxes
& s)
22
{
23
return
instance
().
name
(s);
24
}
DDAxes::rho
AxesNames::AxesNames
AxesNames()
Definition:
DDAxes.cc:3
AxesNames::~AxesNames
~AxesNames()
AxesNames::name
const std::string name(const DDAxes &s)
DDAxes::phi
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
DDI::Singleton< AxesNames >::instance
static value_type & instance()
DDAxes::radial3D
DDAxes.h
DDAxesNames::name
static const std::string name(const DDAxes &s)
alignCSCRings.s
list s
Definition:
alignCSCRings.py:91
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
DDAxes::x
Generated for CMSSW Reference Manual by
1.8.5