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 
14 
15 namespace l1t::demo::codecs {
16 
17  ap_uint<64> encodeVertex(const l1t::VertexWord& v);
18 
19  // Encodes vertex collection onto 1 'logical' output link
20  std::array<std::vector<ap_uint<64>>, 1> encodeVertices(const edm::View<l1t::VertexWord>&);
21 
22  std::vector<l1t::VertexWord> decodeVertices(const std::vector<ap_uint<64>>&);
23 
24 } // namespace l1t::demo::codecs
25 
26 #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)