ATLAS Offline Software
ALFA_RawDataCollection_charge.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ALFA_RAWDATACOLLECTION_CHARGE_H
6 #define ALFA_RAWDATACOLLECTION_CHARGE_H
7 
11 
12 #include<stdint.h>
13 
18 class ALFA_RawDataCollection_charge : public DataVector<ALFA_RawData_charge>
19 {
20 
21  private:
22 
23  //Motherboard id
25  //Mrod id
27  //Event counter
29  //Hit store for one PMF
30  std::vector<ALFA_RawData_charge> m_POT_DATA;
31  //Time Stamp
33  //Bunch Crossing ID
35 
36  public:
37  //typedef
39 
40 
43 
44 
47 
49  ALFA_RawDataCollection_charge(uint16_t Mrod_number, uint16_t MB_number);
50 
52 
53  // set data members
54 
55  void SetMBId_POT(uint16_t MB_number) ;
56  void SetMrodId_POT(uint16_t Mrod_number) ;
57  void SetEventCount_POT(uint32_t Event_number);
58  void PushBack_POT(const ALFA_RawData_charge& PMF_HIT);
59 
61  void SetBCId_POT(uint32_t BCId);
62 
63  void SetZero_POT();
64 
65  // Methods to access the decoded information
66 
67  uint16_t GetMBId_POT() const {return m_MBId_POT;};
68  uint16_t GetMrodId_POT() const {return m_MrodId_POT;};
70 
72  uint32_t GetBCId_POT() const {return m_BCId_POT;};
73 
74  const std::vector<ALFA_RawData_charge>& Get_POT_DATA() const {return m_POT_DATA;};
75  ALFA_RawData_charge Get_POT_PMF_DATA(uint32_t Numpmf) const {return m_POT_DATA[Numpmf];};
76 
77 
78 };
79 
80 CLASS_DEF( ALFA_RawDataCollection_charge , 1210134863 , 1 )
81 
82 
83 #endif // ALFA_RAWDATACOLLECTION_CHARGE_H
84 
ALFA_RawDataCollection_charge::GetBCId_POT
uint32_t GetBCId_POT() const
Definition: ALFA_RawDataCollection_charge.h:72
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::~ALFA_RawDataCollection_charge
virtual ~ALFA_RawDataCollection_charge()
Definition: ALFA_RawDataCollection_charge.h:51
ALFA_RawDataCollection_charge
RDOs : Chamber Service Module, collection of RawData.
Definition: ALFA_RawDataCollection_charge.h:19
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::GetTimeStamp_POT
uint32_t GetTimeStamp_POT() const
Definition: ALFA_RawDataCollection_charge.h:71
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::GetMBId_POT
uint16_t GetMBId_POT() const
Definition: ALFA_RawDataCollection_charge.h:67
ALFA_RawDataCollection_charge::m_POT_DATA
std::vector< ALFA_RawData_charge > m_POT_DATA
Definition: ALFA_RawDataCollection_charge.h:30
ALFA_RawData_charge.h
ALFA_RawDataCollection_charge::Get_POT_DATA
const std::vector< ALFA_RawData_charge > & Get_POT_DATA() const
Definition: ALFA_RawDataCollection_charge.h:74
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:88
ALFA_RawDataCollection_charge::GetEventCount_POT
uint32_t GetEventCount_POT() const
Definition: ALFA_RawDataCollection_charge.h:69
ALFA_RawDataCollection_charge::m_EventCount_POT
uint32_t m_EventCount_POT
Definition: ALFA_RawDataCollection_charge.h:28
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
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::DIGIT
ALFA_RawData_charge DIGIT
Definition: ALFA_RawDataCollection_charge.h:38
ALFA_RawDataCollection_charge::Get_POT_PMF_DATA
ALFA_RawData_charge Get_POT_PMF_DATA(uint32_t Numpmf) const
Definition: ALFA_RawDataCollection_charge.h:75
ALFA_RawDataCollection_charge::SetMBId_POT
void SetMBId_POT(uint16_t MB_number)
Definition: ALFA_RawDataCollection_charge.cxx:43
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
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
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
ALFA_RawDataCollection_charge::GetMrodId_POT
uint16_t GetMrodId_POT() const
Definition: ALFA_RawDataCollection_charge.h:68
CLASS_DEF.h
macros to associate a CLID to a type
ALFA_RawDataCollection_charge::m_BCId_POT
uint32_t m_BCId_POT
Definition: ALFA_RawDataCollection_charge.h:34