ATLAS Offline Software
DecisionUnpackerAthena.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_DECISIONUNPACKERATHENA_H
6 #define TRIG_DECISIONUNPACKERATHENA_H
7 
12 
15 
17 
18 namespace TrigDec {
19  class TrigDecision;
20 }
21 
22 namespace HLT {
23  class TrigNavStructure;
24 }
25 
26 namespace LVL1CTP{
27  class Lvl1Result;
28 }
29 
30 namespace Trig{
31 
33  public:
35  virtual ~DecisionUnpackerAthena();
36 
39 
40  virtual StatusCode unpackDecision(const EventContext&,
41  std::unordered_map<std::string, const LVL1CTP::Lvl1Item*>&,
42  std::map<CTPID, LVL1CTP::Lvl1Item>&,
43  std::unordered_map<std::string, const HLT::Chain*>&,
44  std::map<CHAIN_COUNTER, HLT::Chain>&,
45  std::unordered_map<std::string, const HLT::Chain*>&,
46  std::map<CHAIN_COUNTER, HLT::Chain>&,
47  char&,
48  bool
49  ) const override;
50  virtual StatusCode unpackNavigation(const EventContext&, HLT::TrigNavStructure*) const override;
51 
52  private:
55 
57  std::map<CTPID, LVL1CTP::Lvl1Item>&,
58  std::unordered_map<std::string, const LVL1CTP::Lvl1Item*>&) const;
59  StatusCode unpackChains(const std::vector<uint32_t>& serialized_chains,
60  std::map<unsigned, HLT::Chain>& cache,
61  std::unordered_map<std::string, const HLT::Chain*>& output) const;
62  };
63 
64 
65 } //end of Trig namespace
66 
67 #endif
Trig::DecisionUnpackerAthena::~DecisionUnpackerAthena
virtual ~DecisionUnpackerAthena()
Definition: DecisionUnpackerAthena.cxx:20
TrigDec
Definition: ITrigDecisionCnvTool.h:18
CTPConfig.h
Trig::DecisionUnpackerAthena::DecisionUnpackerAthena
DecisionUnpackerAthena(const DecisionUnpackerAthena &)=delete
get_generator_info.result
result
Definition: get_generator_info.py:21
Trig
The common trigger namespace for trigger analysis tools.
Definition: CaloTowerVecMon.h:44
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
SG::ReadHandleKey< TrigDec::TrigDecision >
HLT::TrigNavStructure
Definition: TrigNavStructure.h:40
Trig::DecisionUnpackerAthena::DecisionUnpackerAthena
DecisionUnpackerAthena(const SG::ReadHandleKey< TrigDec::TrigDecision > *olddeckey)
Definition: DecisionUnpackerAthena.cxx:16
Lvl1Item.h
HLT
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Definition: HLTResultReader.h:26
Trig::DecisionUnpackerAthena::unpackNavigation
virtual StatusCode unpackNavigation(const EventContext &, HLT::TrigNavStructure *) const override
Definition: DecisionUnpackerAthena.cxx:132
xAOD::TrigDecision
TrigDecision_v1 TrigDecision
Define the latest version of the trigger decision class.
Definition: Event/xAOD/xAODTrigger/xAODTrigger/TrigDecision.h:16
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::DecisionUnpackerAthena::unpackItems
StatusCode unpackItems(const LVL1CTP::Lvl1Result &result, std::map< CTPID, LVL1CTP::Lvl1Item > &, std::unordered_map< std::string, const LVL1CTP::Lvl1Item * > &) const
Definition: DecisionUnpackerAthena.cxx:24
Logger.h
Chain.h
Trig::DecisionUnpackerAthena::m_deckey
const SG::ReadHandleKey< TrigDec::TrigDecision > * m_deckey
Key of the trigger decision object in the event.
Definition: DecisionUnpackerAthena.h:54
merge.output
output
Definition: merge.py:17
Trig::DecisionUnpackerAthena::unpackChains
StatusCode unpackChains(const std::vector< uint32_t > &serialized_chains, std::map< unsigned, HLT::Chain > &cache, std::unordered_map< std::string, const HLT::Chain * > &output) const
Definition: DecisionUnpackerAthena.cxx:43
LVL1CTP::Lvl1Result
Definition: Lvl1Result.h:32
Trig::DecisionUnpackerAthena::operator=
DecisionUnpackerAthena & operator=(const DecisionUnpackerAthena &)=delete
Trig::DecisionUnpackerAthena
Definition: DecisionUnpackerAthena.h:32
IDecisionUnpacker.h
LVL1CTP
Definition: Lvl1ResultAccessTool.h:20
Trig::DecisionUnpackerAthena::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: DecisionUnpackerAthena.cxx:75