Project
Loading...
Searching...
No Matches
testDigitIOV0.cxx File Reference
#include <boost/test/tools/old/interface.hpp>
#include <sstream>
#include "DigitFileFormat.h"
#include <boost/test/unit_test.hpp>
#include <boost/test/data/test_case.hpp>
#include "DigitIO.h"
#include <algorithm>
#include <fmt/format.h>
#include <fstream>
#include "DataFormatsMCH/Digit.h"
#include "DataFormatsMCH/ROFRecord.h"
#include <cassert>
#include <array>
#include <stdexcept>
#include "DigitSamplerImpl.h"
#include "TestFileV0.h"
#include "DigitD0.h"
#include "IO.h"

Go to the source code of this file.

Classes

struct  V0File
 

Macros

#define BOOST_TEST_MODULE   Test MCHWorkflow DigitsIO - V0
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_DYN_LINK
 

Functions

void bin2cpp (const char *filename="digits.v3.in")
 
 BOOST_AUTO_TEST_CASE (Bin2Cpp)
 
 BOOST_AUTO_TEST_CASE (CheckStructOffsets)
 
 BOOST_AUTO_TEST_CASE (SpotCheckSizesV0)
 
 BOOST_AUTO_TEST_CASE (SpotCheckDumpV0)
 
 BOOST_AUTO_TEST_CASE (SpotCheckDetIDV0)
 
 BOOST_AUTO_TEST_CASE (SpotCheckPadIDV0)
 
 BOOST_AUTO_TEST_CASE (SpotCheckADCV0)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 17 of file testDigitIOV0.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 16 of file testDigitIOV0.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Test MCHWorkflow DigitsIO - V0

Definition at line 15 of file testDigitIOV0.cxx.

Function Documentation

◆ bin2cpp()

void bin2cpp ( const char filename = "digits.v3.in")

Definition at line 38 of file testDigitIOV0.cxx.

◆ BOOST_AUTO_TEST_CASE() [1/7]

BOOST_AUTO_TEST_CASE ( Bin2Cpp  )

Definition at line 81 of file testDigitIOV0.cxx.

◆ BOOST_AUTO_TEST_CASE() [2/7]

BOOST_AUTO_TEST_CASE ( CheckStructOffsets  )

Definition at line 101 of file testDigitIOV0.cxx.

◆ BOOST_AUTO_TEST_CASE() [3/7]

BOOST_AUTO_TEST_CASE ( SpotCheckADCV0  )

Definition at line 148 of file testDigitIOV0.cxx.

◆ BOOST_AUTO_TEST_CASE() [4/7]

BOOST_AUTO_TEST_CASE ( SpotCheckDetIDV0  )

Definition at line 134 of file testDigitIOV0.cxx.

◆ BOOST_AUTO_TEST_CASE() [5/7]

BOOST_AUTO_TEST_CASE ( SpotCheckDumpV0  )

Definition at line 126 of file testDigitIOV0.cxx.

◆ BOOST_AUTO_TEST_CASE() [6/7]

BOOST_AUTO_TEST_CASE ( SpotCheckPadIDV0  )

Definition at line 141 of file testDigitIOV0.cxx.

◆ BOOST_AUTO_TEST_CASE() [7/7]

BOOST_AUTO_TEST_CASE ( SpotCheckSizesV0  )

Definition at line 113 of file testDigitIOV0.cxx.