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"));
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error s
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())