|
ATLAS Offline Software
|
Go to the documentation of this file.
177 throw std::out_of_range(
"SectorLogicReadout::getCounter32: index=" +
std::to_string(
index) +
" is larger than " +
187 static const float convertToTriggerRate = 160314.74 / 4.0;
191 throw std::out_of_range(
"SectorLogicReadout::padTrigger: input padAddress=" +
std::to_string(padAddress) +
" is not possible");
205 return (
m_hit[indexLink][indexGate]) & 0x3;
207 throw std::out_of_range(
"SectorLogicReadout::cmid: indexLink or indexGate out of range");
214 return (
m_hit[indexLink][indexGate] >> 2) & 0x7;
216 throw std::out_of_range(
"SectorLogicReadout::ptid: indexLink or indexGate out of range");
223 return (
m_hit[indexLink][indexGate] >> 5) & 0x1;
225 throw std::out_of_range(
"SectorLogicReadout::opl: indexLink or indexGate out of range");
232 return (
m_hit[indexLink][indexGate] >> 6) & 0x1;
234 throw std::out_of_range(
"SectorLogicReadout::ovphi: indexLink or indexGate out of range");
241 return (
m_hit[indexLink][indexGate] >> 7) & 0x1;
243 throw std::out_of_range(
"SectorLogicReadout::oveta: indexLink or indexGate out of range");
250 return (
m_hit[indexLink][indexGate] >> 8) & 0x1;
252 throw std::out_of_range(
"SectorLogicReadout::res : indexLink or indexGate out of range");
259 return (
m_hit[indexLink][indexGate] >> 9) & 0x7;
261 throw std::out_of_range(
"SectorLogicReadout::bcid: indexLink or indexGate out of range");
266 stream <<
" **** Sector Logic ReadOut Fragment ****" << std::endl;
269 stream <<
" SectorLogic: Header " << std::hex <<
m_Header << std::dec << std::endl;
271 stream <<
" SectorLogic: hit " << (
i + 1) <<
" ==> " << std::hex <<
readSLHitCurrent() << std::dec << std::endl;
273 stream <<
" SectorLogic: Footer " << std::hex <<
m_Footer << std::dec << std::endl;
278 stream <<
" SectorLogic: Counter32 " << (
i + 1) <<
" ==> "
279 <<
" = " << std::hex <<
getCounter32(
i) << std::dec << std::endl;
static constexpr ubit16 s_nLinks
ubit16 readSLHitCurrent()
ubit16 numberOfHitWords()
ubit16 m_numberOfWordsInBody
void display(std::ostream &stream)
float padTriggerRate(ubit16 padAddress)
ubit16 m_numberOfWordsInFrag
static constexpr ubit16 s_nGates
ubit16 m_hit[s_nLinks][s_nGates]
ubit16 readSLCounterCurrent()
ubit16 opl(ubit16 indexLink, ubit16 indexGate)
void makeNewHit(ubit16 newHit)
RODword getCounter32(ubit16 index)
void writeRecord(ubit16 newHit, bool last)
ubit16 m_numberOfWordsInCounters
std::string to_string(const DetectorType &type)
ubit16 oveta(ubit16 indexLink, ubit16 indexGate)
static const ubit16 s_numberOfDecodedCounters
ubit16 ovphi(ubit16 indexLink, ubit16 indexGate)
std::array< RODword, s_numberOfDecodedCounters > m_counter32
ubit16 bcid(ubit16 indexLink, ubit16 indexGate)
ubit16 cmadd(ubit16 indexLink, ubit16 indexGate)
ubit16 res(ubit16 indexLink, ubit16 indexGate)
static const ubit16 s_numberOfDataCounters
unsigned short int ubit16
std::array< ubit16, s_numberOfDataCounters > m_counter16
ubit16 m_numberOfWordsInSLHits
ubit16 ptid(ubit16 indexLink, ubit16 indexGate)