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
CondFormats
Calibration
src
mypt.cc
Go to the documentation of this file.
1
#include "
CondFormats/Calibration/interface/mypt.h
"
2
#include <boost/random/linear_congruential.hpp>
3
#include <boost/random/uniform_int.hpp>
4
#include <boost/random/variate_generator.hpp>
5
//#include <iostream>
6
//typedef boost::minstd_rand base_generator_type;
7
void
mypt::fill
() {
8
//base_generator_type rng(42u);
9
//boost::uniform_int<int> uni_dist(0,200);
10
//boost::variate_generator<base_generator_type&, boost::uniform_int<> > uni(rng, uni_dist);
11
for
(
size_t
i
= 0;
i
< 2097; ++
i
) {
12
std::cout
<<
"i "
<<
i
<<
" "
;
13
pt
[
i
] = (
unsigned
short)(
i
);
14
}
15
}
mypt.h
mps_fire.i
i
Definition:
mps_fire.py:429
mypt::pt
fixedArray< unsigned short, 2097 > pt
Definition:
mypt.h:10
mypt::fill
void fill()
Definition:
mypt.cc:7
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
Generated for CMSSW Reference Manual by
1.8.14