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

#include <ALFA_RawData_charge.h>

Collaboration diagram for ALFA_RawData_charge:

Public Member Functions

 ALFA_RawData_charge ()
 
 ALFA_RawData_charge (uint16_t PMF_number)
 
 ~ALFA_RawData_charge ()
 
void SetPMFId_PMF (uint16_t PMF_number)
 
void SetChannelNum_PMF (uint16_t Channel_number)
 
void SetMBId_PMF (uint16_t MB_number)
 
void SetFiberFirmware_PMF (uint16_t FiberFirmware_number)
 
void SetEventCount_PMF (uint32_t Event_number)
 
void SetChargeChan_PMF (uint16_t ChargeChan_number)
 
void SetChargeChanVect_PMF (const std::vector< uint16_t > &ChargeChan)
 
void PushBack_PMF (uint16_t ChargeChan_number)
 
void SetZero_PMF ()
 
void addData (uint32_t dataWord)
 
uint16_t GetPMFId_PMF () const
 
uint16_t GetChannelNum_PMF () const
 
uint16_t GetMBId_PMF () const
 
uint16_t GetFiberFirmware_PMF () const
 
uint32_t GetEventCount_PMF () const
 
uint16_t GetChargeHit () const
 
bool Get_bit12 () const
 
const std::vector< uint16_t > & ChargeChanVect_number () const
 
const std::vector< uint32_t > * dataWords () const
 

Private Attributes

uint16_t m_ChannelNumId
 
uint16_t m_PMFId
 
uint16_t m_MBId
 
uint16_t m_FiberFirmwareId
 
uint32_t m_EventCount
 
uint16_t m_ChargeChanId
 
bool m_bit12
 
std::vector< uint16_t > m_ChargeChan
 
std::vector< uint32_t > m_dataWords
 

Detailed Description

Definition at line 20 of file ALFA_RawData_charge.h.

Constructor & Destructor Documentation

◆ ALFA_RawData_charge() [1/2]

ALFA_RawData_charge::ALFA_RawData_charge ( )

Definition at line 8 of file ALFA_RawData_charge.cxx.

8  :
10  m_PMFId(0),
11  m_MBId(0),
13  m_EventCount(0),
14  m_ChargeChanId(0),
15  m_bit12(0),
16  m_ChargeChan()
17 {
18 }

◆ ALFA_RawData_charge() [2/2]

ALFA_RawData_charge::ALFA_RawData_charge ( uint16_t  PMF_number)

Definition at line 20 of file ALFA_RawData_charge.cxx.

20  :
21  m_ChannelNumId(0),
22  m_PMFId(PMFId),
23  m_MBId(0),
25  m_EventCount(0),
26  m_ChargeChanId(0),
27  m_bit12(0),
28  m_ChargeChan()
29 {
30 }

◆ ~ALFA_RawData_charge()

ALFA_RawData_charge::~ALFA_RawData_charge ( )

Definition at line 35 of file ALFA_RawData_charge.cxx.

36 {
37 }

Member Function Documentation

◆ addData()

void ALFA_RawData_charge::addData ( uint32_t  dataWord)

Definition at line 82 of file ALFA_RawData_charge.cxx.

83 {
84  m_dataWords.push_back(dataWord);
85 }

◆ ChargeChanVect_number()

const std::vector<uint16_t>& ALFA_RawData_charge::ChargeChanVect_number ( ) const
inline

Definition at line 64 of file ALFA_RawData_charge.h.

64 {return m_ChargeChan;}

◆ dataWords()

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

Definition at line 67 of file ALFA_RawData_charge.h.

67 {return &m_dataWords;}

◆ Get_bit12()

bool ALFA_RawData_charge::Get_bit12 ( ) const
inline

Definition at line 61 of file ALFA_RawData_charge.h.

61 {return m_bit12;};

◆ GetChannelNum_PMF()

uint16_t ALFA_RawData_charge::GetChannelNum_PMF ( ) const
inline

Definition at line 52 of file ALFA_RawData_charge.h.

52 {return m_ChannelNumId;};

◆ GetChargeHit()

uint16_t ALFA_RawData_charge::GetChargeHit ( ) const
inline

Definition at line 56 of file ALFA_RawData_charge.h.

56 {return m_ChargeChanId;};

◆ GetEventCount_PMF()

uint32_t ALFA_RawData_charge::GetEventCount_PMF ( ) const
inline

Definition at line 55 of file ALFA_RawData_charge.h.

55 {return m_EventCount;};

◆ GetFiberFirmware_PMF()

uint16_t ALFA_RawData_charge::GetFiberFirmware_PMF ( ) const
inline

Definition at line 54 of file ALFA_RawData_charge.h.

54 {return m_FiberFirmwareId;};

◆ GetMBId_PMF()

uint16_t ALFA_RawData_charge::GetMBId_PMF ( ) const
inline

Definition at line 53 of file ALFA_RawData_charge.h.

53 {return m_MBId;};

◆ GetPMFId_PMF()

uint16_t ALFA_RawData_charge::GetPMFId_PMF ( ) const
inline

Definition at line 51 of file ALFA_RawData_charge.h.

51 {return m_PMFId;};

◆ PushBack_PMF()

void ALFA_RawData_charge::PushBack_PMF ( uint16_t  ChargeChan_number)

