![]() |
Project
|
#include <boost/test/unit_test.hpp>
#include "DataFormatsMCH/Digit.h"
#include "SimulationDataFormat/MCCompLabel.h"
#include "DigitMerging.h"
#include "boost/format.hpp"
#include <boost/test/data/test_case.hpp>
#include <fstream>
#include <iomanip>
#include <iostream>
Go to the source code of this file.
Macros | |
#define | BOOST_TEST_MODULE Test MCHSimulation DigitMerging |
#define | BOOST_TEST_DYN_LINK |
Functions | |
std::vector< Digit > | createNonOverlappingDigits () |
std::vector< o2::MCCompLabel > | createLabelsNonOverlappingDigits () |
std::vector< Digit > | createOverlappingDigits () |
std::vector< o2::MCCompLabel > | createLabelsOverlappingDigits () |
std::vector< Digit > | expected () |
std::vector< o2::MCCompLabel > | labelexpected () |
BOOST_DATA_TEST_CASE (DigitMergingIdentity, boost::unit_test::data::make(mergingFunctions()), mergingFunction) | |
BOOST_DATA_TEST_CASE (DigitMerging, boost::unit_test::data::make(mergingFunctions()), mergingFunction) | |
#define BOOST_TEST_DYN_LINK |
Definition at line 13 of file testDigitMerging.cxx.
#define BOOST_TEST_MODULE Test MCHSimulation DigitMerging |
Definition at line 12 of file testDigitMerging.cxx.
BOOST_DATA_TEST_CASE | ( | DigitMerging | , |
boost::unit_test::data::make(mergingFunctions()) | , | ||
mergingFunction | |||
) |
Definition at line 98 of file testDigitMerging.cxx.
BOOST_DATA_TEST_CASE | ( | DigitMergingIdentity | , |
boost::unit_test::data::make(mergingFunctions()) | , | ||
mergingFunction | |||
) |
Definition at line 91 of file testDigitMerging.cxx.
std::vector< o2::MCCompLabel > createLabelsNonOverlappingDigits | ( | ) |
Definition at line 37 of file testDigitMerging.cxx.
std::vector< o2::MCCompLabel > createLabelsOverlappingDigits | ( | ) |
Definition at line 59 of file testDigitMerging.cxx.
std::vector< Digit > createNonOverlappingDigits | ( | ) |
Definition at line 28 of file testDigitMerging.cxx.
std::vector< Digit > createOverlappingDigits | ( | ) |
Definition at line 46 of file testDigitMerging.cxx.
std::vector< Digit > expected | ( | ) |
Definition at line 73 of file testDigitMerging.cxx.
std::vector< o2::MCCompLabel > labelexpected | ( | ) |
Definition at line 82 of file testDigitMerging.cxx.