ATLAS Offline Software
TileRawChannelCollection.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 /*
5  */
15 
16 
25  m_FragGlobalCRC (other.m_FragGlobalCRC),
26  m_FragDSPBCID (other.m_FragDSPBCID),
27  m_FragBCID (other.m_FragBCID),
28  m_FragMemoryPar (other.m_FragMemoryPar),
29  m_FragSstrobe (other.m_FragSstrobe),
30  m_FragDstrobe (other.m_FragDstrobe),
31  m_FragHeaderBit (other.m_FragHeaderBit),
32  m_FragHeaderPar (other.m_FragHeaderPar),
33  m_FragSampleBit (other.m_FragSampleBit),
34  m_FragSamplePar (other.m_FragSamplePar),
35  m_FragFEChipMask (other.m_FragFEChipMask),
36  m_FragRODChipMask (other.m_FragRODChipMask)
37 {
38  // Copy flags from the base class.
39  setLvl1Id (other.getLvl1Id());
40  setLvl1Type (other.getLvl1Type());
41  setDetEvType (other.getDetEvType());
42  setRODBCID (other.getRODBCID());
43 
44  // Copy the collection contents.
45  reserve (other.size());
46  for (const TileRawChannel* chan : other) {
47  push_back (std::make_unique<TileRawChannel> (*chan));
48  }
49 }
50 
51 
53 {
54  m_FragGlobalCRC = 0;
55  m_FragBCID = 0;
56  m_FragMemoryPar = 0;
57  m_FragSstrobe = 0;
58  m_FragDstrobe = 0;
59  m_FragHeaderBit = 0;
60  m_FragHeaderPar = 0;
61  m_FragSampleBit = 0;
62  m_FragSamplePar = 0;
63  m_FragFEChipMask = 0xFFFF;
64  m_FragRODChipMask = 0xFFFF;
65  m_FragDSPBCID = 0xDEAD;
66 
68 }
69 
DataVector< TileRawChannel >::reserve
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
TileRawChannelCollection.h
TileRawDataCollection< TileRawChannel >::setRODBCID
void setRODBCID(uint32_t rodBCID)
Setter for BCID from ROD header.
Definition: TileRawDataCollection.h:104
TileRawDataCollection< TileRawChannel >::setDetEvType
void setDetEvType(uint32_t detEvType)
Setter for detector event type from ROD header.
Definition: TileRawDataCollection.h:98
TileRawChannelCollection::m_FragBCID
uint32_t m_FragBCID
Definition: TileRawChannelCollection.h:114
TileRawChannelCollection::m_FragHeaderPar
uint32_t m_FragHeaderPar
Definition: TileRawChannelCollection.h:119
TileRawChannelCollection::m_FragMemoryPar
uint32_t m_FragMemoryPar
Definition: TileRawChannelCollection.h:115
TileRawChannelCollection::m_FragSampleBit
uint32_t m_FragSampleBit
Definition: TileRawChannelCollection.h:120
TileRawChannelCollection::m_FragGlobalCRC
uint32_t m_FragGlobalCRC
Definition: TileRawChannelCollection.h:112
TileRawChannelCollection::m_FragHeaderBit
uint32_t m_FragHeaderBit
Definition: TileRawChannelCollection.h:118
ReadCellNoiseFromCool.chan
chan
Definition: ReadCellNoiseFromCool.py:52
TileRawDataCollection< TileRawChannel >::clear
virtual void clear()
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::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
TileRawChannelCollection
Definition: TileRawChannelCollection.h:12
DataVector< TileRawChannel >::push_back
value_type push_back(value_type pElem)
Add an element to the end of the collection.
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
TileRawChannelCollection::m_FragRODChipMask
uint32_t m_FragRODChipMask
Definition: TileRawChannelCollection.h:123
TileRawChannelCollection::m_FragSamplePar
uint32_t m_FragSamplePar
Definition: TileRawChannelCollection.h:121
TileRawDataCollection< TileRawChannel >::setLvl1Id
void setLvl1Id(uint32_t lvl1Id)
Setter for level1 id from ROD header.
Definition: TileRawDataCollection.h:86
TileRawDataCollection< TileRawChannel >::setLvl1Type
void setLvl1Type(uint32_t lvl1Type)
Setter for level1 type from ROD header.
Definition: TileRawDataCollection.h:92