ATLAS Offline Software
Loading...
Searching...
No Matches
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
10#include "TrigJetHypoTool.h"
11#include <string>
12
17class 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,
42 const EventContext& context
43 ) const;
44
45
46 ToolHandleArray<TrigJetHypoTool> m_hypoTools {
47 this, "HypoTools", {}, "Hypo tools"};
48
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(const std::string &name, ISvcLocator *pSvcLocator)
constructor, to be called by sub-class constructors
Definition HypoBase.cxx:12
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< bool > m_doPresel
TrigJetHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
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.
SG::ReadHandleKey< xAOD::JetContainer > m_jetsKey
virtual StatusCode execute(const EventContext &context) const override
ToolHandleArray< TrigJetHypoTool > m_hypoTools
JetContainer_v1 JetContainer
Definition of the current "jet container version".