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
PhysicsTools
Heppy
python
analyzers
core
VertexHistograms.py
Go to the documentation of this file.
1
from
ROOT
import
TFile, TH1F
2
3
class
VertexHistograms
(
object
):
4
5
def
__init__
(self, filename ):
6
self.
file
= TFile(filename,
'recreate'
)
7
self.
hist
= TH1F(
'pileup'
,
''
, 70, 0, 70)
8
self.
mindist
= TH1F(
'mindist'
,
'Minimum distance between 2 vertices'
, 100, 0, 0.1)
9
10
def
write
(self):
11
self.
file
.Write()
core.VertexHistograms.VertexHistograms.__init__
def __init__(self, filename)
Definition:
VertexHistograms.py:5
core.VertexHistograms.VertexHistograms.mindist
mindist
Definition:
VertexHistograms.py:8
core.VertexHistograms.VertexHistograms.file
file
Definition:
VertexHistograms.py:6
core.VertexHistograms.VertexHistograms
Definition:
VertexHistograms.py:3
core.VertexHistograms.VertexHistograms.hist
hist
Definition:
VertexHistograms.py:7
core.VertexHistograms.VertexHistograms.write
def write(self)
Definition:
VertexHistograms.py:10
resolutioncreator_cfi.object
object
Definition:
resolutioncreator_cfi.py:4
Generated for CMSSW Reference Manual by
1.8.14