![]() |
Project
|
Test the grouping of MCH digits based on MID information. More...
#include <initializer_list>
#include <utility>
#include <vector>
#include <boost/test/unit_test.hpp>
#include <boost/property_tree/ptree.hpp>
#include "CommonUtils/ConfigurableParam.h"
#include "SimulationDataFormat/MCCompLabel.h"
#include "SimulationDataFormat/MCTruthContainer.h"
#include "DataFormatsMCH/ROFRecord.h"
#include "DataFormatsMCH/Digit.h"
#include "DataFormatsMID/ROFRecord.h"
#include "MCHTriggering/EventFinder.h"
Go to the source code of this file.
Macros | |
#define | BOOST_TEST_MODULE Test MCHTriggering EventFinder |
#define | BOOST_TEST_DYN_LINK |
Typedefs | |
using | ObjLabel = std::pair< uint32_t, o2::MCCompLabel > |
Functions | |
o2::dataformats::MCLabelContainer | createLabels (std::initializer_list< ObjLabel > objLabels) |
template<typename T > | |
void | compare (const std::vector< T > &output, const std::vector< T > &expected) |
void | compare (const o2::dataformats::MCLabelContainer &output, const o2::dataformats::MCLabelContainer &expected) |
BOOST_AUTO_TEST_CASE (TriggerWidth1BC) | |
BOOST_AUTO_TEST_CASE (TriggerWidth4BC) | |
BOOST_AUTO_TEST_CASE (TriggerWidth9BC) | |
BOOST_AUTO_TEST_CASE (TriggerWidth15BC) | |
BOOST_AUTO_TEST_CASE (TriggerWidth4BCShift10BC) | |
Variables | |
std::vector< o2::mch::ROFRecord > | mchROFs |
std::vector< o2::mch::Digit > | mchDigits |
o2::dataformats::MCLabelContainer | mchLabels |
std::vector< o2::mid::ROFRecord > | midROFs |
Test the grouping of MCH digits based on MID information.
Definition in file testEventFinder.cxx.
#define BOOST_TEST_DYN_LINK |
Definition at line 23 of file testEventFinder.cxx.
#define BOOST_TEST_MODULE Test MCHTriggering EventFinder |
Definition at line 22 of file testEventFinder.cxx.
using ObjLabel = std::pair<uint32_t, o2::MCCompLabel> |
Definition at line 42 of file testEventFinder.cxx.
BOOST_AUTO_TEST_CASE | ( | TriggerWidth15BC | ) |
Definition at line 229 of file testEventFinder.cxx.
BOOST_AUTO_TEST_CASE | ( | TriggerWidth1BC | ) |
Definition at line 103 of file testEventFinder.cxx.
BOOST_AUTO_TEST_CASE | ( | TriggerWidth4BC | ) |
Definition at line 139 of file testEventFinder.cxx.
BOOST_AUTO_TEST_CASE | ( | TriggerWidth4BCShift10BC | ) |
Definition at line 269 of file testEventFinder.cxx.
BOOST_AUTO_TEST_CASE | ( | TriggerWidth9BC | ) |
Definition at line 186 of file testEventFinder.cxx.
void compare | ( | const o2::dataformats::MCLabelContainer & | output, |
const o2::dataformats::MCLabelContainer & | expected | ||
) |
Definition at line 91 of file testEventFinder.cxx.
void compare | ( | const std::vector< T > & | output, |
const std::vector< T > & | expected | ||
) |
Definition at line 85 of file testEventFinder.cxx.
o2::dataformats::MCLabelContainer createLabels | ( | std::initializer_list< ObjLabel > | objLabels | ) |
Definition at line 44 of file testEventFinder.cxx.
std::vector<o2::mch::Digit> mchDigits |
Definition at line 59 of file testEventFinder.cxx.
o2::dataformats::MCLabelContainer mchLabels |
Definition at line 68 of file testEventFinder.cxx.
std::vector<o2::mch::ROFRecord> mchROFs |
Definition at line 53 of file testEventFinder.cxx.
std::vector<o2::mid::ROFRecord> midROFs |
Definition at line 79 of file testEventFinder.cxx.