6 #include "cetlib_except/exception.h" 16 class TestResultAnalyzer;
35 ,
dump_{
ps.get<
bool>(
"dump",
false)}
38 consumesMany<art::TriggerResults>();
44 typedef std::vector<art::Handle<art::TriggerResults>> Trig;
50 if (prod.size() > 1) {
52 <<
"More than one trigger result in the event, using first one.";
55 if (prod[0]->accept())
64 if (numbits != prod[0]->size()) {
66 <<
"Should have " << numbits <<
", got " << prod[0]->size()
67 <<
" in TriggerResults\n";
TestResultAnalyzer(fhicl::ParameterSet const &)
void analyze(art::Event const &e) override
EDAnalyzer(fhicl::ParameterSet const &pset)
#define DEFINE_ART_MODULE(klass)
void getManyByType(std::vector< Handle< PROD >> &results) const
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
MaybeLogger_< ELseverityLevel::ELsev_severe, true > LogAbsolute
cet::coded_exception< error, detail::translate > exception