ATLAS Offline Software
DecisionUnpackerEventInfo.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIG_DECISIONUNPACKEREVENTINFO_H
6 #define TRIG_DECISIONUNPACKEREVENTINFO_H
7 
12 
15 
17 #include "EventInfo/EventInfo.h"
18 
19 namespace HLT {
20  class TrigNavStructure;
21 }
22 
23 namespace LVL1CTP{
24  class Lvl1Result;
25 }
26 
27 namespace Trig{
28 
29 
31  public:
34 
37 
38  virtual StatusCode unpackDecision(const EventContext&,
39  std::unordered_map<std::string, const LVL1CTP::Lvl1Item*>&,
40  std::map<CTPID, LVL1CTP::Lvl1Item>&,
41  std::unordered_map<std::string, const HLT::Chain*>&,
42  std::map<CHAIN_COUNTER, HLT::Chain>&,
43  std::unordered_map<std::string, const HLT::Chain*>&,
44  std::map<CHAIN_COUNTER, HLT::Chain>&,
45  char&,
46  bool
47  ) const override;
48  virtual StatusCode unpackNavigation(const EventContext&, HLT::TrigNavStructure*) const override;
49 
50  private:
52  StatusCode unpackItems(const std::vector<uint32_t>& level1TriggerInfo,
53  std::map<CTPID, LVL1CTP::Lvl1Item>& itemsCache,
54  std::unordered_map<std::string, const LVL1CTP::Lvl1Item*>& itemsByName) const;
55  StatusCode unpackChains(const std::vector<uint32_t>& chainTriggerInfo,
56  std::map<unsigned, HLT::Chain>& cache,
57  std::unordered_map<std::string, const HLT::Chain*>& output) const;
58 
59  };
60 
61 
62 } //end of Trig namespace
63 
64 #endif
CTPConfig.h
Trig::DecisionUnpackerEventInfo::operator=
DecisionUnpackerEventInfo & operator=(const DecisionUnpackerEventInfo &)=delete
Trig
The common trigger namespace for trigger analysis tools.
Definition: CaloTowerVecMon.h:44
Trig::DecisionUnpackerEventInfo::unpackDecision
virtual StatusCode unpackDecision(const EventContext &, std::unordered_map< std::string, const LVL1CTP::Lvl1Item * > &, std::map< CTPID, LVL1CTP::Lvl1Item > &, std::unordered_map< std::string, const HLT::Chain * > &, std::map< CHAIN_COUNTER, HLT::Chain > &, std::unordered_map< std::string, const HLT::Chain * > &, std::map< CHAIN_COUNTER, HLT::Chain > &, char &, bool) const override
Definition: DecisionUnpackerEventInfo.cxx:111
Trig::IDecisionUnpacker
Definition: IDecisionUnpacker.h:30
Trig::Logger
Logging adaptor to provide interfaces required for ATH_MSG macros.
Definition: Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h:24
HLTChain.h
Trig::DecisionUnpackerEventInfo
Definition: DecisionUnpackerEventInfo.h:30
SG::ReadHandleKey< EventInfo >
HLT::TrigNavStructure
Definition: TrigNavStructure.h:40
Lvl1Item.h
Trig::DecisionUnpackerEventInfo::~DecisionUnpackerEventInfo
virtual ~DecisionUnpackerEventInfo()
Definition: DecisionUnpackerEventInfo.cxx:36
HLT
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Definition: HLTResultReader.h:26
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
Trig::DecisionUnpackerEventInfo::DecisionUnpackerEventInfo
DecisionUnpackerEventInfo(const SG::ReadHandleKey< EventInfo > *oldEventInfoKey)
Definition: DecisionUnpackerEventInfo.cxx:32
Logger.h
Chain.h
merge.output
output
Definition: merge.py:17
Trig::DecisionUnpackerEventInfo::DecisionUnpackerEventInfo
DecisionUnpackerEventInfo(const DecisionUnpackerEventInfo &)=delete
Trig::DecisionUnpackerEventInfo::m_eventInfoKey
const SG::ReadHandleKey< EventInfo > * m_eventInfoKey
Definition: DecisionUnpackerEventInfo.h:51
IDecisionUnpacker.h
LVL1CTP
Definition: Lvl1ResultAccessTool.h:20
Trig::DecisionUnpackerEventInfo::unpackChains
StatusCode unpackChains(const std::vector< uint32_t > &chainTriggerInfo, std::map< unsigned, HLT::Chain > &cache, std::unordered_map< std::string, const HLT::Chain * > &output) const
Definition: DecisionUnpackerEventInfo.cxx:76
Trig::DecisionUnpackerEventInfo::unpackItems
StatusCode unpackItems(const std::vector< uint32_t > &level1TriggerInfo, std::map< CTPID, LVL1CTP::Lvl1Item > &itemsCache, std::unordered_map< std::string, const LVL1CTP::Lvl1Item * > &itemsByName) const
Definition: DecisionUnpackerEventInfo.cxx:40
Trig::DecisionUnpackerEventInfo::unpackNavigation
virtual StatusCode unpackNavigation(const EventContext &, HLT::TrigNavStructure *) const override
Definition: DecisionUnpackerEventInfo.cxx:161