1 #ifndef __L1Trigger_L1THGCal_HGCalConcentratorAutoEncoderImpl_h__
2 #define __L1Trigger_L1THGCal_HGCalConcentratorAutoEncoderImpl_h__
18 void select(
unsigned nLinks,
19 const std::vector<l1t::HGCalTriggerCell>& trigCellVecInput,
20 std::vector<l1t::HGCalTriggerCell>& trigCellVecOutput,
21 std::vector<l1t::HGCalConcentratorData>& ae_EncodedOutput);
41 {16, 43, 42, 41, 40, -1, -1, -1},
42 {20, 17, 39, 38, 37, 36, -1, -1},
43 {24, 21, 18, 35, 34, 33, 32, -1},
44 {28, 25, 22, 19, 3, 7, 11, 15},
45 {-1, 29, 26, 23, 2, 6, 10, 14},
46 {-1, -1, 30, 27, 1, 5, 9, 13},
47 {-1, -1, -1, 31, 0, 4, 8, 12}};
48 static constexpr
int ae_outputCellU_[
nTriggerCells_] = {7, 6, 5, 4, 7, 6, 5, 4, 7, 6, 5, 4, 7, 6, 5, 4,
49 1, 2, 3, 4, 2, 3, 4, 5, 3, 4, 5, 6, 4, 5, 6, 7,
50 3, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0};
51 static constexpr
int ae_outputCellV_[
nTriggerCells_] = {4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7,
52 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3,
53 6, 5, 4, 3, 5, 4, 3, 2, 4, 3, 2, 1, 3, 2, 1, 0};