ATLAS Offline Software
ForwardDetectors
ALFA
ALFA_RawEv
src
ALFA_RawDataCollection_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
5
#include "
ALFA_RawEv/ALFA_RawDataCollection_charge.h
"
6
//#include "GaudiKernel/MsgStream.h"
7
8
// Default constructor
9
ALFA_RawDataCollection_charge::ALFA_RawDataCollection_charge
() :
10
DataVector
<
ALFA_RawData_charge
>(),
11
m_MBId_POT(0),
12
m_MrodId_POT(0),
13
m_EventCount_POT(0),
14
m_POT_DATA(),
15
m_TimeStamp_POT(0),
16
m_BCId_POT(0)
17
{ }
18
19
// Full constructor
20
ALFA_RawDataCollection_charge::ALFA_RawDataCollection_charge
(
uint16_t
MB_number) :
21
DataVector
<
ALFA_RawData_charge
>(),
22
m_MBId_POT(MB_number),
23
m_MrodId_POT(0),
24
m_EventCount_POT(0),
25
m_POT_DATA(),
26
m_TimeStamp_POT(0),
27
m_BCId_POT(0)
28
{ }
29
30
// Full constructor
31
ALFA_RawDataCollection_charge::ALFA_RawDataCollection_charge
(
uint16_t
Mrod_number,
uint16_t
MB_number) :
32
DataVector
<
ALFA_RawData_charge
>(),
33
m_MBId_POT(MB_number),
34
m_MrodId_POT(Mrod_number),
35
m_EventCount_POT(0),
36
m_POT_DATA(),
37
m_TimeStamp_POT(0),
38
m_BCId_POT(0)
39
{ }
40
41
42
43
void
ALFA_RawDataCollection_charge::SetMBId_POT
(
uint16_t
MB_number)
44
{
45
m_MBId_POT
=MB_number;
46
}
47
48
49
void
ALFA_RawDataCollection_charge::SetMrodId_POT
(
uint16_t
Mrod_number)
50
{
51
m_MrodId_POT
=Mrod_number;
52
}
53
54
55
void
ALFA_RawDataCollection_charge::SetEventCount_POT
(
uint32_t
Event_number)
56
{
57
m_EventCount_POT
=Event_number;
58
}
59
60
void
ALFA_RawDataCollection_charge::SetTimeStamp_POT
(
uint32_t
TimeStamp
)
61
{
62
m_TimeStamp_POT
=
TimeStamp
;
63
}
64
65
void
ALFA_RawDataCollection_charge::SetBCId_POT
(
uint32_t
BCId)
66
{
67
m_BCId_POT
=BCId;
68
}
69
70
void
ALFA_RawDataCollection_charge::PushBack_POT
(
const
ALFA_RawData_charge
& PMF_HIT)
71
{
72
m_POT_DATA
.push_back(PMF_HIT);
73
}
74
75
76
void
ALFA_RawDataCollection_charge::SetZero_POT
()
77
{
78
79
m_MBId_POT
= 0;
// MB number
80
81
m_MrodId_POT
= 0;
// Mrodnumber
82
83
m_EventCount_POT
=0;
84
m_TimeStamp_POT
=0;
85
m_BCId_POT
=0;
86
87
m_POT_DATA
.clear();
88
}
89
python.CaloScaleNoiseConfig.TimeStamp
TimeStamp
Definition:
CaloScaleNoiseConfig.py:87
ALFA_RawDataCollection_charge::SetEventCount_POT
void SetEventCount_POT(uint32_t Event_number)
Definition:
ALFA_RawDataCollection_charge.cxx:55
ALFA_RawDataCollection_charge::m_MBId_POT
uint16_t m_MBId_POT
Definition:
ALFA_RawDataCollection_charge.h:24
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
ALFA_RawDataCollection_charge::PushBack_POT
void PushBack_POT(const ALFA_RawData_charge &PMF_HIT)
Definition:
ALFA_RawDataCollection_charge.cxx:70
ALFA_RawDataCollection_charge::SetMrodId_POT
void SetMrodId_POT(uint16_t Mrod_number)
Definition:
ALFA_RawDataCollection_charge.cxx:49
ALFA_RawDataCollection_charge::m_TimeStamp_POT
uint32_t m_TimeStamp_POT
Definition:
ALFA_RawDataCollection_charge.h:32
ALFA_RawDataCollection_charge::m_POT_DATA
std::vector< ALFA_RawData_charge > m_POT_DATA
Definition:
ALFA_RawDataCollection_charge.h:30
ALFA_RawDataCollection_charge::SetTimeStamp_POT
void SetTimeStamp_POT(uint32_t TimeStamp)
Definition:
ALFA_RawDataCollection_charge.cxx:60
ALFA_RawData_charge
Definition:
ALFA_RawData_charge.h:21
xAOD::uint16_t
setWord1 uint16_t
Definition:
eFexEMRoI_v1.cxx:93
ALFA_RawDataCollection_charge::m_EventCount_POT
uint32_t m_EventCount_POT
Definition:
ALFA_RawDataCollection_charge.h:28
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
ALFA_RawDataCollection_charge::SetBCId_POT
void SetBCId_POT(uint32_t BCId)
Definition:
ALFA_RawDataCollection_charge.cxx:65
ALFA_RawDataCollection_charge::ALFA_RawDataCollection_charge
ALFA_RawDataCollection_charge()
Default constructor.
Definition:
ALFA_RawDataCollection_charge.cxx:9
ALFA_RawDataCollection_charge::SetMBId_POT
void SetMBId_POT(uint16_t MB_number)
Definition:
ALFA_RawDataCollection_charge.cxx:43
ALFA_RawDataCollection_charge::SetZero_POT
void SetZero_POT()
Definition:
ALFA_RawDataCollection_charge.cxx:76
ALFA_RawDataCollection_charge::m_MrodId_POT
uint16_t m_MrodId_POT
Definition:
ALFA_RawDataCollection_charge.h:26
ALFA_RawDataCollection_charge.h
ALFA_RawDataCollection_charge::m_BCId_POT
uint32_t m_BCId_POT
Definition:
ALFA_RawDataCollection_charge.h:34
Generated on Sun Dec 22 2024 21:06:49 for ATLAS Offline Software by
1.8.18