ATLAS Offline Software
Loading...
Searching...
No Matches
JEMTobRoI.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7namespace LVL1 {
8
9// Static constants
10
12
14const int JEMTobRoI::s_crateBit;
15const int JEMTobRoI::s_jemBit;
16const int JEMTobRoI::s_frameBit;
20
23const int JEMTobRoI::s_jemMask;
28
32
36
48
52
53// Set RoI word with ID check
54
56{
57 int wordId = (roiWord >> s_wordIdBit) & s_wordIdMask;
58 bool valid = (wordId == s_wordIdVal);
59 if (valid) m_roiWord = roiWord;
60 return valid;
61}
62
63} // end namespace
int location() const
Return location (RoI local coords) (0-3)
bool setRoiWord(uint32_t roiWord)
Set RoI word with ID check.
Definition JEMTobRoI.cxx:55
uint32_t roiWord() const
Return packed RoI word.
int frame() const
Return RoI frame number (0-7)
int energyLarge() const
Return energy large window size.
int energySmall() const
Return energy small window size.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...