Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
Alignment
CommonAlignment
src
AlignableIndexer.cc
Go to the documentation of this file.
1
#include "
Alignment/CommonAlignment/interface/AlignableIndexer.h
"
2
#include "
FWCore/Utilities/interface/Exception.h
"
3
4
using namespace
align
;
5
6
//__________________________________________________________________________________________________
7
Counter
AlignableIndexer::get
(
StructureType
type
,
const
AlignableObjectId
& alignableObjectId)
const
{
8
auto
n
= theCounters.find(
type
);
9
10
if
(theCounters.end() ==
n
) {
11
throw
cms::Exception
(
"AlignableBuildProcess"
)
12
<<
"Cannot find counter corresponding to the structure "
<< alignableObjectId.
idToString
(
type
);
13
}
14
15
return
n
->second;
16
}
align
Definition:
AlignableIndexer.h:30
AlignableIndexer.h
Exception
Definition:
hltDiff.cc:245
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:39
dqmiodumpmetadata.n
n
Definition:
dqmiodumpmetadata.py:28
align::Counter
std::function< unsigned int(align::ID)> Counter
Definition:
AlignableIndexer.h:31
AlignableObjectId
Allows conversion between type and name, and vice-versa.
Definition:
AlignableObjectId.h:13
Exception.h
AlignableObjectId::idToString
const char * idToString(align::StructureType type) const
Definition:
AlignableObjectId.cc:273
AlignableIndexer::get
virtual align::Counter get(align::StructureType, const AlignableObjectId &) const
Get a counter based on its structure type.
Definition:
AlignableIndexer.cc:7
align::StructureType
StructureType
Definition:
StructureType.h:16
Generated for CMSSW Reference Manual by
1.8.14