ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigEvent
TrigBSExtraction
TrigBSExtraction
TrigBSExtraction.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGBSEXTRACTION_TRIGBSEXTRACTION_H
6
#define TRIGBSEXTRACTION_TRIGBSEXTRACTION_H
7
8
#include "GaudiKernel/ToolHandle.h"
9
#include "
AthenaBaseComps/AthAlgorithm.h
"
10
#include "
StoreGate/ReadHandleKey.h
"
11
#include "
StoreGate/ReadHandleKeyArray.h
"
12
#include "
StoreGate/WriteHandleKey.h
"
13
#include "
StoreGate/WriteHandleKeyArray.h
"
14
15
#include "
TrigNavigation/Navigation.h
"
16
#include "
TrigSteeringEvent/HLTResult.h
"
17
18
25
26
class
TrigBSExtraction
:
public
AthAlgorithm
{
27
public
:
28
TrigBSExtraction
(
const
std::string& name, ISvcLocator* pSvcLocator);
29
virtual
StatusCode
initialize
()
override
;
30
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
31
32
private
:
40
StatusCode
repackFeaturesToSG
(
const
EventContext& ctx,
41
HLT::Navigation
& navTool,
42
const
SG::ReadHandleKey<HLT::HLTResult>
& key,
43
SG::WriteHandleKey<HLT::HLTResult>
& keyOut,
44
bool
equalize);
45
46
ToolHandle<HLT::Navigation>
m_navToolL2
{
this
,
"NavigationForL2"
,
"HLT::Navigation/NavigationForL2"
,
47
"Navigation tool for Run-1 L2 result"
};
48
ToolHandle<HLT::Navigation>
m_navTool
{
this
,
"Navigation"
,
"HLT::Navigation/Navigation"
,
49
"Navigation tool for EF/HLT result"
};
50
51
SG::ReadHandleKey<HLT::HLTResult>
m_l2ResultKeyIn
{
52
this
,
"L2ResultKeyIn"
,
""
,
"Input key for L2 result (Run-1)"
};
53
SG::WriteHandleKey<HLT::HLTResult>
m_l2ResultKeyOut
{
54
this
,
"L2ResultKeyOut"
,
""
,
"Output key for L2 result (Run-1)"
};
55
56
SG::ReadHandleKey<HLT::HLTResult>
m_hltResultKeyIn
{
57
this
,
"HLTResultKeyIn"
,
"HLTResult_HLT_BS"
,
"Input key for EF/HLT result"
};
58
SG::WriteHandleKey<HLT::HLTResult>
m_hltResultKeyOut
{
59
this
,
"HLTResultKeyOut"
,
"HLTResult_HLT"
,
"Output key for EF/HLT result"
};
60
61
SG::ReadHandleKeyArray<HLT::HLTResult>
m_dataScoutingKeysIn
{
62
this
,
"DSResultKeysIn"
, {},
"Input keys for DataScouting HLT results"
};
63
SG::WriteHandleKeyArray<HLT::HLTResult>
m_dataScoutingKeysOut
{
64
this
,
"DSResultKeysOut"
, {},
"Output keys for DataScouting HLT results"
};
65
};
66
67
68
#endif
// TRIGBSEXTRACTION_TRIGBSEXTRACTION_H
AthAlgorithm.h
HLTResult.h
Navigation.h
ReadHandleKeyArray.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
WriteHandleKeyArray.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
HLT::Navigation
The Navigation class, organizes TriggerElements into the tree structure.
Definition
Navigation.h:100
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
TrigBSExtraction::m_hltResultKeyIn
SG::ReadHandleKey< HLT::HLTResult > m_hltResultKeyIn
Definition
TrigBSExtraction.h:56
TrigBSExtraction::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
TrigBSExtraction.cxx:52
TrigBSExtraction::m_hltResultKeyOut
SG::WriteHandleKey< HLT::HLTResult > m_hltResultKeyOut
Definition
TrigBSExtraction.h:58
TrigBSExtraction::m_navToolL2
ToolHandle< HLT::Navigation > m_navToolL2
Definition
TrigBSExtraction.h:46
TrigBSExtraction::TrigBSExtraction
TrigBSExtraction(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TrigBSExtraction.cxx:12
TrigBSExtraction::repackFeaturesToSG
StatusCode repackFeaturesToSG(const EventContext &ctx, HLT::Navigation &navTool, const SG::ReadHandleKey< HLT::HLTResult > &key, SG::WriteHandleKey< HLT::HLTResult > &keyOut, bool equalize)
method which does loop over objects
Definition
TrigBSExtraction.cxx:77
TrigBSExtraction::m_dataScoutingKeysOut
SG::WriteHandleKeyArray< HLT::HLTResult > m_dataScoutingKeysOut
Definition
TrigBSExtraction.h:63
TrigBSExtraction::m_l2ResultKeyIn
SG::ReadHandleKey< HLT::HLTResult > m_l2ResultKeyIn
Definition
TrigBSExtraction.h:51
TrigBSExtraction::initialize
virtual StatusCode initialize() override
Definition
TrigBSExtraction.cxx:18
TrigBSExtraction::m_dataScoutingKeysIn
SG::ReadHandleKeyArray< HLT::HLTResult > m_dataScoutingKeysIn
Definition
TrigBSExtraction.h:61
TrigBSExtraction::m_l2ResultKeyOut
SG::WriteHandleKey< HLT::HLTResult > m_l2ResultKeyOut
Definition
TrigBSExtraction.h:53
TrigBSExtraction::m_navTool
ToolHandle< HLT::Navigation > m_navTool
Definition
TrigBSExtraction.h:48
SG::ReadHandleKeyArray
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
Definition
StoreGate/StoreGate/ReadHandleKeyArray.h:32
SG::WriteHandleKeyArray
HandleKeyArray< WriteHandle< T >, WriteHandleKey< T >, Gaudi::DataHandle::Writer > WriteHandleKeyArray
Definition
WriteHandleKeyArray.h:32
Generated on
for ATLAS Offline Software by
1.17.0