DataFormats
L1TCorrelator
interface
TkPrimaryVertex.h
Go to the documentation of this file.
1
#ifndef DataFormatsL1TCorrelator_TkPrimaryVertex_h
2
#define DataFormatsL1TCorrelator_TkPrimaryVertex_h
3
4
// Package: L1TCorrelator
5
// Class : TkPrimaryVertex
6
7
// First version of a class for L1-zvertex
8
#include <vector>
9
#include "
DataFormats/Common/interface/Ref.h
"
10
#include "
DataFormats/Common/interface/RefVector.h
"
11
12
namespace
l1t
{
13
14
class
TkPrimaryVertex
{
15
public
:
16
TkPrimaryVertex
() :
zvertex_
(-999),
sum_
(-999) {}
17
18
~TkPrimaryVertex
() {}
19
20
TkPrimaryVertex
(
float
z,
float
s
) :
zvertex_
(z),
sum_
(
s
) {}
21
22
float
zvertex
()
const
{
return
zvertex_
; }
23
float
sum
()
const
{
return
sum_
; }
24
25
private
:
26
float
zvertex_
;
27
float
sum_
;
28
};
29
30
typedef
std::vector<TkPrimaryVertex>
TkPrimaryVertexCollection
;
31
typedef
edm::Ref<TkPrimaryVertexCollection>
TkPrimaryVertexRef
;
32
typedef
edm::RefVector<TkPrimaryVertexCollection>
TkPrimaryVertexRefVector
;
33
typedef
std::vector<TkPrimaryVertexRef>
TkPrimaryVertexVectorRef
;
34
35
}
// namespace l1t
36
#endif
l1t::TkPrimaryVertex::zvertex_
float zvertex_
Definition:
TkPrimaryVertex.h:26
l1t::TkPrimaryVertex::TkPrimaryVertex
TkPrimaryVertex()
Definition:
TkPrimaryVertex.h:16
edm::RefVector
Definition:
EDProductfwd.h:27
l1t::TkPrimaryVertex::sum
float sum() const
Definition:
TkPrimaryVertex.h:23
edm::Ref< TkPrimaryVertexCollection >
l1t::TkPrimaryVertex::~TkPrimaryVertex
~TkPrimaryVertex()
Definition:
TkPrimaryVertex.h:18
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
l1t::TkPrimaryVertexCollection
std::vector< TkPrimaryVertex > TkPrimaryVertexCollection
Definition:
TkPrimaryVertex.h:30
l1t::TkPrimaryVertex::zvertex
float zvertex() const
Definition:
TkPrimaryVertex.h:22
l1t::TkPrimaryVertexRef
edm::Ref< TkPrimaryVertexCollection > TkPrimaryVertexRef
Definition:
TkPrimaryVertex.h:31
l1t::TkPrimaryVertex::TkPrimaryVertex
TkPrimaryVertex(float z, float s)
Definition:
TkPrimaryVertex.h:20
RefVector.h
l1t::TkPrimaryVertexVectorRef
std::vector< TkPrimaryVertexRef > TkPrimaryVertexVectorRef
Definition:
TkPrimaryVertex.h:33
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::TkPrimaryVertex
Definition:
TkPrimaryVertex.h:14
Ref.h
l1t::TkPrimaryVertexRefVector
edm::RefVector< TkPrimaryVertexCollection > TkPrimaryVertexRefVector
Definition:
TkPrimaryVertex.h:32
l1t::TkPrimaryVertex::sum_
float sum_
Definition:
TkPrimaryVertex.h:27
Generated for CMSSW Reference Manual by
1.8.16