|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONTGC_CNVTOOLS_TGCBYTESTREAMDATA_H
6 #define MUONTGC_CNVTOOLS_TGCBYTESTREAMDATA_H
317 return reinterpret_cast<DEST*
>(
ptr);
332 if(
counter.id != (
unsigned int)
id)
335 <<
"Requested count of frament " <<
id <<
", data is for fragment " <<
counter.id <<
endmsg;
348 return (
uint32_t)((high8 << 24) | (highmid8 << 16) | (lowmid8 << 8) |
low8);
353 return (
bcTag == 1 ? 4 :
359 inline unsigned bcTag(
unsigned bcBitMap)
361 return (bcBitMap == 4 ? 1 :
367 #endif // MUONTGC_CNVTOOLS_TGCBYTESTREAMDATA_H
TGC_BYTESTREAM_READOUTTRIPLETSTRIP()
TGC_BYTESTREAM_NSL_EIFI()
TGC_BYTESTREAM_RPCBIS78_COIN()
char data[hepevt_bytes_allocation_ATLAS]
const uint32_t TGC_BYTESTREAM_STATUSSIZE
The struct for errors in ByteStream.
uint32_t from8(uint8_t high8, uint8_t highmid8, uint8_t lowmid8, uint8_t low8)
TGC_BYTESTREAM_NSL_HIPT()
uint16_t high16(uint32_t data)
TGC_BYTESTREAM_NSL_TMDB()
const uint32_t TGC_BYTESTREAM_HEADERSIZE
TGC_BYTESTREAM_SOURCEID()
unsigned mergedTrackletBCs
TGC_BYTESTREAM_HIPT_INNER()
int fragmentCount(uint32_t data, int id)
DEST * my_pointer_cast(SRC *src)
end of structs for NewSL
The struct for triplet strip in ByteStream.
uint8_t low8(uint32_t data)
The struct for tracklet in ByteStream.
The struct for HiPt in ByteStream.
The struct for source ID in ByteStream.
TGC_BYTESTREAM_RPCBIS78_POS()
TGC_BYTESTREAM_LOCALSTATUS()
void fromBS32(uint32_t data, T &s)
The struct for hit in ByteStream.
uint32_t from16(uint16_t high16, uint16_t low16)
The struct for Inner trigger bits in ByteStream.
TGC_BYTESTREAM_READOUTTRACKLET()
unsigned bcBitmap(uint16_t bcTag)
#define REPORT_MESSAGE_WITH_CONTEXT(LVL, CONTEXT_NAME)
Report a message, with an explicitly specified context name.
uint16_t bcId(uint32_t data)
void fromBS16(uint16_t data, T &s)
Helpers for checking error return status codes and reporting errors.
The struct for local status in ByteStream.
uint16_t low16(uint32_t data)
The struct for SL in ByteStream.
const uint32_t TGC_BYTESTREAM_HEADERVERSION
unsigned bcTag(unsigned bcBitMap)
const uint32_t TGC_BYTESTREAM_HEADER
The struct for fragment count in ByteStream.
TGC_BYTESTREAM_READOUTHIT()