Project
Loading...
Searching...
No Matches
testDigitMerging.cxx File Reference
#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< DigitcreateNonOverlappingDigits ()
 
std::vector< o2::MCCompLabelcreateLabelsNonOverlappingDigits ()
 
std::vector< DigitcreateOverlappingDigits ()
 
std::vector< o2::MCCompLabelcreateLabelsOverlappingDigits ()
 
std::vector< Digitexpected ()
 
std::vector< o2::MCCompLabellabelexpected ()
 
 BOOST_DATA_TEST_CASE (DigitMergingIdentity, boost::unit_test::data::make(mergingFunctions()), mergingFunction)
 
 BOOST_DATA_TEST_CASE (DigitMerging, boost::unit_test::data::make(mergingFunctions()), mergingFunction)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 13 of file testDigitMerging.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Test MCHSimulation DigitMerging

Definition at line 12 of file testDigitMerging.cxx.

Function Documentation

◆ BOOST_DATA_TEST_CASE() [1/2]

BOOST_DATA_TEST_CASE ( DigitMerging  ,
boost::unit_test::data::make(mergingFunctions())  ,
mergingFunction   
)

Definition at line 98 of file testDigitMerging.cxx.

◆ BOOST_DATA_TEST_CASE() [2/2]

BOOST_DATA_TEST_CASE ( DigitMergingIdentity  ,
boost::unit_test::data::make(mergingFunctions())  ,
mergingFunction   
)

Definition at line 91 of file testDigitMerging.cxx.

◆ createLabelsNonOverlappingDigits()

std::vector< o2::MCCompLabel > createLabelsNonOverlappingDigits ( )

Definition at line 37 of file testDigitMerging.cxx.

◆ createLabelsOverlappingDigits()

std::vector< o2::MCCompLabel > createLabelsOverlappingDigits ( )

Definition at line 59 of file testDigitMerging.cxx.

◆ createNonOverlappingDigits()

std::vector< Digit > createNonOverlappingDigits ( )

Definition at line 28 of file testDigitMerging.cxx.

◆ createOverlappingDigits()

std::vector< Digit > createOverlappingDigits ( )

Definition at line 46 of file testDigitMerging.cxx.

◆ expected()

std::vector< Digit > expected ( )

Definition at line 73 of file testDigitMerging.cxx.

◆ labelexpected()

std::vector< o2::MCCompLabel > labelexpected ( )

Definition at line 82 of file testDigitMerging.cxx.