Project
Loading...
Searching...
No Matches
testRawReaderWriter.cxx File Reference
#include <algorithm>
#include <string>
#include <iostream>
#include <fstream>
#include <TRandom.h>
#include <boost/test/unit_test.hpp>
#include "SimulationDataFormat/InteractionSampler.h"
#include "DetectorsRaw/HBFUtils.h"
#include "DetectorsRaw/RDHUtils.h"
#include "DetectorsRaw/RawFileWriter.h"
#include "DetectorsRaw/RawFileReader.h"
#include "CommonConstants/Triggers.h"
#include "Framework/Logger.h"
#include "Framework/InputRecord.h"
#include "Headers/DataHeaderHelpers.h"
#include "DPLUtils/DPLRawParser.h"
#include "CommonUtils/StringUtils.h"

Go to the source code of this file.

Classes

struct  o2::TestRawWriter
 
struct  o2::TestRawReader
 

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 

Macros

#define BOOST_TEST_MODULE   Test RawReaderWriter class
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_DYN_LINK
 

Typedefs

using o2::IR = o2::InteractionRecord
 
using o2::RDHAny = header::RDHAny
 

Functions

 o2::BOOST_AUTO_TEST_CASE (RawReaderWriter_CRU)
 
 o2::BOOST_AUTO_TEST_CASE (RawReaderWriter_RORC)
 

Variables

constexpr int o2::NCRU = 3 + 1
 
constexpr int o2::NLinkPerCRU = 4
 
constexpr std::array< int, NLinkPerCRUo2::SpecSize = {512, 1024, 8192, 8192}
 
constexpr int o2::NPreformHBFPerTF = 32
 
const std::string o2::PLHeader = "HEADER "
 
const std::string o2::PLTrailer = "TRAILER "
 
const std::string o2::HBFEmpty = "EMPTY_HBF "
 
const std::string o2::CFGName = "testRawReadWrite"
 
int o2::nPreformatPages = 0
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 14 of file testRawReaderWriter.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 13 of file testRawReaderWriter.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Test RawReaderWriter class

Definition at line 12 of file testRawReaderWriter.cxx.