19#ifndef COMPRESULTEVENT_H
20#define COMPRESULTEVENT_H
23#include "ResultSampler.hh"
37 std::vector<std::string> offendingBranches;
38 std::vector<ResultSampler> samplerResults;
40 virtual std::string
print()
const
44 ss <<
"Offending branches: ";
45 for (
const auto& branchName : offendingBranches)
46 {ss << branchName <<
" ";}
47 ss <<
"\nOffending samplers: ";
48 for (
const auto& samplerResult : samplerResults)
50 if (!samplerResult.passed)
51 {ss << samplerResult.print();}
Result of comparison of single entry of an Event tree in BDSIM output.
virtual std::string print() const
Print the result of the test - ie information store in the class.
virtual std::string print() const
Print the result of the test - ie information store in the class.