|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TileDigitsCollection_H
6 #define TileDigitsCollection_H
36 const std::vector<uint32_t>& fragChipCRCWords,
const std::vector<uint32_t>& fragChipCRCWordsHIGH,
37 const std::vector<uint32_t>& fragChipHeaderWords,
const std::vector<uint32_t>& fragChipHeaderWordsHIGH,
38 const std::vector<uint32_t>& fragExtraWords,
uint32_t fragSize,
uint32_t fragBCID)
const std::vector< uint32_t > & getFragExtraWords() const
Get Frag extra words for this collection.
std::vector< uint32_t > m_FragChipHeaderWords
Header words from Frag data, one word for each chip LOW gain if calib mode.
void setFragChipHeaderWords(const std::vector< uint32_t > &chipHWords)
Set chip header words for this collection If calib mode, this must be LOW gain headers.
std::vector< uint32_t > m_FragChipCRCWordsHIGH
CRC words from Frag data, HIGH gain if in calib mode.
const std::vector< uint32_t > & getFragChipCRCWordsHigh() const
High gain CRC.
void setFragChipCRCWordsHigh(std::vector< uint32_t > &&chipCRCWordsH)
void setFragExtraWords(const std::vector< uint32_t > &extra)
Set vector of extra words for this collection.
void setFragSize(uint32_t s)
Set Frag size.
void setFragChipHeaderWordsHigh(std::vector< uint32_t > &&chipHWordsH)
bool isCalibMode() const
Check if this Collection holds data from calibration mode.
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
const std::vector< uint32_t > & getFragChipCRCWords() const
Get chip CRC words for collection If calib mode, LOW gain CRC.
uint32_t m_FragSize
Size of drawer fragment.
uint32_t getFragExtraWord(unsigned int i) const
uint32_t getFragDMUMask() const
Get Frag DMU mask for this collection.
@ OWN_ELEMENTS
this data object owns its elements
uint32_t getFragSize() const
Get Frag size.
TileDigitsCollection(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
std::vector< uint32_t > m_FragChipCRCWords
CRC words from Frag data, one word for each chip LOW gain if calib mode.
TileDigitsCollection(ID id, SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
void setFragChipCRCWords(std::vector< uint32_t > &&chipCRCWords)
void clear()
Clear everything for next event.
void setFragChipHeaderWordsHigh(const std::vector< uint32_t > &chipHWordsH)
Header words in calib mode.
uint32_t getFragCRC() const
Set CRC word for collection.
TileDigitsCollection(SG::OwnershipPolicy ownPolicy, ID id, uint32_t lvl1Id, uint32_t lvl1Type, uint32_t detEvType, uint32_t rodBCID, const std::vector< uint32_t > &fragChipCRCWords, const std::vector< uint32_t > &fragChipCRCWordsHIGH, const std::vector< uint32_t > &fragChipHeaderWords, const std::vector< uint32_t > &fragChipHeaderWordsHIGH, const std::vector< uint32_t > &fragExtraWords, uint32_t fragSize, uint32_t fragBCID)
setEventNumber setTimeStamp bcid
void setFragBCID(uint32_t bcid)
Set BCID.
uint32_t getFragBCID() const
Get BCID.
void setFragChipCRCWordsHigh(const std::vector< uint32_t > &chipCRCWordsH)
High gain CRC.
void setFragChipCRCWords(const std::vector< uint32_t > &chipCRCWords)
Set chip CRC words for collection If calib mode, this is LOW gain CRC.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
void setFragChipHeaderWords(std::vector< uint32_t > &&chipHWords)
SG::OwnershipPolicy ownPolicy() const
Return the ownership policy setting for this container.
uint32_t getFragStatus() const
TileDigitsCollection(TileDigitsCollection &&other)=default
Move constructor.
const std::vector< uint32_t > & getFragChipHeaderWordsHigh() const
High gain headers.
TileDigitsCollection(SG::OwnershipPolicy ownPolicy, ID id)
const std::vector< uint32_t > & getFragChipHeaderWords() const
Get chip headers for this collcetion If calib mode, this is LOW gain headers.
size_type size() const noexcept
Returns the number of elements in the collection.
std::vector< uint32_t > m_FragExtraWords
all extra words from the trailer of the drawer fragment first two words are always DMU Mask and CRC w...
void setFragExtraWords(std::vector< uint32_t > &&extra)
TileRawDataCollection< TileDigits > MyBase
std::vector< uint32_t > m_FragChipHeaderWordsHIGH
Header words from Frag data, one word for each chip HIGH gain if calib mode.