ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAnalysis
TrigDecisionTool
TrigDecisionTool
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
8
#include "
TrigConfHLTData/HLTChain.h
"
9
#include "
TrigConfL1Data/CTPConfig.h
"
10
#include "
TrigSteeringEvent/Chain.h
"
11
#include "
TrigSteeringEvent/Lvl1Item.h
"
12
13
#include "
TrigDecisionTool/IDecisionUnpacker.h
"
14
#include "
TrigDecisionTool/Logger.h
"
15
16
#include "
AsgDataHandles/ReadHandleKey.h
"
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
30
class
DecisionUnpackerEventInfo
:
public
IDecisionUnpacker
,
public
Logger
{
31
public
:
32
DecisionUnpackerEventInfo
(
const
SG::ReadHandleKey<EventInfo>
* oldEventInfoKey);
33
virtual
~DecisionUnpackerEventInfo
();
34
35
DecisionUnpackerEventInfo
(
const
DecisionUnpackerEventInfo
&) =
delete
;
36
DecisionUnpackerEventInfo
&
operator=
(
const
DecisionUnpackerEventInfo
&) =
delete
;
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
:
51
const
SG::ReadHandleKey<EventInfo>
*
m_eventInfoKey
{
nullptr
};
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
CTPConfig.h
Chain.h
IDecisionUnpacker.h
Lvl1Item.h
HLTChain.h
Logger.h
HLT::TrigNavStructure
Definition
TrigNavStructure.h:40
LVL1CTP::Lvl1Result
Definition
Lvl1Result.h:30
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
Trig::DecisionUnpackerEventInfo::unpackNavigation
virtual StatusCode unpackNavigation(const EventContext &, HLT::TrigNavStructure *) const override
Definition
DecisionUnpackerEventInfo.cxx:161
Trig::DecisionUnpackerEventInfo::m_eventInfoKey
const SG::ReadHandleKey< EventInfo > * m_eventInfoKey
Definition
DecisionUnpackerEventInfo.h:51
Trig::DecisionUnpackerEventInfo::operator=
DecisionUnpackerEventInfo & operator=(const DecisionUnpackerEventInfo &)=delete
Trig::DecisionUnpackerEventInfo::DecisionUnpackerEventInfo
DecisionUnpackerEventInfo(const SG::ReadHandleKey< EventInfo > *oldEventInfoKey)
Definition
DecisionUnpackerEventInfo.cxx:32
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::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::DecisionUnpackerEventInfo
DecisionUnpackerEventInfo(const DecisionUnpackerEventInfo &)=delete
Trig::DecisionUnpackerEventInfo::~DecisionUnpackerEventInfo
virtual ~DecisionUnpackerEventInfo()
Definition
DecisionUnpackerEventInfo.cxx:36
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::IDecisionUnpacker
IDecisionUnpacker()=default
Trig::Logger::Logger
Logger()=default
HLT
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Definition
HLTResultReader.h:26
LVL1CTP
Definition
Lvl1ResultAccessTool.h:20
Trig
The common trigger namespace for trigger analysis tools.
Definition
LArCellMonAlg.h:33
Generated on
for ATLAS Offline Software by
1.17.0