ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
ALFA_RawData Class Reference

#include <ALFA_RawData.h>

Collaboration diagram for ALFA_RawData:

Public Member Functions

 ALFA_RawData ()
 
 ALFA_RawData (uint16_t PMF_number)
 
 ~ALFA_RawData ()
 
void SetWordId_PMF (uint16_t Word_number)
 
void SetPMFId_PMF (uint16_t PMF_number)
 
void SetMBId_PMF (uint16_t MB_number)
 
void SetEventCount_PMF (uint32_t Event_number)
 
void SetMarocChan_PMF (const std::vector< uint16_t > &MarocChan)
 
void PushBack_PMF (uint16_t fiber_hit)
 
void Set_error_bit17 (bool bit)
 
void SetZero_PMF ()
 
void addData (uint32_t dataWord)
 
uint16_t GetWordId_PMF () const
 
uint16_t GetPMFId_PMF () const
 
uint16_t GetMBId_PMF () const
 
uint32_t GetEventCount_PMF () const
 
const std::vector< uint16_t > & GetMarocHit () const
 
uint32_t Get_Chan (uint16_t Numchan) const
 
uint32_t GetSize () const
 
uint16_t Get_bit26_27 () const
 
uint16_t Get_bit24_27 () const
 
bool Get_bit16 () const
 
bool Get_bit18 () const
 
bool Get_error_bit17 () const
 
const std::vector< uint16_t > & HitChan () const
 
const std::vector< uint32_t > * dataWords () const
 

Private Attributes

uint16_t m_WordId
 
uint16_t m_PMFId
 
uint16_t m_MBId
 
uint32_t m_EventCount
 
std::vector< uint16_t > m_MarocChan
 
bool m_bit16
 
bool m_bit18
 
bool m_error_bit17
 
uint16_t m_bit26_27
 
uint16_t m_bit24_27
 
std::vector< uint32_t > m_dataWords
 

Detailed Description

Definition at line 20 of file ALFA_RawData.h.

Constructor & Destructor Documentation

◆ ALFA_RawData() [1/2]

ALFA_RawData::ALFA_RawData ( )

Definition at line 8 of file ALFA_RawData.cxx.

8  :
9  m_WordId(0),
10  m_PMFId(0),
11  m_MBId(0),
12  m_EventCount(0),
13  m_MarocChan(),
14  m_bit16(0),
15  m_bit18(0),
16  m_error_bit17(0),
17  m_bit26_27(0),
18  m_bit24_27(0)
19 {
20 }

◆ ALFA_RawData() [2/2]

ALFA_RawData::ALFA_RawData ( uint16_t  PMF_number)

Definition at line 22 of file ALFA_RawData.cxx.

22  :
23  m_WordId(0),
24  m_PMFId(PMFId),
25  m_MBId(0),
26  m_EventCount(0),
27  m_MarocChan(),
28  m_bit16(0),
29  m_bit18(0),
30  m_error_bit17(0),
31  m_bit26_27(0),
32  m_bit24_27(0)
33 {
34 }

◆ ~ALFA_RawData()

ALFA_RawData::~ALFA_RawData ( )

Definition at line 39 of file ALFA_RawData.cxx.

40 {
41 }

Member Function Documentation

◆ addData()

void ALFA_RawData::addData ( uint32_t  dataWord)

Definition at line 76 of file ALFA_RawData.cxx.

77 {
78  m_dataWords.push_back(dataWord);
79 }

◆ dataWords()

const std::vector<uint32_t>* ALFA_RawData::dataWords ( ) const
inline

Definition at line 67 of file ALFA_RawData.h.

67 {return &m_dataWords;}

◆ Get_bit16()

bool ALFA_RawData::Get_bit16 ( ) const
inline

Definition at line 59 of file ALFA_RawData.h.

59 {return m_bit16;};

◆ Get_bit18()

bool ALFA_RawData::Get_bit18 ( ) const
inline

Definition at line 60 of file ALFA_RawData.h.

60 {return m_bit18;};

◆ Get_bit24_27()

uint16_t ALFA_RawData::Get_bit24_27 ( ) const
inline

Definition at line 58 of file ALFA_RawData.h.

58 {return m_bit24_27;};

◆ Get_bit26_27()

uint16_t ALFA_RawData::Get_bit26_27 ( ) const
inline

Definition at line 57 of file ALFA_RawData.h.

57 {return m_bit26_27;};

◆ Get_Chan()

uint32_t ALFA_RawData::Get_Chan ( uint16_t  Numchan) const
inline

Definition at line 55 of file ALFA_RawData.h.

55 {return m_MarocChan[Numchan];}; // used in SaraPkg

◆ Get_error_bit17()

bool ALFA_RawData::Get_error_bit17 ( ) const
inline

Definition at line 61 of file ALFA_RawData.h.

61 {return m_error_bit17;};

◆ GetEventCount_PMF()

uint32_t ALFA_RawData::GetEventCount_PMF ( ) const
inline

Definition at line 53 of file ALFA_RawData.h.

53 {return m_EventCount;};

◆ GetMarocHit()

const std::vector<uint16_t>& ALFA_RawData::GetMarocHit ( ) const
inline

Definition at line 54 of file ALFA_RawData.h.

54 {return m_MarocChan;};

◆ GetMBId_PMF()

uint16_t ALFA_RawData::GetMBId_PMF ( ) const
inline

Definition at line 52 of file ALFA_RawData.h.

52 {return m_MBId;};

◆ GetPMFId_PMF()

uint16_t ALFA_RawData::GetPMFId_PMF ( ) const
inline

Definition at line 51 of file ALFA_RawData.h.

51 {return m_PMFId;};

◆ GetSize()

