ATLAS Offline Software
Loading...
Searching...
No Matches
offline_eformat::v40 Namespace Reference

Classes

class  FullEventFragment
 Describes how to access the contents of an event fragment, as prescribed by the event format note. More...
class  Header
 Contains the information on the Header of a fragment as described by the original note. More...
class  ROBFragment
 Describes how to access the contents of a subdetector fragment, as prescribed by the event format note. More...

Functions

uint32_t convert_to_40 (const uint32_t *src, uint32_t *dest, uint32_t max, eformat::CheckSum, eformat::CheckSum)

Function Documentation

◆ convert_to_40()

uint32_t offline_eformat::v40::convert_to_40 ( const uint32_t * src,
uint32_t * dest,
uint32_t max,
eformat::CheckSum ,
eformat::CheckSum  )

Definition at line 13 of file v40_util.cxx.

16{
17
18 // just copy it to destination
19 auto size = src[1];
20 if (size > max) {
21 throw EFORMAT_BLOCK_SIZE_TOO_SMALL(size, max);
22 }
23 std::copy(src, src+size, dest);
24 return size;
25}
#define max(a, b)
Definition cfImp.cxx:41