![]() |
Project
|
#include <boost/test/unit_test.hpp>#include <boost/mpl/list.hpp>#include <fstream>#include "MCHRawDecoder/DataDecoder.h"#include "MCHRawEncoderDigit/DigitRawEncoder.h"#include "DataFormatsMCH/Digit.h"#include "Framework/Logger.h"#include <boost/test/data/test_case.hpp>#include <boost/test/data/monomorphic.hpp>#include <array>#include "MCHMappingInterface/Segmentation.h"#include "MCHRawCommon/CoDecParam.h"Go to the source code of this file.
Classes | |
| struct | DePadId |
Macros | |
| #define | BOOST_TEST_MODULE Test MCHRaw ClosureDigit |
| #define | BOOST_TEST_MAIN |
| #define | BOOST_TEST_DYN_LINK |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const DePadId &dpi) |
| template<typename T > | |
| SampaChannelHandler | handlePacketStoreAsVec (std::vector< T > &result) |
| template<> | |
| SampaChannelHandler | handlePacketStoreAsVec (std::vector< std::string > &result) |
| template<> | |
| SampaChannelHandler | handlePacketStoreAsVec (std::vector< DePadId > &result) |
| void | writeDigits () |
| std::vector< std::byte > | getBuffer (const char *filename) |
| template<typename T > | |
| std::vector< T > | readDigits () |
| BOOST_AUTO_TEST_CASE (WrittenAndReadBackDigitsShouldBeTheSameStringVersion) | |
| BOOST_AUTO_TEST_CASE (WrittenAndReadBackDigitsShouldBeTheSame) | |
Variables | |
| constexpr const char * | sampaClusterFormat = "{}-CH{}-{}" |
| const bool | useDummyElecMap = true |
| #define BOOST_TEST_DYN_LINK |
Definition at line 14 of file testClosureCoDecDigit.cxx.
| #define BOOST_TEST_MAIN |
Definition at line 13 of file testClosureCoDecDigit.cxx.
| #define BOOST_TEST_MODULE Test MCHRaw ClosureDigit |
Definition at line 12 of file testClosureCoDecDigit.cxx.
| BOOST_AUTO_TEST_CASE | ( | WrittenAndReadBackDigitsShouldBeTheSame | ) |
Definition at line 172 of file testClosureCoDecDigit.cxx.
| BOOST_AUTO_TEST_CASE | ( | WrittenAndReadBackDigitsShouldBeTheSameStringVersion | ) |
Definition at line 138 of file testClosureCoDecDigit.cxx.
| std::vector< std::byte > getBuffer | ( | const char * | filename | ) |
Definition at line 111 of file testClosureCoDecDigit.cxx.
| SampaChannelHandler handlePacketStoreAsVec | ( | std::vector< DePadId > & | result | ) |
Definition at line 69 of file testClosureCoDecDigit.cxx.
| SampaChannelHandler handlePacketStoreAsVec | ( | std::vector< std::string > & | result | ) |
Definition at line 61 of file testClosureCoDecDigit.cxx.
| SampaChannelHandler handlePacketStoreAsVec | ( | std::vector< T > & | result | ) |
| std::ostream & operator<< | ( | std::ostream & | os, |
| const DePadId & | dpi | ||
| ) |
Definition at line 50 of file testClosureCoDecDigit.cxx.
| std::vector< T > readDigits | ( | ) |
Definition at line 128 of file testClosureCoDecDigit.cxx.
| void writeDigits | ( | ) |
Definition at line 81 of file testClosureCoDecDigit.cxx.
|
constexpr |
Definition at line 31 of file testClosureCoDecDigit.cxx.
| const bool useDummyElecMap = true |
Definition at line 32 of file testClosureCoDecDigit.cxx.