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
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
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
DetectorDescription
RegressionTest
src
TinyDomTest2.cc
Go to the documentation of this file.
1
#include "
DetectorDescription/RegressionTest/src/TinyDomTest2.h
"
2
#include "
DataFormats/Math/interface/Graph.h
"
3
#include "
DetectorDescription/RegressionTest/src/TagName.h
"
4
5
#include <iostream>
6
#include <utility>
7
8
using
std::cout
;
9
using
std::endl;
10
using
std::vector
;
11
12
TinyDomTest2::TinyDomTest2
(
const
TinyDom2
& td2) : dom_(td2) {}
13
14
unsigned
int
TinyDomTest2::allNodes
(
const
Node2
& n2, vector<const AttList2*>& at2) {
15
TinyDom2::const_adj_iterator
it =
dom_
.
begin
();
16
cout
<<
"Size of graph: "
<<
TinyDomTest2::dom_
.
size
() << endl;
17
while
(it++ !=
dom_
.
end
()) {
18
if
(n2.first.sameName(
dom_
.
nodeData
(it).first)) {
19
at2.emplace_back(&(
dom_
.
nodeData
(it).second));
20
}
21
}
22
return
at2.size();
23
}
TinyDomTest2::dom_
const TinyDom2 & dom_
Definition:
TinyDomTest2.h:15
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
TagName.h
TinyDomTest2::TinyDomTest2
TinyDomTest2(const TinyDom2 &td2)
Definition:
TinyDomTest2.cc:12
math::Graph::size
auto size() const -> adj_list::size_type
Definition:
Graph.h:176
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
TinyDomTest2.h
TinyDomTest2::allNodes
unsigned int allNodes(const Node2 &n2, std::vector< const AttList2 * > &at2)
Definition:
TinyDomTest2.cc:14
math::Graph::begin
adj_iterator begin()
Definition:
Graph.h:172
Graph.h
math::Graph::end
adj_iterator end()
Definition:
Graph.h:174
math::Graph< Node2, AnotherDummy2 >
Node2
std::pair< TagName, AttList2 > Node2
Definition:
TinyDom2.h:16
math::Graph::nodeData
const N & nodeData(const edge_type &) const
Definition:
Graph.h:272
math::Graph< Node2, AnotherDummy2 >::const_adj_iterator
adj_list::const_iterator const_adj_iterator
Definition:
Graph.h:105
Generated for CMSSW Reference Manual by
1.8.16