14#define BOOST_TEST_MODULE ITSMFT ITSMFTCAWriterContract
15#define BOOST_TEST_MAIN
16#define BOOST_TEST_DYN_LINK
17#include <boost/test/unit_test.hpp>
31bool hasInput(
const std::vector<InputSpec>& specs,
const std::string&
binding)
33 return std::any_of(specs.begin(), specs.end(), [&
binding](
const InputSpec& s) { return s.binding == binding; });
38 if (
a.name !=
b.name ||
a.inputs.size() !=
b.inputs.size() ||
a.outputs.size() !=
b.outputs.size()) {
41 for (
size_t i = 0;
i <
a.inputs.size(); ++
i) {
79 BOOST_CHECK(!hasInput(spec.inputs,
"trackSeedPat"));
Vertex-free ITS common-CA track writer. Writes a distinct file (o2trac_its_ca.root) with no vertex br...
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
Defining ITS Vertex explicitly as messageable.
o2::framework::DataProcessorSpec getTrackWriterSpec(bool useMC)
Write ITS CA tracks to o2trac_its_ca.root without vertex branches.
o2::framework::DataProcessorSpec getTrackWriterSpec(bool useMC, bool useCA=false)
Write MFT tracks to a ROOT file.
static std::string describe(InputSpec const &spec)
BOOST_AUTO_TEST_CASE(ITSWriterSpecContract)
BOOST_CHECK_EQUAL(triggersD.size(), triggers.size())