ATLAS Offline Software
Classes | Functions
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  }
24  return size;
25 }
WriteCellNoiseToCool.src
src
Definition: WriteCellNoiseToCool.py:513
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
perfmonmt-printer.dest
dest
Definition: perfmonmt-printer.py:189
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
calibdata.copy
bool copy
Definition: calibdata.py:27