ATLAS Offline Software
TrigJetHypoToolConfig_fastreduction.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 TRIGJETHYPOTOOLCONFIG_FASTREDUCTION_H
6 #define TRIGJETHYPOTOOLCONFIG_FASTREDUCTION_H
7 /********************************************************************
8  *
9  * NAME: TrigJetHypoToolConfig_fastreduction.h
10  * PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
11  *
12  *
13  *********************************************************************/
14 
15 
22 
23 #include "./IJetsMatcher.h"
24 #include "./ConditionsDefs.h"
27 
28 
30 public extends<AthAlgTool, ITrigJetHypoToolNoGrouperConfig> {
31 
32  public:
33 
34  TrigJetHypoToolConfig_fastreduction(const std::string& type,
35  const std::string& name,
36  const IInterface* parent);
38 
39  virtual StatusCode initialize() override;
40  virtual std::unique_ptr<IJetsMatcher> getMatcher() const override;
41 
42  virtual std::size_t requiresNJets() const override;
43  virtual StatusCode checkVals() const override;
44 
45 
46  private:
47  ToolHandleArray<ITrigJetRepeatedConditionConfig> m_conditionMakers{
48  this, "conditionMakers", {}, "hypo tree Condition builder AlgTools"};
49 
50  ToolHandleArray<ITrigHypoJetVectorFilterConfig> m_filterMakers{
51  this, "filterMakers", {}, "AlgTools that construct Condition filters"
52  };
53 
54 
55  // indirection to allow non-specification of PassThrough filters.
56  // as requested in ATR-27619
57  Gaudi::Property<std::vector<int>> m_filterMakerInds{
58  this, "filterMakerInds", {}, "Indicies into m_filterMakers"
59  };
60 
61  Gaudi::Property<std::vector<std::size_t>> m_treeVec{
62  this, "treeVector", {}, "integer sequence representation of jet hypo tree"};
63 
64  Gaudi::Property<std::vector<int>> m_leafNodes{
65  this, "leafVector", {}, "node ids for leaf nodes"};
66 
68 
69  // function to obtain the filters associated with the leaf conditions
70  std::vector<FilterPtr> getFilters() const;
71 
72 
73 };
74 #endif
TrigJetHypoToolConfig_fastreduction::getRepeatedConditions
ConditionPtrs getRepeatedConditions() const
Definition: TrigJetHypoToolConfig_fastreduction.cxx:62
TrigJetHypoToolConfig_fastreduction::m_treeVec
Gaudi::Property< std::vector< std::size_t > > m_treeVec
Definition: TrigJetHypoToolConfig_fastreduction.h:67
ConditionsDefs.h
TrigJetHypoToolConfig_fastreduction::TrigJetHypoToolConfig_fastreduction
TrigJetHypoToolConfig_fastreduction(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigJetHypoToolConfig_fastreduction.cxx:21
TrigJetHypoToolConfig_fastreduction::getMatcher
virtual std::unique_ptr< IJetsMatcher > getMatcher() const override
Definition: TrigJetHypoToolConfig_fastreduction.cxx:122
ITrigHypoJetVectorFilterConfig.h
TrigCompositeUtils.h
GenericMonitoringTool.h
TrigJetHypoToolConfig_fastreduction::m_leafNodes
Gaudi::Property< std::vector< int > > m_leafNodes
Definition: TrigJetHypoToolConfig_fastreduction.h:70
TrigJetHypoToolConfig_fastreduction::initialize
virtual StatusCode initialize() override
Definition: TrigJetHypoToolConfig_fastreduction.cxx:32
TrigJetHypoToolConfig_fastreduction::m_filterMakerInds
Gaudi::Property< std::vector< int > > m_filterMakerInds
Definition: TrigJetHypoToolConfig_fastreduction.h:63
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TrigJetHypoToolConfig_fastreduction::m_filterMakers
ToolHandleArray< ITrigHypoJetVectorFilterConfig > m_filterMakers
Definition: TrigJetHypoToolConfig_fastreduction.h:56
TrigJetHypoToolConfig_fastreduction::requiresNJets
virtual std::size_t requiresNJets() const override
Definition: TrigJetHypoToolConfig_fastreduction.cxx:116
TrigJetHypoToolConfig_fastreduction::checkVals
virtual StatusCode checkVals() const override
Definition: TrigJetHypoToolConfig_fastreduction.cxx:141
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
RepeatedConditionsDefs.h
TrigJetHypoToolConfig_fastreduction::getFilters
std::vector< FilterPtr > getFilters() const
Definition: TrigJetHypoToolConfig_fastreduction.cxx:101
TrigJetHypoToolConfig_fastreduction
Definition: TrigJetHypoToolConfig_fastreduction.h:30
ConditionPtrs
std::vector< ConditionPtr > ConditionPtrs
Definition: RepeatedConditionsDefs.h:20
TrigJetHypoToolConfig_fastreduction::m_conditionMakers
ToolHandleArray< ITrigJetRepeatedConditionConfig > m_conditionMakers
Definition: TrigJetHypoToolConfig_fastreduction.h:53
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTIdentifier.h
ITrigJetRepeatedConditionConfig.h
IJetsMatcher.h
ITrigJetHypoToolNoGrouperConfig.h
TrigJetHypoToolConfig_fastreduction::~TrigJetHypoToolConfig_fastreduction
virtual ~TrigJetHypoToolConfig_fastreduction()
Definition: TrigJetHypoToolConfig_fastreduction.cxx:29