28 using namespace fhicl;
30 using namespace string_literals;
54 std::vector<HLTPathStatus>
bit;
64 for (
auto const& element : strings) {
65 ost << element <<
" ";
73 for (
unsigned int i = 0; i < tr.
bit.size(); ++i) {
94 int number_of_trigger_paths = 0;
95 std::vector<unsigned char> bitArray;
98 for (
unsigned int b = 0;
b < tr.
bit.size(); ++
b) {
104 if ((number_of_trigger_paths % 4) == 0)
105 bitArray.push_back(0);
106 int byteIndex = number_of_trigger_paths / 4;
107 int subIndex = number_of_trigger_paths % 4;
108 bitArray[byteIndex] |= (
static_cast<unsigned char>(bm.state(
b)))
110 ++number_of_trigger_paths;
115 ParameterSetRegistry::put(trigger_pset);
121 <<
"failed to compare pathspecs with trigger results using pset ID: " 122 <<
"correct=" << ans <<
" " 123 <<
"results=" << std::boolalpha << result <<
"\n" 124 <<
"pathspecs =" << path_specifiers <<
"\n" 125 <<
"trigger results = " << tr <<
"\n";
std::vector< std::string > Strings
static constexpr ScheduleID first()
std::vector< std::string > PathSpecifiers
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
std::ostream & operator<<(std::ostream &os, const GroupSelector &gs)
std::vector< HLTPathStatus > bit
Strings const trigger_path_names
void evSelTest(PathSpecifiers const &path_specifiers, TrigResults const &tr, bool ans)
TrigResults(std::initializer_list< HLTPathStatus > status)
ParameterSetID id() const
HLTPathStatus const & at(unsigned const i) const
std::vector< std::string > Strings
hlt::HLTState state() const
void put(std::string const &key)