14 :
EL::AnaAlgorithm(
name, svcLoc),
15 m_trigDecisionTool(
"Trig::TrigDecisionTool/TrigDecisionTool")
22 if (m_trigList.empty()) {
24 return StatusCode::FAILURE;
29 if (!m_selectionDecoration.empty()) {
30 for (
const std::string &
chain : m_trigList) {
37 return StatusCode::SUCCESS;
44 if (m_trigList.empty()) {
46 return StatusCode::SUCCESS;
52 for (
size_t i = 0;
i < m_trigList.size();
i++) {
53 bool trigPassed = m_noL1.value()
54 ? m_trigDecisionTool->isPassed(m_trigList[
i], TrigDefs::requireDecision)
55 : m_trigDecisionTool->isPassed(m_trigList[
i]);
56 if (!m_selectionDecoration.empty()) {
57 m_selectionAccessors[
i](*evtInfo) = trigPassed;
63 return StatusCode::SUCCESS;
70 return StatusCode::SUCCESS;