ATLAS Offline Software
ALFA_RawData_charge.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 #include "GaudiKernel/MsgStream.h"
7 
9  m_ChannelNumId(0),
10  m_PMFId(0),
11  m_MBId(0),
12  m_FiberFirmwareId(0),
13  m_EventCount(0),
14  m_ChargeChanId(0),
15  m_bit12(0),
16  m_ChargeChan()
17 {
18 }
19 
21  m_ChannelNumId(0),
22  m_PMFId(PMFId),
23  m_MBId(0),
24  m_FiberFirmwareId(0),
25  m_EventCount(0),
26  m_ChargeChanId(0),
27  m_bit12(0),
28  m_ChargeChan()
29 {
30 }
31 
33 // destructor
36 {
37 }
38 
40 {
41  m_PMFId=PMF_number;
42 }
43 
45 {
46  m_ChannelNumId=Channel_number;
47 }
48 
50 {
51  m_MBId=MB_number;
52 }
53 
55 {
56  m_FiberFirmwareId=FiberFirmware_number;
57 }
58 
60 {
61  m_EventCount=Event_number;
62 }
63 
64 
66 {
67  m_ChargeChanId=ChargeChan_number;
68 }
69 
70 
71 void ALFA_RawData_charge::SetChargeChanVect_PMF(const std::vector<uint16_t>& ChargeChanVect_number)
72 {
74 }
75 
76 
78  m_ChargeChan.push_back(ChargeChan_number);
79 }
80 
81 
83 {
84  m_dataWords.push_back(dataWord);
85 }
86 
87 
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 }
99 
100 
ALFA_RawData_charge::SetChannelNum_PMF
void SetChannelNum_PMF(uint16_t Channel_number)
Definition: ALFA_RawData_charge.cxx:44
ALFA_RawData_charge::m_MBId
uint16_t m_MBId
Definition: ALFA_RawData_charge.h:74
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
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::SetFiberFirmware_PMF
void SetFiberFirmware_PMF(uint16_t FiberFirmware_number)
Definition: ALFA_RawData_charge.cxx:54
ALFA_RawData_charge.h
ALFA_RawData_charge::SetEventCount_PMF
void SetEventCount_PMF(uint32_t Event_number)
Definition: ALFA_RawData_charge.cxx:59
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
ALFA_RawData_charge::SetZero_PMF
void SetZero_PMF()
Definition: ALFA_RawData_charge.cxx:88
ALFA_RawData_charge::addData
void addData(uint32_t dataWord)
Definition: ALFA_RawData_charge.cxx:82
ALFA_RawData_charge::SetPMFId_PMF
void SetPMFId_PMF(uint16_t PMF_number)
Definition: ALFA_RawData_charge.cxx:39
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::~ALFA_RawData_charge
~ALFA_RawData_charge()
Definition: ALFA_RawData_charge.cxx:35
ALFA_RawData_charge::ALFA_RawData_charge
ALFA_RawData_charge()
Definition: ALFA_RawData_charge.cxx:8
ALFA_RawData_charge::PushBack_PMF
void PushBack_PMF(uint16_t ChargeChan_number)
Definition: ALFA_RawData_charge.cxx:77
ALFA_RawData_charge::SetChargeChanVect_PMF
void SetChargeChanVect_PMF(const std::vector< uint16_t > &ChargeChan)
Definition: ALFA_RawData_charge.cxx:71
ALFA_RawData_charge::m_ChannelNumId
uint16_t m_ChannelNumId
Definition: ALFA_RawData_charge.h:72
ALFA_RawData_charge::SetMBId_PMF
void SetMBId_PMF(uint16_t MB_number)
Definition: ALFA_RawData_charge.cxx:49
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::SetChargeChan_PMF
void SetChargeChan_PMF(uint16_t ChargeChan_number)
Definition: ALFA_RawData_charge.cxx:65
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