ATLAS Offline Software
IDecisionUnpacker.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 
8 #ifndef TRIG_IDECISIONUNPACKER_H
9 #define TRIG_IDECISIONUNPACKER_H
10 
12 #include <map>
13 #include <unordered_map>
14 #include <string>
15 
18 
19 class EventContext;
20 
21 namespace HLT {
22  class TrigNavStructure;
23 }
24 
25 namespace LVL1CTP{
26  class Lvl1Item;
27 }
28 
29 namespace Trig{
31  public:
32  typedef unsigned CTPID;
33  typedef unsigned CHAIN_COUNTER;
34  IDecisionUnpacker() = default;
35  virtual ~IDecisionUnpacker() = default;
36  virtual StatusCode unpackDecision(const EventContext&,
37  std::unordered_map<std::string, const LVL1CTP::Lvl1Item*>&,
38  std::map<CTPID, LVL1CTP::Lvl1Item>& itemsCache,
39  std::unordered_map<std::string, const HLT::Chain*>&,
40  std::map<CHAIN_COUNTER, HLT::Chain>&,
41  std::unordered_map<std::string, const HLT::Chain*>&,
42  std::map<CHAIN_COUNTER, HLT::Chain>&,
43  char&,
44  bool
45  ) const = 0;
46  virtual StatusCode unpackNavigation(const EventContext&, HLT::TrigNavStructure*) const = 0;
47  };
48 } //end of Trig namespace
49 
50 #endif
Trig
The common trigger namespace for trigger analysis tools.
Definition: CaloTowerVecMon.h:44
Trig::IDecisionUnpacker
Definition: IDecisionUnpacker.h:30
Trig::IDecisionUnpacker::IDecisionUnpacker
IDecisionUnpacker()=default
Trig::IDecisionUnpacker::~IDecisionUnpacker
virtual ~IDecisionUnpacker()=default
Trig::IDecisionUnpacker::CTPID
unsigned CTPID
Definition: IDecisionUnpacker.h:32
Trig::IDecisionUnpacker::CHAIN_COUNTER
unsigned CHAIN_COUNTER
Definition: IDecisionUnpacker.h:33
HLT::TrigNavStructure
Definition: TrigNavStructure.h:40
Trig::IDecisionUnpacker::unpackDecision
virtual StatusCode unpackDecision(const EventContext &, std::unordered_map< std::string, const LVL1CTP::Lvl1Item * > &, std::map< CTPID, LVL1CTP::Lvl1Item > &itemsCache, 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 =0
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
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Chain.h
StatusCode.h
Trig::IDecisionUnpacker::unpackNavigation
virtual StatusCode unpackNavigation(const EventContext &, HLT::TrigNavStructure *) const =0
LVL1CTP
Definition: Lvl1ResultAccessTool.h:20