ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigHypothesis
TrigHLTJetHypo
src
TrigJetHypoAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef TrigHLTJetHypo_TrigJetHypoAlg_H
5
#define TrigHLTJetHypo_TrigJetHypoAlg_H
6
7
8
#include "
xAODJet/JetContainer.h
"
9
#include "
DecisionHandling/HypoBase.h
"
10
#include "
TrigJetHypoTool.h
"
11
#include <string>
12
17
class
TrigJetHypoAlg
:
public
::HypoBase
{
18
public
:
19
20
TrigJetHypoAlg
(
const
std::string& name, ISvcLocator* pSvcLocator );
21
22
virtual
StatusCode
initialize
()
override
;
23
virtual
StatusCode
execute
(
const
EventContext& context )
const override
;
24
25
private
:
26
38
39
StatusCode
decide
(
const
xAOD::JetContainer
* jets,
40
const
TrigCompositeUtils::Decision
* previousDecision,
41
TrigCompositeUtils::DecisionContainer
* outputDecisions,
42
const
EventContext& context
43
)
const
;
44
45
46
ToolHandleArray<TrigJetHypoTool>
m_hypoTools
{
47
this
,
"HypoTools"
, {},
"Hypo tools"
};
48
49
SG::ReadHandleKey< xAOD::JetContainer >
m_jetsKey
{
50
this
,
"Jets"
,
"Jets"
,
"jet container key, full scan"
};
51
52
// For preselection, we want to only generate one decision object
53
// a la L1, rather than one per jet
54
Gaudi::Property<bool>
m_doPresel
{
55
this
,
"DoPresel"
,
false
,
"is this preselection rather than main decision?"
};
56
57
};
58
59
#endif
HypoBase.h
JetContainer.h
TrigJetHypoTool.h
HypoBase::HypoBase
HypoBase(const std::string &name, ISvcLocator *pSvcLocator)
constructor, to be called by sub-class constructors
Definition
HypoBase.cxx:12
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
TrigJetHypoAlg::m_doPresel
Gaudi::Property< bool > m_doPresel
Definition
TrigJetHypoAlg.h:54
TrigJetHypoAlg::TrigJetHypoAlg
TrigJetHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TrigJetHypoAlg.cxx:15
TrigJetHypoAlg::initialize
virtual StatusCode initialize() override
Definition
TrigJetHypoAlg.cxx:20
TrigJetHypoAlg::decide
StatusCode decide(const xAOD::JetContainer *jets, const TrigCompositeUtils::Decision *previousDecision, TrigCompositeUtils::DecisionContainer *outputDecisions, const EventContext &context) const
Populate outputDecisions and run all HypoTools over the jet collection.
Definition
TrigJetHypoAlg.cxx:87
TrigJetHypoAlg::m_jetsKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetsKey
Definition
TrigJetHypoAlg.h:49
TrigJetHypoAlg::execute
virtual StatusCode execute(const EventContext &context) const override
Definition
TrigJetHypoAlg.cxx:35
TrigJetHypoAlg::m_hypoTools
ToolHandleArray< TrigJetHypoTool > m_hypoTools
Definition
TrigJetHypoAlg.h:46
TrigCompositeUtils::Decision
xAOD::TrigComposite Decision
Definition
TrigComposite.h:20
TrigCompositeUtils::DecisionContainer
xAOD::TrigCompositeContainer DecisionContainer
Definition
TrigCompositeContainer.h:21
xAOD::JetContainer
JetContainer_v1 JetContainer
Definition of the current "jet container version".
Definition
JetContainer.h:17
Generated on
for ATLAS Offline Software by
1.17.0