Go to the source code of this file.
Definition at line 88 of file EventSelExc_t.cpp.
94 int number_of_trigger_paths = 0;
95 std::vector<unsigned char> bitArray;
98 for (
unsigned int b = 0;
b < tr.bit.size(); ++
b) {
99 bm.
at(
b) = (tr.bit[
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);
118 bool const result = selector.acceptEvent(ScheduleID::first(), results_id);
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";
Strings const trigger_path_names
ParameterSetID id() const
HLTPathStatus const & at(unsigned const i) const
std::vector< std::string > Strings
void put(std::string const &key)
Definition at line 131 of file EventSelExc_t.cpp.
std::vector< std::string > PathSpecifiers
void evSelTest(PathSpecifiers const &path_specifiers, TrigResults const &tr, bool ans)
std::ostream& operator<< |
( |
std::ostream & |
ost, |
|
|
const Strings & |
strings |
|
) |
| |
Definition at line 62 of file EventSelExc_t.cpp.
64 for (
auto const& element : strings) {
65 ost << element <<
" ";
std::ostream& operator<< |
( |
std::ostream & |
ost, |
|
|
const TrigResults & |
tr |
|
) |
| |
Definition at line 71 of file EventSelExc_t.cpp.
73 for (
unsigned int i = 0; i < tr.
bit.size(); ++i) {
std::vector< HLTPathStatus > bit
hlt::HLTState state() const
Initial value:{"0:ap1",
"1:ap2",
"2:aq1",
"3:aq2",
"4:bp1",
"5:bp2",
"6:bq1",
"7:bq2"}
Definition at line 39 of file EventSelExc_t.cpp.