Definition at line 77 of file ALFA_RawData_charge.cxx.

77  {
78  m_ChargeChan.push_back(ChargeChan_number);
79 }

◆ SetChannelNum_PMF()

void ALFA_RawData_charge::SetChannelNum_PMF ( uint16_t  Channel_number)

Definition at line 44 of file ALFA_RawData_charge.cxx.

45 {
46  m_ChannelNumId=Channel_number;
47 }

◆ SetChargeChan_PMF()

void ALFA_RawData_charge::SetChargeChan_PMF ( uint16_t  ChargeChan_number)

Definition at line 65 of file ALFA_RawData_charge.cxx.

66 {
67  m_ChargeChanId=ChargeChan_number;
68 }

◆ SetChargeChanVect_PMF()

void ALFA_RawData_charge::SetChargeChanVect_PMF ( const std::vector< uint16_t > &  ChargeChan)

Definition at line 71 of file ALFA_RawData_charge.cxx.

◆ SetEventCount_PMF()

void ALFA_RawData_charge::SetEventCount_PMF ( uint32_t  Event_number)

Definition at line 59 of file ALFA_RawData_charge.cxx.

60 {
61  m_EventCount=Event_number;
62 }

◆ SetFiberFirmware_PMF()

void ALFA_RawData_charge::SetFiberFirmware_PMF ( uint16_t  FiberFirmware_number)

Definition at line 54 of file ALFA_RawData_charge.cxx.

55 {
56  m_FiberFirmwareId=FiberFirmware_number;
57 }

◆ SetMBId_PMF()

void ALFA_RawData_charge::SetMBId_PMF ( uint16_t  MB_number)

Definition at line 49 of file ALFA_RawData_charge.cxx.

50 {
51  m_MBId=MB_number;
52 }

◆ SetPMFId_PMF()

void ALFA_RawData_charge::SetPMFId_PMF ( uint16_t  PMF_number)

Definition at line 39 of file ALFA_RawData_charge.cxx.

40 {
41  m_PMFId=PMF_number;
42 }

◆ SetZero_PMF()

void ALFA_RawData_charge::SetZero_PMF ( )

Definition at line 88 of file ALFA_RawData_charge.cxx.

89 {
90  m_PMFId=0;
92  m_MBId=0;
93  m_EventCount=0;
95  m_bit12=false;
96  m_ChargeChan.clear();
97  m_dataWords.clear();
98 }

Member Data Documentation

◆ m_bit12

bool ALFA_RawData_charge::m_bit12
private

Definition at line 78 of file ALFA_RawData_charge.h.

◆ m_ChannelNumId

uint16_t ALFA_RawData_charge::m_ChannelNumId
private

Definition at line 72 of file ALFA_RawData_charge.h.

◆ m_ChargeChan

std::vector<uint16_t> ALFA_RawData_charge::m_ChargeChan
private

Definition at line 79 of file ALFA_RawData_charge.h.

◆ m_ChargeChanId

uint16_t ALFA_RawData_charge::m_ChargeChanId
private

Definition at line 77 of file ALFA_RawData_charge.h.

◆ m_dataWords

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

Definition at line 83 of file ALFA_RawData_charge.h.

◆ m_EventCount

uint32_t ALFA_RawData_charge::m_EventCount
private

Definition at line 76 of file ALFA_RawData_charge.h.

◆ m_FiberFirmwareId

uint16_t ALFA_RawData_charge::m_FiberFirmwareId
private

Definition at line 75 of file ALFA_RawData_charge.h.

◆ m_MBId

uint16_t ALFA_RawData_charge::m_MBId
private

Definition at line 74 of file ALFA_RawData_charge.h.

◆ m_PMFId

uint16_t ALFA_RawData_charge::m_PMFId
private

Definition at line 73 of file ALFA_RawData_charge.h.


The documentation for this class was generated from the following files:
ALFA_RawData_charge::m_MBId
uint16_t m_MBId
Definition: ALFA_RawData_charge.h:74
ALFA_RawData_charge::m_dataWords
std::vector< uint32_t > m_dataWords
Definition: ALFA_RawData_charge.h:83
ALFA_RawData_charge::m_PMFId
uint16_t m_PMFId
Definition: ALFA_RawData_charge.h:73
ALFA_RawData_charge::m_ChargeChanId
uint16_t m_ChargeChanId
Definition: ALFA_RawData_charge.h:77
ALFA_RawData_charge::ChargeChanVect_number
const std::vector< uint16_t > & ChargeChanVect_number() const
Definition: ALFA_RawData_charge.h:64
ALFA_RawData_charge::m_ChannelNumId
uint16_t m_ChannelNumId
Definition: ALFA_RawData_charge.h:72
ALFA_RawData_charge::m_FiberFirmwareId
uint16_t m_FiberFirmwareId
Definition: ALFA_RawData_charge.h:75
ALFA_RawData_charge::m_bit12
bool m_bit12
Definition: ALFA_RawData_charge.h:78
ALFA_RawData_charge::m_EventCount
uint32_t m_EventCount
Definition: ALFA_RawData_charge.h:76
ALFA_RawData_charge::m_ChargeChan
std::vector< uint16_t > m_ChargeChan
Definition: ALFA_RawData_charge.h:79