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
FWCore
Integration
plugins
ThingAlgorithm.h
Go to the documentation of this file.
1
#ifndef Integration_ThingAlgorithm_h
2
#define Integration_ThingAlgorithm_h
3
7
#include "DataFormats/TestObjects/interface/ThingCollectionfwd.h"
8
#include <atomic>
9
10
namespace
edmtest
{
11
class
ThingAlgorithm
{
12
public
:
13
ThingAlgorithm
(
long
iOffsetDelta = 0,
int
nThings = 20,
bool
grow =
false
)
14
:
offset_
(0),
offsetDelta_
(iOffsetDelta),
nThings_
(nThings),
grow_
(grow) {}
15
18
void
run
(ThingCollection& thingCollection)
const
;
19
20
private
:
21
mutable
std::atomic<long>
offset_
;
22
const
long
offsetDelta_
;
23
const
int
nThings_
;
24
const
bool
grow_
;
25
};
26
27
}
// namespace edmtest
28
29
#endif
edmtest::ThingAlgorithm
Definition:
ThingAlgorithm.h:11
edmtest
Definition:
AlignPCLThresholdsReader.cc:15
edmtest::ThingAlgorithm::nThings_
const int nThings_
Definition:
ThingAlgorithm.h:23
edmtest::ThingAlgorithm::grow_
const bool grow_
Definition:
ThingAlgorithm.h:24
edmtest::ThingAlgorithm::ThingAlgorithm
ThingAlgorithm(long iOffsetDelta=0, int nThings=20, bool grow=false)
Definition:
ThingAlgorithm.h:13
edmtest::ThingAlgorithm::offset_
std::atomic< long > offset_
Definition:
ThingAlgorithm.h:21
edmtest::ThingAlgorithm::run
void run(ThingCollection &thingCollection) const
Definition:
ThingAlgorithm.cc:5
edmtest::ThingAlgorithm::offsetDelta_
const long offsetDelta_
Definition:
ThingAlgorithm.h:22
Generated for CMSSW Reference Manual by
1.8.14