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
RecoVertex
BeamSpotProducer
src
BeamSpotTreeData.cc
Go to the documentation of this file.
1
#include "
RecoVertex/BeamSpotProducer/interface/BeamSpotTreeData.h
"
2
#include <TTree.h>
3
4
BeamSpotTreeData::BeamSpotTreeData
() {}
5
BeamSpotTreeData::~BeamSpotTreeData
() {}
6
7
//--------------------------------------------------------------------------------------------------
8
void
BeamSpotTreeData::branch
(TTree*
tree
) {
9
tree
->Branch(
"run"
, &
run_
,
"run/i"
);
10
tree
->Branch(
"lumi"
, &
lumi_
,
"lumi/i"
);
11
tree
->Branch(
"bunchCrossing"
, &
bunchCrossing_
,
"bunchCrossing/i"
);
12
tree
->Branch(
"pvData"
, &
pvData_
,
"bunchCrossing:position[3]:posError[3]:posCorr[3]/F"
);
13
}
14
15
//--------------------------------------------------------------------------------------------------
16
void
BeamSpotTreeData::setBranchAddress
(TTree*
tree
) {
17
tree
->SetBranchAddress(
"run"
, &
run_
);
18
tree
->SetBranchAddress(
"lumi"
, &
lumi_
);
19
tree
->SetBranchAddress(
"bunchCrossing"
, &
bunchCrossing_
);
20
tree
->SetBranchAddress(
"pvData"
, &
pvData_
);
21
}
BeamSpotTreeData::run_
unsigned int run_
Definition:
BeamSpotTreeData.h:28
BeamSpotTreeData::~BeamSpotTreeData
~BeamSpotTreeData()
Definition:
BeamSpotTreeData.cc:5
BeamSpotTreeData::bunchCrossing_
unsigned int bunchCrossing_
Definition:
BeamSpotTreeData.h:30
BeamSpotTreeData::lumi_
unsigned int lumi_
Definition:
BeamSpotTreeData.h:29
BeamSpotTreeData::setBranchAddress
void setBranchAddress(TTree *tree)
Definition:
BeamSpotTreeData.cc:16
BeamSpotTreeData::pvData_
BeamSpotFitPVData pvData_
Definition:
BeamSpotTreeData.h:31
BeamSpotTreeData::branch
void branch(TTree *tree)
Definition:
BeamSpotTreeData.cc:8
BeamSpotTreeData::BeamSpotTreeData
BeamSpotTreeData()
Definition:
BeamSpotTreeData.cc:4
tree
Definition:
tree.py:1
BeamSpotTreeData.h
Generated for CMSSW Reference Manual by
1.8.14