CMS 3D CMS Logo

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 
10 namespace l1t {
11 
13  public:
14  TkPrimaryVertex() : zvertex_(-999), sum_(-999) {}
15 
17 
18  TkPrimaryVertex(float z, float s) : zvertex_(z), sum_(s) {}
19 
20  float zvertex() const { return zvertex_; }
21  float sum() const { return sum_; }
22 
23  private:
24  float zvertex_;
25  float sum_;
26  };
27 
28  typedef std::vector<TkPrimaryVertex> TkPrimaryVertexCollection;
29 
30 } // namespace l1t
31 #endif
l1t::TkPrimaryVertex::zvertex_
float zvertex_
Definition: TkPrimaryVertex.h:24
l1t::TkPrimaryVertex::TkPrimaryVertex
TkPrimaryVertex()
Definition: TkPrimaryVertex.h:14
l1t::TkPrimaryVertex::sum
float sum() const
Definition: TkPrimaryVertex.h:21
l1t::TkPrimaryVertex::~TkPrimaryVertex
~TkPrimaryVertex()
Definition: TkPrimaryVertex.h:16
alignCSCRings.s
s
Definition: alignCSCRings.py:92
l1t::TkPrimaryVertexCollection
std::vector< TkPrimaryVertex > TkPrimaryVertexCollection
Definition: TkPrimaryVertex.h:28
l1t::TkPrimaryVertex::zvertex
float zvertex() const
Definition: TkPrimaryVertex.h:20
l1t::TkPrimaryVertex::TkPrimaryVertex
TkPrimaryVertex(float z, float s)
Definition: TkPrimaryVertex.h:18
l1t
delete x;
Definition: CaloConfig.h:22
l1t::TkPrimaryVertex
Definition: TkPrimaryVertex.h:12
l1t::TkPrimaryVertex::sum_
float sum_
Definition: TkPrimaryVertex.h:25