src
L1Trigger
DemonstratorTools
interface
codecs
tracks.h
Go to the documentation of this file.
1
2
#ifndef L1Trigger_DemonstratorTools_codecs_tracks_h
3
#define L1Trigger_DemonstratorTools_codecs_tracks_h
4
5
#include <array>
6
#include <sstream>
7
#include <vector>
8
9
#include "ap_int.h"
10
11
#include "
DataFormats/Common/interface/View.h
"
12
#include "
DataFormats/L1TrackTrigger/interface/TTTrack.h
"
13
#include "
DataFormats/L1TrackTrigger/interface/TTTypes.h
"
14
15
#include "
L1Trigger/DemonstratorTools/interface/BoardData.h
"
16
17
namespace
l1t::demo::codecs
{
18
19
ap_uint<96>
encodeTrack
(
const
TTTrack_TrackWord
&
t
);
20
21
// Encodes track collection onto 18 'logical' output links (2x9 eta-phi sectors; first 9 negative eta)
22
std::array<std::vector<ap_uint<64>>, 18>
encodeTracks
(
const
edm::View
<
TTTrack<Ref_Phase2TrackerDigi_>
>&,
23
int
debug
= 0);
24
25
}
// namespace l1t::demo::codecs
26
27
#endif
l1t::demo::codecs::encodeTrack
ap_uint< 96 > encodeTrack(const TTTrack_TrackWord &t)
Definition:
codecs_tracks.cc:6
submitPVValidationJobs.t
string t
Definition:
submitPVValidationJobs.py:651
l1t::demo::codecs::encodeTracks
std::array< std::vector< ap_uint< 64 > >, 18 > encodeTracks(const edm::View< TTTrack< Ref_Phase2TrackerDigi_ >> &, int debug=0)
Definition:
codecs_tracks.cc:9
TTTrack.h
edm::View
Definition:
CaloClusterFwd.h:14
TTTypes.h
View.h
TTTrack_TrackWord
Definition:
TTTrack_TrackWord.h:35
debug
#define debug
Definition:
HDRShower.cc:19
TTTrack
Class to store the L1 Track Trigger tracks.
Definition:
TTTrack.h:29
BoardData.h
l1t::demo::codecs
Definition:
tracks.h:17
Generated for CMSSW Reference Manual by
1.8.14