ATLAS Offline Software
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ALFA_ReadOut Class Reference

#include <ALFA_ReadOut.h>

Inheritance diagram for ALFA_ReadOut:
Collaboration diagram for ALFA_ReadOut:

Public Member Functions

 ALFA_ReadOut ()
 

Protected Member Functions

constexpr std::pair< uint32_t, uint16_t > getBitsWord (const uint16_t bstart, const uint16_t bstop)
 
uint32_t getBits (std::pair< uint32_t, uint16_t > in)
 
uint32_t setBits (uint16_t nData, uint16_t *inputData, uint16_t *inputPos)
 
uint32_t setBits (uint16_t nData, uint32_t *inputData, uint16_t *inputPos)
 

Protected Attributes

uint32_t m_word
 

Detailed Description

Definition at line 13 of file ALFA_ReadOut.h.

Constructor & Destructor Documentation

◆ ALFA_ReadOut()

ALFA_ReadOut::ALFA_ReadOut ( )

Definition at line 10 of file ALFA_ReadOut.cxx.

10  :
11  m_word(0)
12 { }

Member Function Documentation

◆ getBits()

uint32_t ALFA_ReadOut::getBits ( std::pair< uint32_t, uint16_t >  in)
inlineprotected

Definition at line 29 of file ALFA_ReadOut.h.

29  {
30  return (m_word >> in.second) & (in.first|1);
31  }

◆ getBitsWord()

constexpr std::pair<uint32_t, uint16_t> ALFA_ReadOut::getBitsWord ( const uint16_t  bstart,
const uint16_t  bstop 
)
inlineconstexprprotected

Definition at line 21 of file ALFA_ReadOut.h.

21  {
22  uint32_t word = 0;
23  for (uint16_t i = bstop; i<bstart ; i++ )
24  word = ((word | 1)<<1);
25  return std::make_pair(word, bstop);
26  }

◆ setBits() [1/2]

uint32_t ALFA_ReadOut::setBits ( uint16_t  nData,
uint16_t *  inputData,
uint16_t *  inputPos 
)
protected

◆ setBits() [2/2]

uint32_t ALFA_ReadOut::setBits ( uint16_t  nData,
uint32_t *  inputData,
uint16_t *  inputPos 
)
protected

Member Data Documentation

◆ m_word

uint32_t ALFA_ReadOut::m_word
protected

Definition at line 40 of file ALFA_ReadOut.h.


The documentation for this class was generated from the following files:
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
ALFA_ReadOut::m_word
uint32_t m_word
Definition: ALFA_ReadOut.h:40
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
lumiFormat.i
int i
Definition: lumiFormat.py:85