ATLAS Offline Software
TileRawChannelCollection.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TileRawChannelCollection_H
6 #define TileRawChannelCollection_H
7 
10 
11 class TileRawChannelCollection : public TileRawDataCollection<TileRawChannel>
12 {
14 public:
15 
17  typedef MyBase::ID ID;
19 
21  : MyBase(id,ownPolicy),
22  m_FragGlobalCRC(0),
23  m_FragDSPBCID(0xDEAD),
24  m_FragBCID(0),
25  m_FragMemoryPar(0),
26  m_FragSstrobe(0),
27  m_FragDstrobe(0),
28  m_FragHeaderBit(0),
29  m_FragHeaderPar(0),
30  m_FragSampleBit(0),
31  m_FragSamplePar(0),
32  m_FragFEChipMask(0xFFFF),
33  m_FragRODChipMask(0xFFFF)
34  { }
35  // Alternate constructor for use with ConstDataVector.
38  { }
40  : MyBase(ownPolicy),
41  m_FragGlobalCRC(0),
42  m_FragDSPBCID(0xDEAD),
43  m_FragBCID(0),
44  m_FragMemoryPar(0),
45  m_FragSstrobe(0),
46  m_FragDstrobe(0),
47  m_FragHeaderBit(0),
48  m_FragHeaderPar(0),
49  m_FragSampleBit(0),
50  m_FragSamplePar(0),
51  m_FragFEChipMask(0xFFFF),
52  m_FragRODChipMask(0xFFFF)
53  { }
54 
55 
62 
69 
70 
72 
76  void clear ();
77 
81  void setFragGlobalCRC(uint32_t globalcrc) { m_FragGlobalCRC = globalcrc; }
84  void setFragMemoryPar(uint32_t memorypar) { m_FragMemoryPar = memorypar; }
85  void setFragSstrobe(uint32_t sstrobe) { m_FragSstrobe = sstrobe; }
86  void setFragDstrobe(uint32_t dstrobe) { m_FragDstrobe = dstrobe; }
87  void setFragHeaderBit(uint32_t headerbit) { m_FragHeaderBit = headerbit; }
88  void setFragHeaderPar(uint32_t headerpar) { m_FragHeaderPar = headerpar; }
89  void setFragSampleBit(uint32_t samplebit) { m_FragSampleBit = samplebit; }
90  void setFragSamplePar(uint32_t samplepar) { m_FragSamplePar = samplepar; }
91  void setFragFEChipMask(uint32_t fechipmask) { m_FragFEChipMask = fechipmask; }
92  void setFragRODChipMask(uint32_t rodchipmask) { m_FragRODChipMask = rodchipmask; }
93 
97  inline uint32_t getFragGlobalCRC() const { return m_FragGlobalCRC; }
98  inline uint32_t getFragDSPBCID() const { return m_FragDSPBCID; }
99  inline uint32_t getFragBCID() const { return m_FragBCID; }
100  inline uint32_t getFragMemoryPar() const { return m_FragMemoryPar; }
101  inline uint32_t getFragSstrobe() const { return m_FragSstrobe; }
102  inline uint32_t getFragDstrobe() const { return m_FragDstrobe; }
103  inline uint32_t getFragHeaderBit() const { return m_FragHeaderBit; }
104  inline uint32_t getFragHeaderPar() const { return m_FragHeaderPar; }
105  inline uint32_t getFragSampleBit() const { return m_FragSampleBit; }
106  inline uint32_t getFragSamplePar() const { return m_FragSamplePar; }
107  inline uint32_t getFragFEChipMask() const { return m_FragFEChipMask; }
108  inline uint32_t getFragRODChipMask() const { return m_FragRODChipMask; }
109 
110  private:
111 
124 
125 };
126 
128 
129 #endif
130 
TileRawChannel.h
TileRawChannelCollection::setFragFEChipMask
void setFragFEChipMask(uint32_t fechipmask)
Definition: TileRawChannelCollection.h:91
TileRawChannelCollection::m_FragBCID
uint32_t m_FragBCID
Definition: TileRawChannelCollection.h:114
TileRawChannelCollection::getFragSampleBit
uint32_t getFragSampleBit() const
Definition: TileRawChannelCollection.h:105
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
TileRawChannelCollection::MyBase
TileRawDataCollection< TileRawChannel > MyBase
Definition: TileRawChannelCollection.h:16
TileRawChannelCollection::m_FragHeaderPar
uint32_t m_FragHeaderPar
Definition: TileRawChannelCollection.h:119
TileRawChannelCollection::getFragHeaderPar
uint32_t getFragHeaderPar() const
Definition: TileRawChannelCollection.h:104
TileRawChannelCollection::setFragGlobalCRC
void setFragGlobalCRC(uint32_t globalcrc)
Various set methods.
Definition: TileRawChannelCollection.h:81
TileRawChannelCollection::setFragHeaderPar
void setFragHeaderPar(uint32_t headerpar)
Definition: TileRawChannelCollection.h:88
TileRawChannelCollection::getFragDstrobe
uint32_t getFragDstrobe() const
Definition: TileRawChannelCollection.h:102
TileRawDataCollection< TileRawChannel >::ID
int ID
Definition: TileRawDataCollection.h:43
TileRawDataCollection.h
TileRawChannelCollection::m_FragMemoryPar
uint32_t m_FragMemoryPar
Definition: TileRawChannelCollection.h:115
TileRawChannelCollection::getFragBCID
uint32_t getFragBCID() const
Definition: TileRawChannelCollection.h:99
TileRawChannelCollection::m_FragSampleBit
uint32_t m_FragSampleBit
Definition: TileRawChannelCollection.h:120
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition: OwnershipPolicy.h:16
TileRawChannelCollection::m_FragGlobalCRC
uint32_t m_FragGlobalCRC
Definition: TileRawChannelCollection.h:112
TileRawChannelCollection::getFragMemoryPar
uint32_t getFragMemoryPar() const
Definition: TileRawChannelCollection.h:100
TileRawChannelContainerCnv
Definition: TileRawChannelContainerCnv.h:14
TileRawChannelCollection::ID
MyBase::ID ID
Definition: TileRawChannelCollection.h:17
TileRawChannelCollection::m_FragHeaderBit
uint32_t m_FragHeaderBit
Definition: TileRawChannelCollection.h:118
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition: OwnershipPolicy.h:17
TileRawChannelCollection::m_FragSstrobe
uint32_t m_FragSstrobe
Definition: TileRawChannelCollection.h:116
TileRawChannel
Definition: TileRawChannel.h:35
TileRawDataCollection
Definition: TileRawDataCollection.h:37
TileRawChannelCollection::m_FragFEChipMask
uint32_t m_FragFEChipMask
Definition: TileRawChannelCollection.h:122
TileRawChannelCollection::setFragSamplePar
void setFragSamplePar(uint32_t samplepar)
Definition: TileRawChannelCollection.h:90
TileRawChannelCollection::~TileRawChannelCollection
~TileRawChannelCollection()
Definition: TileRawChannelCollection.h:71
TileRawChannelCollection::getFragSstrobe
uint32_t getFragSstrobe() const
Definition: TileRawChannelCollection.h:101
TileRawChannelCollection::setFragDSPBCID
void setFragDSPBCID(uint32_t bcid)
Definition: TileRawChannelCollection.h:82
TileRawChannelCollection::TileRawChannelCollection
TileRawChannelCollection(ID id, SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Definition: TileRawChannelCollection.h:20
TileRawChannelCollection::m_FragDstrobe
uint32_t m_FragDstrobe
Definition: TileRawChannelCollection.h:117
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:220
TileRawChannelCollection
Definition: TileRawChannelCollection.h:12
TileRawChannelCollection::setFragHeaderBit
void setFragHeaderBit(uint32_t headerbit)
Definition: TileRawChannelCollection.h:87
TileRawChannelCollection::getFragRODChipMask
uint32_t getFragRODChipMask() const
Definition: TileRawChannelCollection.h:108
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133
TileRawChannelCollection::TileRawChannelCollection
TileRawChannelCollection(TileRawChannelCollection &&other)=default
Move constructor.
TileRawChannelCollection::TElement
TileRawChannel TElement
Definition: TileRawChannelCollection.h:18
TileRawChannelCollection::getFragHeaderBit
uint32_t getFragHeaderBit() const
Definition: TileRawChannelCollection.h:103
TileRawChannelCollection::clear
void clear()
Clear everything for next event.
Definition: TileRawChannelCollection.cxx:52
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
TileRawChannelCollection::m_FragDSPBCID
uint32_t m_FragDSPBCID
Definition: TileRawChannelCollection.h:113
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
TileRawChannelCollection::m_FragRODChipMask
uint32_t m_FragRODChipMask
Definition: TileRawChannelCollection.h:123
TileRawChannelCollection::getFragSamplePar
uint32_t getFragSamplePar() const
Definition: TileRawChannelCollection.h:106
TileRawChannelCollection::setFragSstrobe
void setFragSstrobe(uint32_t sstrobe)
Definition: TileRawChannelCollection.h:85
TileRawChannelCollection::setFragDstrobe
void setFragDstrobe(uint32_t dstrobe)
Definition: TileRawChannelCollection.h:86
TileRawChannelCollection::setFragRODChipMask
void setFragRODChipMask(uint32_t rodchipmask)
Definition: TileRawChannelCollection.h:92
DataVector< TileRawChannel >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
Return the ownership policy setting for this container.
TileRawChannelCollection::m_FragSamplePar
uint32_t m_FragSamplePar
Definition: TileRawChannelCollection.h:121
TileRawChannelCollection::getFragFEChipMask
uint32_t getFragFEChipMask() const
Definition: TileRawChannelCollection.h:107
TileRawChannelCollection::getFragGlobalCRC
uint32_t getFragGlobalCRC() const
Various get methods.
Definition: TileRawChannelCollection.h:97
TileRawChannelCollection::setFragSampleBit
void setFragSampleBit(uint32_t samplebit)
Definition: TileRawChannelCollection.h:89
TileRawChannelCollection::getFragDSPBCID
uint32_t getFragDSPBCID() const
Definition: TileRawChannelCollection.h:98
TileRawChannelCollection::setFragMemoryPar
void setFragMemoryPar(uint32_t memorypar)
Definition: TileRawChannelCollection.h:84
TileRawChannelCollection::TileRawChannelCollection
TileRawChannelCollection(SG::OwnershipPolicy ownPolicy, ID id)
Definition: TileRawChannelCollection.h:36
TileRawChannelCollection::TileRawChannelCollection
TileRawChannelCollection(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Definition: TileRawChannelCollection.h:39
TileRawChannelCollection::setFragBCID
void setFragBCID(uint32_t bcid)
Definition: TileRawChannelCollection.h:83