ATLAS Offline Software
JemSubBlockV1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 #include "JemJetElement.h"
7 #include "JemSubBlockV1.h"
8 
9 namespace LVL1BS {
10 
11 // Constant definitions
12 
14 
16 
20 
30 
31 const int JemSubBlockV1::s_exBit;
32 const int JemSubBlockV1::s_eyBit;
33 const int JemSubBlockV1::s_etBit;
40 
49 
50 
51 JemSubBlockV1::JemSubBlockV1() : m_channels(44)
52 {
53 }
54 
56 {
57 }
58 
59 // Clear all data
60 
62 {
64  m_jeData.clear();
65  m_jetHits.clear();
66  m_energySubsums.clear();
67 }
68 
69 // Store JEM header
70 
71 void JemSubBlockV1::setJemHeader(const int version, const int format,
72  const int slice, const int crate,
73  const int module, const int timeslices)
74 {
76 }
77 
78 // Store jet element data
79 
80 void JemSubBlockV1::fillJetElement(const int slice, const JemJetElement& jetEle)
81 {
82  if (jetEle.data()) {
83  const int channel = jetEle.channel();
84  if (channel < m_channels) {
86  m_jeData[index(slice)*m_channels + channel] = jetEle.data();
87  }
88  }
89 }
90 
91 // Store jet hit counts
92 
93 void JemSubBlockV1::setJetHits(const int slice, const unsigned int hits)
94 {
95  if (hits) {
96  const int jem = module();
97  const int sourceId = (jem == 0 || jem == 7 || jem == 8 || jem == 15)
99  uint32_t word = 0;
100  word |= (hits & s_threshMask) << s_threshBit;
102  word |= (sourceId & s_sourceIdMask) << s_sourceIdBit;
103  word |= s_threshWordId << s_dataIdBit;
104  resize(m_jetHits);
105  m_jetHits[index(slice)] = word;
106  }
107 }
108 
109 // Store energy subsum data
110 
111 void JemSubBlockV1::setEnergySubsums(const int slice, const unsigned int ex,
112  const unsigned int ey, const unsigned int et)
113 {
114  uint32_t word = 0;
115  word |= (ex & s_exMask) << s_exBit;
116  word |= (ey & s_eyMask) << s_eyBit;
117  word |= (et & s_etMask) << s_etBit;
118  if (word) {
120  word |= s_subsumId << s_sourceIdBit;
121  word |= s_threshWordId << s_dataIdBit;
123  m_energySubsums[index(slice)] = word;
124  }
125 }
126 
127 // Return jet element for given channel
128 
130 {
131  uint32_t je = 0;
132  if (slice >= 0 && slice < timeslices() &&
133  channel >= 0 && channel < m_channels && !m_jeData.empty()) {
135  }
136  return JemJetElement(je);
137 }
138 
139 // Return jet hit counts
140 
141 unsigned int JemSubBlockV1::jetHits(const int slice) const
142 {
143  unsigned int hits = 0;
144  if (slice >= 0 && slice < timeslices() && !m_jetHits.empty()) {
146  }
147  return hits;
148 }
149 
150 // Return energy subsum Ex
151 
152 unsigned int JemSubBlockV1::ex(const int slice) const
153 {
154  unsigned int ex = 0;
155  if (slice >= 0 && slice < timeslices() && !m_energySubsums.empty()) {
157  }
158  return ex;
159 }
160 
161 // Return energy subsum Ey
162 
163 unsigned int JemSubBlockV1::ey(const int slice) const
164 {
165  unsigned int ey = 0;
166  if (slice >= 0 && slice < timeslices() && !m_energySubsums.empty()) {
168  }
169  return ey;
170 }
171 
172 // Return energy subsum Et
173 
174 unsigned int JemSubBlockV1::et(const int slice) const
175 {
176  unsigned int et = 0;
177  if (slice >= 0 && slice < timeslices() && !m_energySubsums.empty()) {
179  }
180  return et;
181 }
182 
183 // Return number of timeslices
184 
186 {
187  int slices = slices1();
188  if (slices == 0 && format() == NEUTRAL) {
190  }
191  if (slices == 0) slices = 1;
192  return slices;
193 }
194 
195 // Packing/Unpacking routines
196 
198 {
199  bool rc = false;
200  switch (version()) {
201  case 1:
202  switch (format()) {
203  case NEUTRAL:
204  rc = packNeutral();
205  break;
206  case UNCOMPRESSED:
207  rc = packUncompressed();
208  break;
209  default:
210  break;
211  }
212  break;
213  default:
214  break;
215  }
216  return rc;
217 }
218 
220 {
221  bool rc = false;
222  switch (version()) {
223  case 1:
224  switch (format()) {
225  case NEUTRAL:
226  rc = unpackNeutral();
227  break;
228  case UNCOMPRESSED:
229  rc = unpackUncompressed();
230  break;
231  default:
233  break;
234  }
235  break;
236  default:
238  break;
239  }
240  return rc;
241 }
242 
243 // Return data index appropriate to format
244 
245 int JemSubBlockV1::index(const int slice) const
246 {
247  return (format() == NEUTRAL) ? slice : 0;
248 }
249 
250 // Resize a data vector according to format
251 
252 void JemSubBlockV1::resize(std::vector<uint32_t>& vec, const int channels)
253 {
254  if (vec.empty()) {
255  int size = channels;
256  if (format() == NEUTRAL) size *= timeslices();
257  vec.resize(size);
258  }
259 }
260 
261 // Pack neutral data
262 
264 {
266  resize(m_jetHits);
268  const int slices = timeslices();
269  for (int slice = 0; slice < slices; ++slice) {
270  // Jet element data
271  for (int channel = 0; channel < m_channels; ++channel) {
272  const int pin = channel / s_pairsPerPin;
273  const JemJetElement je = jetElement(slice, channel);
275  packerNeutral(pin, je.emParity(), 1);
276  packerNeutral(pin, je.linkError(), 1);
278  packerNeutral(pin, je.hadParity(), 1);
279  packerNeutral(pin, (je.linkError() >> 1), 1);
280  }
281  // Pad out last jet element pin
282  int lastpin = (m_channels - 1) / s_pairsPerPin;
283  packerNeutral(lastpin, 0, s_jePaddingBits);
284  // Jet Hits and Energy Sums with parity bits
285  ++lastpin;
288  packerNeutral(lastpin, ex(slice), s_energyBits);
289  packerNeutral(lastpin, ey(slice), s_energyBits);
290  packerNeutral(lastpin, et(slice), s_energyBits);
291  int parity = parityBit(1, ex(slice), s_energyBits);
292  parity = parityBit(parity, ey(slice), s_energyBits);
293  parity = parityBit(parity, et(slice), s_energyBits);
294  packerNeutral(lastpin, parity, 1);
295  // Bunch Crossing number and padding
297  packerNeutral(lastpin, 0, s_hitPaddingBits);
298  // G-Link parity
299  for (int pin = 0; pin <= lastpin; ++pin) packerNeutralParity(pin);
300  }
301  return true;
302 }
303 
304 // Pack uncompressed data
305 
307 {
308  // Jet element data
309  std::vector<uint32_t>::const_iterator pos;
310  for (pos = m_jeData.begin(); pos != m_jeData.end(); ++pos) {
311  if (*pos) packer(*pos, s_wordLength);
312  }
313 
314  // Hits and Subsum data
315  if ( !m_jetHits.empty() && m_jetHits[0]) packer(m_jetHits[0], s_wordLength);
316  if ( !m_energySubsums.empty() && m_energySubsums[0]) {
318  }
319  packerFlush();
320  return true;
321 }
322 
323 // Unpack neutral data
324 
326 {
328  resize(m_jetHits);
330  const int slices = timeslices();
331  for (int slice = 0; slice < slices; ++slice) {
332  // Jet element data
333  for (int channel = 0; channel < m_channels; ++channel) {
334  const int pin = channel / s_pairsPerPin;
335  const int emData = unpackerNeutral(pin, s_jetElementBits);
336  const int emParity = unpackerNeutral(pin, 1);
337  int linkError = unpackerNeutral(pin, 1);
338  const int hadData = unpackerNeutral(pin, s_jetElementBits);
339  const int hadParity = unpackerNeutral(pin, 1);
340  linkError |= unpackerNeutral(pin, 1) << 1;
341  const JemJetElement je(channel, emData, hadData, emParity,
342  hadParity, linkError);
343  fillJetElement(slice, je);
344  }
345  // Padding from last jet element pin
346  int lastpin = (m_channels - 1) / s_pairsPerPin;
348  // Jet Hits and Energy Sums
349  ++lastpin;
351  unpackerNeutral(lastpin, 1); // parity bit
352  const unsigned int ex = unpackerNeutral(lastpin, s_energyBits);
353  const unsigned int ey = unpackerNeutral(lastpin, s_energyBits);
354  const unsigned int et = unpackerNeutral(lastpin, s_energyBits);
356  unpackerNeutral(lastpin, 1); // parity bit
357  // Bunch Crossing number and padding
360  // G-Link parity errors
361  for (int pin = 0; pin <= lastpin; ++pin) unpackerNeutralParityError(pin);
362  }
363  const bool rc = unpackerSuccess();
365  return rc;
366 }
367 
368 // Unpack uncompressed data
369 
371 {
373  resize(m_jetHits);
375  unpackerInit();
377  while (unpackerSuccess()) {
378  const int id = dataId(word);
379  bool err = false;
380  // Jet element data
381  if (id == s_jeWordId) {
382  const JemJetElement jetEle(word);
383  const int channel = jetEle.channel();
384  if (channel < m_channels && m_jeData[channel] == 0) {
385  m_jeData[channel] = word;
386  } else err = true;
387  // Other data
388  } else {
389  switch (sourceId(word)) {
390  // Jet hit counts/thresholds
391  case s_mainThreshId:
392  case s_mainFwdThreshId: {
393  if (m_jetHits[0] == 0) m_jetHits[0] = word;
394  else err = true;
395  break;
396  }
397  // Energy subsums
398  case s_subsumId: {
399  if (m_energySubsums[0] == 0) m_energySubsums[0] = word;
400  else err = true;
401  break;
402  }
403  default:
404  err = true;
405  break;
406  }
407  }
408  if (err) {
410  return false;
411  }
412  word = unpacker(s_wordLength);
413  }
414  return true;
415 }
416 
417 } // end namespace
LVL1BS::L1CaloSubBlock::setBunchCrossing
void setBunchCrossing(int bc)
Set the Bunch Crossing number (neutral format only)
Definition: L1CaloSubBlock.h:328
LVL1BS::JemSubBlockV1::s_energyBits
static const int s_energyBits
Definition: JemSubBlockV1.h:97
LVL1BS::JemSubBlockV1::s_jePaddingBits
static const int s_jePaddingBits
Definition: JemSubBlockV1.h:95
LVL1BS::JemSubBlockV1::s_bunchCrossingBits
static const int s_bunchCrossingBits
Definition: JemSubBlockV1.h:98
et
Extra patterns decribing particle interation process.
LVL1BS::JemSubBlockV1::m_jetHits
std::vector< uint32_t > m_jetHits
Jet hit counts.
Definition: JemSubBlockV1.h:119
LVL1BS::JemJetElement
JEM jet element dataword class.
Definition: JemJetElement.h:20
LVL1BS::JemSubBlockV1::packNeutral
bool packNeutral()
Pack neutral data.
Definition: JemSubBlockV1.cxx:263
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:28
LVL1BS::L1CaloSubBlock::clear
void clear()
Clear all data.
Definition: L1CaloSubBlock.cxx:82
LVL1BS::JemSubBlockV1::s_jeWordId
static const int s_jeWordId
Definition: JemSubBlockV1.h:70
vtune_athena.format
format
Definition: vtune_athena.py:14
LVL1BS::JemSubBlockV1::s_sumIndicatorBit
static const int s_sumIndicatorBit
Definition: JemSubBlockV1.h:86
LVL1BS::JemSubBlockV1::m_jeData
std::vector< uint32_t > m_jeData
Jet element data.
Definition: JemSubBlockV1.h:117
LVL1BS::JemSubBlockV1::clear
void clear()
Clear all data.
Definition: JemSubBlockV1.cxx:61
LVL1BS::L1CaloSubBlock::packerNeutral
void packerNeutral(int pin, uint32_t datum, int nbits)
Pack given neutral data from given pin.
Definition: L1CaloSubBlock.cxx:413
LVL1BS::JemSubBlockV1::unpack
bool unpack()
Unpack data.
Definition: JemSubBlockV1.cxx:219
LVL1BS::JemSubBlockV1::s_jetIndicator
static const int s_jetIndicator
Definition: JemSubBlockV1.h:76
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LVL1BS::JemSubBlockV1::s_mainThreshId
static const int s_mainThreshId
Definition: JemSubBlockV1.h:77
LVL1BS::JemSubBlockV1::index
int index(int slice) const
Definition: JemSubBlockV1.cxx:245
LVL1BS::L1CaloSubBlock::unpackerInit
void unpackerInit()
Initialise unpacker.
Definition: L1CaloSubBlock.cxx:393
LVL1BS::JemJetElement::emParity
int emParity() const
Definition: JemJetElement.h:81
LVL1BS::JemJetElement::hadData
int hadData() const
Definition: JemJetElement.h:76
LVL1BS::JemSubBlockV1::s_glinkBitsPerSlice
static const int s_glinkBitsPerSlice
Definition: JemSubBlockV1.h:100
LVL1BS::JemSubBlockV1::s_wordIdVal
static const int s_wordIdVal
JEM header word ID.
Definition: JemSubBlockV1.h:65
LVL1BS::JemJetElement::hadParity
int hadParity() const
Definition: JemJetElement.h:86
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
LVL1BS::L1CaloSubBlock::NEUTRAL
@ NEUTRAL
Definition: L1CaloSubBlock.h:28
LVL1BS::L1CaloSubBlock::setHeader
void setHeader(int wordId, int version, int format, int seqno, int crate, int module, int slices2, int slices1)
Store header data.
Definition: L1CaloSubBlock.cxx:99
LVL1BS::L1CaloSubBlock::UNPACK_SOURCE_ID
@ UNPACK_SOURCE_ID
Definition: L1CaloSubBlock.h:41
LVL1BS::JemSubBlockV1::s_sourceIdBit
static const int s_sourceIdBit
Definition: JemSubBlockV1.h:74
LVL1BS::JemSubBlockV1::sourceId
int sourceId(uint32_t word) const
Definition: JemSubBlockV1.h:127
LVL1BS::L1CaloSubBlock::slice
int slice() const
Definition: L1CaloSubBlock.h:258
LVL1BS::L1CaloSubBlock::packerFlush
void packerFlush()
Flush the current data word padded with zeros.
Definition: L1CaloSubBlock.cxx:331
LVL1BS::L1CaloSubBlock::bunchCrossing
int bunchCrossing() const
Return the Bunch Crossing number (neutral format only)
Definition: L1CaloSubBlock.h:333
LVL1BS::JemSubBlockV1::s_jetIndicatorBit
static const int s_jetIndicatorBit
Definition: JemSubBlockV1.h:75
dq_defect_copy_defect_database.channels
def channels
Definition: dq_defect_copy_defect_database.py:56
LVL1BS::L1CaloSubBlock::crate
int crate() const
Definition: L1CaloSubBlock.h:263
LVL1BS::JemSubBlockV1::s_exMask
static const uint32_t s_exMask
Definition: JemSubBlockV1.h:89
LVL1BS::JemSubBlockV1::unpackUncompressed
bool unpackUncompressed()
Unpack uncompressed data.
Definition: JemSubBlockV1.cxx:370
LVL1BS::JemSubBlockV1::s_dataIdMask
static const uint32_t s_dataIdMask
Definition: JemSubBlockV1.h:71
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
python.PyAthena.module
module
Definition: PyAthena.py:134
LVL1BS::L1CaloSubBlock::packer
void packer(uint32_t datum, int nbits)
Pack given data into given number of bits.
Definition: L1CaloSubBlock.cxx:302
LVL1BS::JemSubBlockV1::s_sumIndicator
static const int s_sumIndicator
Definition: JemSubBlockV1.h:87
LVL1BS::JemSubBlockV1::s_etMask
static const uint32_t s_etMask
Definition: JemSubBlockV1.h:91
dqt_zlumi_pandas.err
err
Definition: dqt_zlumi_pandas.py:193
perfmonmt-refit.slice
slice
Definition: perfmonmt-refit.py:52
LVL1BS::L1CaloSubBlock::UNPACK_DATA_TRUNCATED
@ UNPACK_DATA_TRUNCATED
Definition: L1CaloSubBlock.h:40
LVL1BS::JemSubBlockV1::s_dataIdBit
static const int s_dataIdBit
Definition: JemSubBlockV1.h:69
LVL1BS::JemSubBlockV1::dataId
int dataId(uint32_t word) const
Definition: JemSubBlockV1.h:132
LVL1BS::JemSubBlockV1::jetElement
JemJetElement jetElement(int slice, int channel) const
Return jet element for given channel.
Definition: JemSubBlockV1.cxx:129
LArG4ShowerLibProcessing.hits
hits
Definition: LArG4ShowerLibProcessing.py:136
LVL1BS::L1CaloSubBlock::unpackerNeutralParityError
bool unpackerNeutralParityError(int pin)
Unpack and test G-Link parity bit for given pin.
Definition: L1CaloSubBlock.cxx:464
JemSubBlockV1.h
LVL1BS::L1CaloSubBlock::format
int format() const
Definition: L1CaloSubBlock.h:248
LVL1BS::JemSubBlockV1::s_threshBit
static const int s_threshBit
Definition: JemSubBlockV1.h:73
LVL1BS::L1CaloSubBlock::unpacker
uint32_t unpacker(int nbits)
Unpack given number of bits of data.
Definition: L1CaloSubBlock.cxx:345
LVL1BS::JemSubBlockV1::jetHits
unsigned int jetHits(int slice) const
Return jet hit counts.
Definition: JemSubBlockV1.cxx:141
LVL1BS::JemSubBlockV1::ey
unsigned int ey(int slice) const
Return energy subsum Ey.
Definition: JemSubBlockV1.cxx:163
LVL1BS::L1CaloSubBlock::UNPACK_VERSION
@ UNPACK_VERSION
Definition: L1CaloSubBlock.h:38
LVL1BS::JemSubBlockV1::s_etBit
static const int s_etBit
Definition: JemSubBlockV1.h:85
LVL1BS::JemSubBlockV1::s_pairsPerPin
static const int s_pairsPerPin
Definition: JemSubBlockV1.h:93
LVL1BS::JemSubBlockV1::s_subsumId
static const int s_subsumId
Definition: JemSubBlockV1.h:88
LVL1BS::L1CaloSubBlock::version
int version() const
Definition: L1CaloSubBlock.h:243
LVL1BS::JemSubBlockV1::s_jetHitsBits
static const int s_jetHitsBits
Definition: JemSubBlockV1.h:96
LVL1BS::JemSubBlockV1::timeslices
int timeslices() const
Return number of timeslices.
Definition: JemSubBlockV1.cxx:185
LVL1BS::L1CaloSubBlock::unpackerSuccess
bool unpackerSuccess() const
Return unpacker success flag.
Definition: L1CaloSubBlock.h:354
LVL1BS::JemSubBlockV1::~JemSubBlockV1
~JemSubBlockV1()
Definition: JemSubBlockV1.cxx:55
LVL1BS::L1CaloSubBlock::slices1
int slices1() const
Definition: L1CaloSubBlock.h:278
LVL1BS::L1CaloSubBlock::dataWords
int dataWords() const
Return number of data words.
Definition: L1CaloSubBlock.h:233
LVL1BS::JemSubBlockV1::m_energySubsums
std::vector< uint32_t > m_energySubsums
Energy subsum data.
Definition: JemSubBlockV1.h:121
LVL1BS::JemSubBlockV1::fillJetElement
void fillJetElement(int slice, const JemJetElement &jetEle)
Store jet element data.
Definition: JemSubBlockV1.cxx:80
LVL1BS::JemSubBlockV1::et
unsigned int et(int slice) const
Return energy subsum Et.
Definition: JemSubBlockV1.cxx:174
LVL1BS::JemJetElement::data
uint32_t data() const
Definition: JemJetElement.h:111
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
LVL1BS::L1CaloSubBlock::module
int module() const
Definition: L1CaloSubBlock.h:268
get_generator_info.version
version
Definition: get_generator_info.py:33
LVL1BS::JemSubBlockV1::s_eyMask
static const uint32_t s_eyMask
Definition: JemSubBlockV1.h:90
LVL1BS::JemSubBlockV1::s_sourceIdMask
static const uint32_t s_sourceIdMask
Definition: JemSubBlockV1.h:81
LVL1BS::JemSubBlockV1::s_threshWordId
static const uint32_t s_threshWordId
Definition: JemSubBlockV1.h:79
LVL1BS::JemSubBlockV1::s_jetElementBits
static const int s_jetElementBits
Definition: JemSubBlockV1.h:94
LVL1BS::JemSubBlockV1::s_hitPaddingBits
static const int s_hitPaddingBits
Definition: JemSubBlockV1.h:99
JemJetElement.h
LVL1BS::JemSubBlockV1::pack
bool pack()
Pack data.
Definition: JemSubBlockV1.cxx:197
LVL1BS::JemSubBlockV1::unpackNeutral
bool unpackNeutral()
Unpack neutral data.
Definition: JemSubBlockV1.cxx:325
LVL1BS
Definition: ZdcByteStreamReadV1V2Tool.h:47
LVL1BS::JemSubBlockV1::resize
void resize(std::vector< uint32_t > &vec, int channels=1)
Definition: JemSubBlockV1.cxx:252
LVL1BS::JemSubBlockV1::s_mainFwdThreshId
static const int s_mainFwdThreshId
Definition: JemSubBlockV1.h:78
LVL1BS::L1CaloSubBlock::setUnpackErrorCode
void setUnpackErrorCode(int code)
Set the unpacking error code.
Definition: L1CaloSubBlock.h:338
LVL1BS::L1CaloSubBlock::parityBit
int parityBit(int init, uint32_t datum, int nbits) const
Return the parity bit for given data.
Definition: L1CaloSubBlock.cxx:291
LVL1BS::JemJetElement::emData
int emData() const
Definition: JemJetElement.h:71
LVL1BS::JemSubBlockV1::ex
unsigned int ex(int slice) const
Return energy subsum Ex.
Definition: JemSubBlockV1.cxx:152
LVL1BS::JemSubBlockV1::setJemHeader
void setJemHeader(int version, int format, int slice, int crate, int module, int timeslices)
Store JEM header.
Definition: JemSubBlockV1.cxx:71
LVL1BS::JemSubBlockV1::setJetHits
void setJetHits(int slice, unsigned int hits)
Store jet hit counts.
Definition: JemSubBlockV1.cxx:93
LVL1BS::JemSubBlockV1::packUncompressed
bool packUncompressed()
Pack uncompressed data.
Definition: JemSubBlockV1.cxx:306
LVL1BS::L1CaloSubBlock::unpackerNeutral
uint32_t unpackerNeutral(int pin, int nbits)
Unpack given number of bits of neutral data for given pin.
Definition: L1CaloSubBlock.cxx:445
LVL1BS::JemSubBlockV1::s_exBit
static const int s_exBit
Definition: JemSubBlockV1.h:83
LVL1BS::JemSubBlockV1::s_eyBit
static const int s_eyBit
Definition: JemSubBlockV1.h:84
LVL1BS::JemSubBlockV1::setEnergySubsums
void setEnergySubsums(int slice, unsigned int ex, unsigned int ey, unsigned int et)
Store energy subsum data.
Definition: JemSubBlockV1.cxx:111
LVL1BS::JemSubBlockV1::m_channels
int m_channels
Number of jet element channels.
Definition: JemSubBlockV1.h:123
LVL1BS::JemSubBlockV1::s_threshMask
static const uint32_t s_threshMask
Definition: JemSubBlockV1.h:80
LVL1BS::JemSubBlockV1::JemSubBlockV1
JemSubBlockV1()
Definition: JemSubBlockV1.cxx:51
LVL1BS::JemJetElement::linkError
int linkError() const
Definition: JemJetElement.h:91
keylayer_zslicemap.slices
slices
Definition: keylayer_zslicemap.py:112
LVL1BS::L1CaloSubBlock::UNCOMPRESSED
@ UNCOMPRESSED
Definition: L1CaloSubBlock.h:28
LVL1BS::L1CaloSubBlock::UNPACK_FORMAT
@ UNPACK_FORMAT
Definition: L1CaloSubBlock.h:39
LVL1BS::L1CaloSubBlock::packerNeutralParity
void packerNeutralParity(int pin)
Pack current G-Link parity bit for given pin.
Definition: L1CaloSubBlock.cxx:434
LVL1BS::JemSubBlockV1::s_wordLength
static const int s_wordLength
Data word length.
Definition: JemSubBlockV1.h:67
LVL1BS::JemJetElement::channel
int channel() const
Definition: JemJetElement.h:66