![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONTGC_CNVTOOLS_TGCBYTESTREAMDATA_H
6 #define MUONTGC_CNVTOOLS_TGCBYTESTREAMDATA_H
8 #include "GaudiKernel/ISvcLocator.h"
9 #include "GaudiKernel/Bootstrap.h"
10 #include "GaudiKernel/MsgStream.h"
11 #include "GaudiKernel/IMessageSvc.h"
320 return reinterpret_cast<DEST*
>(ptr);
335 if(
counter.id != (
unsigned int)
id)
338 ISvcLocator* svcLocator = Gaudi::svcLocator();
340 if(!
sc.isFailure()) {
341 MsgStream
log(
msgSvc,
"Muon TgcByteStreamData fragmentCount");
342 log << MSG::ERROR <<
"Requested count of frament " <<
id <<
", data is for fragment " <<
counter.id <<
endmsg;
356 return (
uint32_t)((high8 << 24) | (highmid8 << 16) | (lowmid8 << 8) |
low8);
361 return (
bcTag == 1 ? 4 :
367 inline unsigned bcTag(
unsigned bcBitMap)
369 return (bcBitMap == 4 ? 1 :
375 #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()
msgSvc
Provide convenience handles for various services.
::StatusCode StatusCode
StatusCode definition for legacy code.
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)
uint16_t bcId(uint32_t data)
void fromBS16(uint16_t data, T &s)
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()