6 #ifndef XAOD_ANALYSIS // Full Athena only
21 const std::vector< uint32_t >&
vec ) {
27 return ( ( ( word >> (
index % 32 ) ) & 0
x1 ) != 0 );
33 m_eventInfoKey(oldEventInfoKey){
41 std::map<unsigned, LVL1CTP::Lvl1Item>& itemsCache,
42 std::unordered_map<std::string, const LVL1CTP::Lvl1Item*>& itemsByName)
const {
44 uint32_t L1SIZE = level1TriggerInfo.size()/3;
45 std::vector<uint32_t>::const_iterator
begin,
end;
47 begin = level1TriggerInfo.begin();
49 std::advance(
end,L1SIZE);
50 std::vector<uint32_t> tbp(
begin,
end);
53 std::advance(
end,L1SIZE);
57 std::advance(
end,L1SIZE);
58 std::vector<uint32_t> tav(
begin,
end);
60 itemsByName.reserve( itemsByName.size() + itemsCache.size() );
61 for (
auto [ctpid,
item] : itemsCache ) {
67 passBP, passAP, passAV,
68 item.prescaleFactor());
69 item = std::move (itemNew);
72 return StatusCode::SUCCESS;
77 std::map<unsigned, HLT::Chain>& cache,
78 std::unordered_map<std::string, const HLT::Chain*>&
output)
const {
80 for(
auto& [cntr,
chain] : cache){
93 chain.setDecisions(
true,
100 chain.setDecisions(
false,
108 return StatusCode::SUCCESS;
112 const EventContext& ctx,
113 std::unordered_map<std::string, const LVL1CTP::Lvl1Item*>& itemsByName,
114 std::map<CTPID, LVL1CTP::Lvl1Item>& itemsCache,
115 std::unordered_map<std::string, const HLT::Chain*>& l2chainsByName,
116 std::map<CHAIN_COUNTER, HLT::Chain>& l2chainsCache,
117 std::unordered_map<std::string, const HLT::Chain*>& efchainsByName,
118 std::map<CHAIN_COUNTER, HLT::Chain>& efchainsCache,
139 if (!unpackHLT)
return StatusCode::SUCCESS;
143 l2chainsByName.clear();
146 if (
unpackChains(level2TriggerInfo, l2chainsCache, l2chainsByName).isFailure() ) {
151 efchainsByName.clear();
154 if (
unpackChains(eventFilterInfo, efchainsCache, efchainsByName).isFailure() ) {
158 return StatusCode::SUCCESS;
163 ATH_MSG_WARNING(
"This is the EventInfo Unpacker, there is no Navigation available -- but someone seems to try to access features triggering a navi unpacking");
164 return StatusCode::SUCCESS;
169 #endif // full Athena env