CMS 3D CMS Logo

vertices.h
Go to the documentation of this file.
1 
2 #ifndef L1Trigger_DemonstratorTools_codecs_vertices_h
3 #define L1Trigger_DemonstratorTools_codecs_vertices_h
4 
5 #include <array>
6 #include <vector>
7 
8 #include "ap_int.h"
9 
13 
14 namespace l1t::demo::codecs {
15 
16  ap_uint<64> encodeVertex(const l1t::VertexWord& v);
17 
18  // Encodes vertex collection onto 1 'logical' output link
19  std::array<std::vector<ap_uint<64>>, 1> encodeVertices(const edm::View<l1t::VertexWord>&);
20 
21  std::vector<l1t::VertexWord> decodeVertices(const std::vector<ap_uint<64>>&);
22 
23 } // namespace l1t::demo::codecs
24 
25 #endif
std::vector< l1t::VertexWord > decodeVertices(const std::vector< ap_uint< 64 >> &)
std::array< std::vector< ap_uint< 64 > >, 1 > encodeVertices(const edm::View< l1t::VertexWord > &)
ap_uint< 64 > encodeVertex(const l1t::VertexWord &v)