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>
11 
12 namespace l1t {
13 
15  public:
16  TkPrimaryVertex() : zvertex_(-999), sum_(-999) {}
17 
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;
33  typedef std::vector<TkPrimaryVertexRef> TkPrimaryVertexVectorRef;
34 
35 } // namespace l1t
36 #endif
std::vector< TkPrimaryVertexRef > TkPrimaryVertexVectorRef
TkPrimaryVertex(float z, float s)
edm::RefVector< TkPrimaryVertexCollection > TkPrimaryVertexRefVector
delete x;
Definition: CaloConfig.h:22
float zvertex() const
std::vector< TkPrimaryVertex > TkPrimaryVertexCollection
edm::Ref< TkPrimaryVertexCollection > TkPrimaryVertexRef