uint32_t ALFA_RawData::GetSize ( ) const
inline

Definition at line 56 of file ALFA_RawData.h.

56 {return m_MarocChan.size();};

◆ GetWordId_PMF()

uint16_t ALFA_RawData::GetWordId_PMF ( ) const
inline

Definition at line 50 of file ALFA_RawData.h.

50 {return m_WordId;};

◆ HitChan()

const std::vector<uint16_t>& ALFA_RawData::HitChan ( ) const
inline

Definition at line 64 of file ALFA_RawData.h.

64 {return m_MarocChan;}

◆ PushBack_PMF()

void ALFA_RawData::PushBack_PMF ( uint16_t  fiber_hit)

Definition at line 72 of file ALFA_RawData.cxx.

72  {
73  m_MarocChan.push_back(fiber_hit);
74 }

◆ Set_error_bit17()

void ALFA_RawData::Set_error_bit17 ( bool  bit)

Definition at line 81 of file ALFA_RawData.cxx.

82 {
83  m_error_bit17=bit;
84 }

◆ SetEventCount_PMF()

void ALFA_RawData::SetEventCount_PMF ( uint32_t  Event_number)

Definition at line 59 of file ALFA_RawData.cxx.

60 {
61  m_EventCount=Event_number;
62 }

◆ SetMarocChan_PMF()

void ALFA_RawData::SetMarocChan_PMF ( const std::vector< uint16_t > &  MarocChan)

Definition at line 65 of file ALFA_RawData.cxx.

66 {
68 
69 
70 }

◆ SetMBId_PMF()

void ALFA_RawData::SetMBId_PMF ( uint16_t  MB_number)

Definition at line 54 of file ALFA_RawData.cxx.

55 {
56  m_MBId=MB_number;
57 }

◆ SetPMFId_PMF()

void ALFA_RawData::SetPMFId_PMF ( uint16_t  PMF_number)

Definition at line 49 of file ALFA_RawData.cxx.

50 {
51  m_PMFId=PMF_number;
52 }

◆ SetWordId_PMF()

void ALFA_RawData::SetWordId_PMF ( uint16_t  Word_number)

Definition at line 44 of file ALFA_RawData.cxx.

45 {
46  m_WordId=Word_number;
47 }

◆ SetZero_PMF()

void ALFA_RawData::SetZero_PMF ( )

Definition at line 87 of file ALFA_RawData.cxx.

88 {
89  m_WordId=0;
90  m_PMFId=0;
91  m_MBId=0;
92  m_EventCount=0;
93  m_bit26_27=0;
94  m_bit24_27=0;
95  m_bit16=false;
96  m_bit18=false;
97  m_error_bit17=false;
98  m_MarocChan.clear();
99  m_dataWords.clear();
100 }

Member Data Documentation

◆ m_bit16

bool ALFA_RawData::m_bit16
private

Definition at line 77 of file ALFA_RawData.h.

◆ m_bit18

bool ALFA_RawData::m_bit18
private

Definition at line 78 of file ALFA_RawData.h.

◆ m_bit24_27

uint16_t ALFA_RawData::m_bit24_27
private

Definition at line 81 of file ALFA_RawData.h.

◆ m_bit26_27

uint16_t ALFA_RawData::m_bit26_27
private

Definition at line 80 of file ALFA_RawData.h.

◆ m_dataWords

std::vector<uint32_t> ALFA_RawData::m_dataWords
private

Definition at line 85 of file ALFA_RawData.h.

◆ m_error_bit17

bool ALFA_RawData::m_error_bit17
private

Definition at line 79 of file ALFA_RawData.h.

◆ m_EventCount

uint32_t ALFA_RawData::m_EventCount
private

Definition at line 75 of file ALFA_RawData.h.

◆ m_MarocChan

std::vector<uint16_t> ALFA_RawData::m_MarocChan
private

Definition at line 76 of file ALFA_RawData.h.

◆ m_MBId

uint16_t ALFA_RawData::m_MBId
private

Definition at line 74 of file ALFA_RawData.h.

◆ m_PMFId

uint16_t ALFA_RawData::m_PMFId
private

Definition at line 73 of file ALFA_RawData.h.

◆ m_WordId

uint16_t ALFA_RawData::m_WordId
private

Definition at line 72 of file ALFA_RawData.h.


The documentation for this class was generated from the following files:
ALFA_RawData::HitChan
const std::vector< uint16_t > & HitChan() const
Definition: ALFA_RawData.h:64
ALFA_RawData::m_dataWords
std::vector< uint32_t > m_dataWords
Definition: ALFA_RawData.h:85
ALFA_RawData::m_error_bit17
bool m_error_bit17
Definition: ALFA_RawData.h:79
ALFA_RawData::m_PMFId
uint16_t m_PMFId
Definition: ALFA_RawData.h:73
ALFA_RawData::m_bit16
bool m_bit16
Definition: ALFA_RawData.h:77
ALFA_RawData::m_EventCount
uint32_t m_EventCount
Definition: ALFA_RawData.h:75
ALFA_RawData::m_MarocChan
std::vector< uint16_t > m_MarocChan
Definition: ALFA_RawData.h:76
ALFA_RawData::m_bit18
bool m_bit18
Definition: ALFA_RawData.h:78
ALFA_RawData::m_MBId
uint16_t m_MBId
Definition: ALFA_RawData.h:74
ALFA_RawData::m_bit26_27
uint16_t m_bit26_27
Definition: ALFA_RawData.h:80
ALFA_RawData::m_WordId
uint16_t m_WordId
Definition: ALFA_RawData.h:72
ALFA_RawData::m_bit24_27
uint16_t m_bit24_27
Definition: ALFA_RawData.h:81