Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
Scouting
interface
ScoutingVertex.h
Go to the documentation of this file.
1
#ifndef DataFormats_ScoutingVertex_h
2
#define DataFormats_ScoutingVertex_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
ScoutingVertex
9
{
10
public
:
11
//constructor with values for all data fields
12
ScoutingVertex
(
float
x
,
float
y
,
float
z
,
float
zError
):
13
x_
(x),
y_
(y),
z_
(z),
zError_
(zError) {}
14
//default constructor
15
ScoutingVertex
():
x_
(0),
y_
(0),
z_
(0),
zError_
(0) {}
16
17
//accessor functions
18
float
x
()
const
{
return
x_
; }
19
float
y
()
const
{
return
y_
; }
20
float
z
()
const
{
return
z_
; }
21
float
zError
()
const
{
return
zError_
; }
22
23
private
:
24
float
x_
;
25
float
y_
;
26
float
z_
;
27
float
zError_
;
28
};
29
30
typedef
std::vector<ScoutingVertex>
ScoutingVertexCollection
;
31
32
#endif
ScoutingVertex::y_
float y_
Definition:
ScoutingVertex.h:25
ScoutingVertex::x
float x() const
Definition:
ScoutingVertex.h:18
ScoutingVertex::ScoutingVertex
ScoutingVertex(float x, float y, float z, float zError)
Definition:
ScoutingVertex.h:12
ScoutingVertex::x_
float x_
Definition:
ScoutingVertex.h:24
ScoutingVertex::ScoutingVertex
ScoutingVertex()
Definition:
ScoutingVertex.h:15
ScoutingVertex::zError
float zError() const
Definition:
ScoutingVertex.h:21
ScoutingVertexCollection
std::vector< ScoutingVertex > ScoutingVertexCollection
Definition:
ScoutingVertex.h:30
ScoutingVertex::z_
float z_
Definition:
ScoutingVertex.h:26
ScoutingVertex::y
float y() const
Definition:
ScoutingVertex.h:19
ScoutingVertex::z
float z() const
Definition:
ScoutingVertex.h:20
ScoutingVertex
Definition:
ScoutingVertex.h:8
ScoutingVertex::zError_
float zError_
Definition:
ScoutingVertex.h:27
Generated for CMSSW Reference Manual by
1.8.5