DESY Hbb Analysis Framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Analysis
Tools
src
Vertex.cc
Go to the documentation of this file.
1
// system include files
2
//
3
// user include files
4
#include "FWCore/Framework/interface/Event.h"
5
//
6
#include "FWCore/ParameterSet/interface/ParameterSet.h"
7
8
#include "
Analysis/Tools/interface/Vertex.h
"
9
10
11
//
12
// class declaration
13
//
14
15
using namespace
analysis
;
16
using namespace
analysis::tools
;
17
18
//
19
// constructors and destructor
20
//
21
Vertex::Vertex
() : x_(0.), y_(0.), z_(0.)
22
{
23
}
24
25
Vertex::Vertex
(
const
float
&
x
,
const
float
&
y
,
const
float
&
z
) :
x_
(x),
y_
(y),
z_
(z)
26
{
27
}
28
29
Vertex::~Vertex
()
30
{
31
// do anything here that needs to be done at desctruction time
32
// (e.g. close files, deallocate resources etc.)
33
}
34
35
36
//
37
// member functions
38
//
39
40
// ------------ methods ------------
41
// Get
42
float
Vertex::x
()
const
{
return
x_
; }
43
float
Vertex::y
()
const
{
return
y_
; }
44
float
Vertex::z
()
const
{
return
z_
; }
45
float
Vertex::xe
()
const
{
return
xe_
; }
46
float
Vertex::ye
()
const
{
return
ye_
; }
47
float
Vertex::ze
()
const
{
return
ze_
; }
48
float
Vertex::chi2
()
const
{
return
chi2_
; }
49
float
Vertex::ndof
()
const
{
return
ndof_
; }
50
float
Vertex::rho
()
const
{
return
rho_
; }
51
bool
Vertex::fake
()
const
{
return
fake_
; }
52
53
// Set
54
void
Vertex::x
(
const
float
&
x
) {
x_
=
x
; }
55
void
Vertex::y
(
const
float
&
y
) {
y_
=
y
; }
56
void
Vertex::z
(
const
float
&
z
) {
z_
=
z
; }
57
void
Vertex::xe
(
const
float
&
xe
) {
xe_
=
xe
; }
58
void
Vertex::ye
(
const
float
&
ye
) {
ye_
=
ye
; }
59
void
Vertex::ze
(
const
float
&
ze
) {
ze_
=
ze
; }
60
61
void
Vertex::chi2
(
const
float
&
chi2
) {
chi2_
=
chi2
; }
62
void
Vertex::ndof
(
const
float
&
ndof
) {
ndof_
=
ndof
; }
63
void
Vertex::rho
(
const
float
&
rho
) {
rho_
=
rho
; }
64
65
void
Vertex::fake
(
const
bool
&
fake
) {
fake_
=
fake
; }
analysis::tools::Vertex::ndof_
float ndof_
number of degrees of freedom of the vertex fit
Definition:
Vertex.h:105
analysis::tools::Vertex::z_
float z_
z coordinate of vertex position
Definition:
Vertex.h:95
analysis::tools::Vertex::rho
float rho() const
returns rho coordinate of vertex position
Definition:
Vertex.cc:50
analysis::tools::Vertex::y_
float y_
y coordinate of vertex position
Definition:
Vertex.h:93
analysis::tools::Vertex::Vertex
Vertex()
default constructor
Definition:
Vertex.cc:21
analysis::tools::Vertex::x
float x() const
returns x coordinate of vertex position
Definition:
Vertex.cc:42
analysis::tools::Vertex::y
float y() const
returns y coordinate of vertex position
Definition:
Vertex.cc:43
analysis::tools::Vertex::ye
float ye() const
returns error on y coordinate of vertex position
Definition:
Vertex.cc:46
analysis::tools::Vertex::xe
float xe() const
returns error on x coordinate of vertex position
Definition:
Vertex.cc:45
analysis
Definition:
MssmHbbAnalyser.h:35
analysis::tools
Definition:
Analyser.h:38
analysis::tools::Vertex::fake
bool fake() const
returns if vertex is fake or not
Definition:
Vertex.cc:51
analysis::tools::Vertex::x_
float x_
x coordinate of vertex position
Definition:
Vertex.h:91
analysis::tools::Vertex::ye_
float ye_
error on y coordinate of vertex position
Definition:
Vertex.h:99
analysis::tools::Vertex::z
float z() const
returns z coordinate of vertex position
Definition:
Vertex.cc:44
analysis::tools::Vertex::xe_
float xe_
error on x coordinate of vertex position
Definition:
Vertex.h:97
analysis::tools::Vertex::ndof
float ndof() const
returns number of degrees of freedom of the vertex fit
Definition:
Vertex.cc:49
analysis::tools::Vertex::~Vertex
~Vertex()
destructor
Definition:
Vertex.cc:29
analysis::tools::Vertex::rho_
float rho_
rho coordinate of vertex position
Definition:
Vertex.h:107
Vertex.h
analysis::tools::Vertex::ze
float ze() const
returns error on z coordinate of vertex position
Definition:
Vertex.cc:47
analysis::tools::Vertex::ze_
float ze_
error on z coordinate of vertex position
Definition:
Vertex.h:101
analysis::tools::Vertex::chi2_
float chi2_
chi^2 of the vertex fit
Definition:
Vertex.h:103
analysis::tools::Vertex::chi2
float chi2() const
returns chi^2 of the vertex fit
Definition:
Vertex.cc:48
analysis::tools::Vertex::fake_
bool fake_
if vertex is fake or not
Definition:
Vertex.h:109
Generated by
1.8.11