src
DataFormats
Scouting
interface
Run3ScoutingVertex.h
Go to the documentation of this file.
1
#ifndef DataFormats_Run3ScoutingVertex_h
2
#define DataFormats_Run3ScoutingVertex_h
3
4
#include <vector>
5
6
//class for holding vertex information, for use in data scouting
7
//IMPORTANT: the content of this class should be changed only in backwards compatible ways!
8
class
Run3ScoutingVertex
{
9
public
:
10
//constructor with values for all data fields
11
Run3ScoutingVertex
(
float
x
,
12
float
y
,
13
float
z
,
14
float
zError
,
15
float
xError
,
16
float
yError
,
17
int
tracksSize
,
18
float
chi2
,
19
int
ndof
,
20
bool
isValidVtx
,
21
float
xyCov
,
22
float
xzCov
,
23
float
yzCov
)
24
:
x_
(
x
),
25
y_
(
y
),
26
z_
(
z
),
27
zError_
(
zError
),
28
xError_
(
xError
),
29
yError_
(
yError
),
30
tracksSize_
(
tracksSize
),
31
chi2_
(
chi2
),
32
ndof_
(
ndof
),
33
isValidVtx_
(
isValidVtx
),
34
xyCov_
(
xyCov
),
35
xzCov_
(
xzCov
),
36
yzCov_
(
yzCov
) {}
37
//default constructor
38
Run3ScoutingVertex
()
39
:
x_
(0),
40
y_
(0),
41
z_
(0),
42
zError_
(0),
43
xError_
(0),
44
yError_
(0),
45
tracksSize_
(0),
46
chi2_
(0),
47
ndof_
(0),
48
isValidVtx_
(
false
),
49
xyCov_
(0),
50
xzCov_
(0),
51
yzCov_
(0) {}
52
53
//accessor functions
54
float
x
()
const
{
return
x_
; }
55
float
y
()
const
{
return
y_
; }
56
float
z
()
const
{
return
z_
; }
57
float
xError
()
const
{
return
xError_
; }
58
float
yError
()
const
{
return
yError_
; }
59
float
zError
()
const
{
return
zError_
; }
60
int
tracksSize
()
const
{
return
tracksSize_
; }
61
float
chi2
()
const
{
return
chi2_
; }
62
int
ndof
()
const
{
return
ndof_
; }
63
bool
isValidVtx
()
const
{
return
isValidVtx_
; }
64
float
xyCov
()
const
{
return
xyCov_
; }
65
float
xzCov
()
const
{
return
xzCov_
; }
66
float
yzCov
()
const
{
return
yzCov_
; }
67
68
private
:
69
float
x_
;
70
float
y_
;
71
float
z_
;
72
float
zError_
;
73
float
xError_
;
74
float
yError_
;
75
int
tracksSize_
;
76
float
chi2_
;
77
int
ndof_
;
78
bool
isValidVtx_
;
79
float
xyCov_
;
80
float
xzCov_
;
81
float
yzCov_
;
82
};
83
84
typedef
std::vector<Run3ScoutingVertex>
Run3ScoutingVertexCollection
;
85
86
#endif
Run3ScoutingVertexCollection
std::vector< Run3ScoutingVertex > Run3ScoutingVertexCollection
Definition:
Run3ScoutingVertex.h:84
Run3ScoutingVertex::y_
float y_
Definition:
Run3ScoutingVertex.h:70
Run3ScoutingVertex::yzCov_
float yzCov_
Definition:
Run3ScoutingVertex.h:81
funct::false
false
Definition:
Factorize.h:29
Run3ScoutingVertex::yError_
float yError_
Definition:
Run3ScoutingVertex.h:74
Run3ScoutingVertex::ndof
int ndof() const
Definition:
Run3ScoutingVertex.h:62
Run3ScoutingVertex::yError
float yError() const
Definition:
Run3ScoutingVertex.h:58
Run3ScoutingVertex::zError_
float zError_
Definition:
Run3ScoutingVertex.h:72
Run3ScoutingVertex::xError
float xError() const
Definition:
Run3ScoutingVertex.h:57
Run3ScoutingVertex::x
float x() const
Definition:
Run3ScoutingVertex.h:54
Run3ScoutingVertex::Run3ScoutingVertex
Run3ScoutingVertex(float x, float y, float z, float zError, float xError, float yError, int tracksSize, float chi2, int ndof, bool isValidVtx, float xyCov, float xzCov, float yzCov)
Definition:
Run3ScoutingVertex.h:11
Run3ScoutingVertex::xError_
float xError_
Definition:
Run3ScoutingVertex.h:73
Run3ScoutingVertex::isValidVtx_
bool isValidVtx_
Definition:
Run3ScoutingVertex.h:78
Run3ScoutingVertex::isValidVtx
bool isValidVtx() const
Definition:
Run3ScoutingVertex.h:63
Run3ScoutingVertex::x_
float x_
Definition:
Run3ScoutingVertex.h:69
Run3ScoutingVertex::yzCov
float yzCov() const
Definition:
Run3ScoutingVertex.h:66
Run3ScoutingVertex::chi2
float chi2() const
Definition:
Run3ScoutingVertex.h:61
Run3ScoutingVertex::xzCov
float xzCov() const
Definition:
Run3ScoutingVertex.h:65
Run3ScoutingVertex::y
float y() const
Definition:
Run3ScoutingVertex.h:55
Run3ScoutingVertex::z_
float z_
Definition:
Run3ScoutingVertex.h:71
Run3ScoutingVertex::xyCov
float xyCov() const
Definition:
Run3ScoutingVertex.h:64
Run3ScoutingVertex::xyCov_
float xyCov_
Definition:
Run3ScoutingVertex.h:79
Run3ScoutingVertex
Definition:
Run3ScoutingVertex.h:8
Run3ScoutingVertex::tracksSize_
int tracksSize_
Definition:
Run3ScoutingVertex.h:75
Run3ScoutingVertex::Run3ScoutingVertex
Run3ScoutingVertex()
Definition:
Run3ScoutingVertex.h:38
Run3ScoutingVertex::tracksSize
int tracksSize() const
Definition:
Run3ScoutingVertex.h:60
Run3ScoutingVertex::chi2_
float chi2_
Definition:
Run3ScoutingVertex.h:76
Run3ScoutingVertex::ndof_
int ndof_
Definition:
Run3ScoutingVertex.h:77
Run3ScoutingVertex::xzCov_
float xzCov_
Definition:
Run3ScoutingVertex.h:80
Run3ScoutingVertex::z
float z() const
Definition:
Run3ScoutingVertex.h:56
Run3ScoutingVertex::zError
float zError() const
Definition:
Run3ScoutingVertex.h:59
Generated for CMSSW Reference Manual by
1.8.14