ATLAS Offline Software
TrigJetHypoToolHelperNoGrouper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGHLTJETHYPO_TRIGJETHYPOHELPERNOGROUPER_H
6 #define TRIGHLTJETHYPO_TRIGJETHYPOHELPERNOGROUPER_H
7 
21 #include <vector>
22 #include <memory>
24 #include "./IJetsMatcher.h"
25 #include "./ConditionsDefs.h"
27 
31 
33 class xAODJetCollector;
34 
36 public extends<AthAlgTool, ITrigJetHypoToolHelper> {
37 
38  public:
39  TrigJetHypoToolHelperNoGrouper(const std::string& type,
40  const std::string& name,
41  const IInterface* parent);
42 
43  StatusCode initialize() override;
44  virtual bool
45 
46  // pass - tests wethewr a jet collection passes cuts, and collects
47  // information about the decision.
50  const std::unique_ptr<ITrigJetHypoInfoCollector>&) const override;
51 
52  virtual std::size_t requiresNJets() const override;
53 
54  virtual StatusCode getDescription(ITrigJetHypoInfoCollector&) const override;
55 
56  private:
57 
58  // Object that matches jet groups with Conditions
59  std::vector<std::unique_ptr<IJetsMatcher>> m_matchers;
60 
62 
63  // Used to generate helper objects foe TrigHLTJetHelper
64  // from user supplied values
65  ToolHandleArray<ITrigJetHypoToolNoGrouperConfig> m_configs {
66  this, "HypoConfigurers", {},
67  "Configurers to set up TrigJetHypoHelperNoGrouper"};
68 
69  ToolHandleArray<ITrigHypoJetVectorFilterConfig>
70  m_prefilterMakers{this, "prefilterMakers", {},
71  "configuration tool to create prefilter"};
72 
73  Gaudi::Property<bool>
74  m_debug {this, "debug", false, "instantantiate helpers with this debug flag"};
75 
76  virtual std::string toString() const override;
77 };
78 
79 #endif
ConditionsDefs.h
ITrigHypoJetVectorFilterConfig.h
TrigJetHypoToolHelperNoGrouper::toString
virtual std::string toString() const override
Definition: TrigJetHypoToolHelperNoGrouper.cxx:90
TrigJetHypoToolHelperNoGrouper::m_debug
Gaudi::Property< bool > m_debug
Definition: TrigJetHypoToolHelperNoGrouper.h:74
ITrigJetConditionConfig.h
ITrigJetHypoInfoCollector
Definition: ITrigJetHypoInfoCollector.h:9
TrigJetHypoToolHelperNoGrouper
Definition: TrigJetHypoToolHelperNoGrouper.h:36
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
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition: HypoJetDefs.h:27
ITrigJetHypoToolHelper.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
xAODJetCollector
Definition: xAODJetCollector.h:20
TrigJetHypoToolHelperNoGrouper::m_matchers
std::vector< std::unique_ptr< IJetsMatcher > > m_matchers
Definition: TrigJetHypoToolHelperNoGrouper.h:59
TrigJetHypoToolHelperNoGrouper::m_configs
ToolHandleArray< ITrigJetHypoToolNoGrouperConfig > m_configs
Definition: TrigJetHypoToolHelperNoGrouper.h:65
TrigJetHypoToolHelperNoGrouper::getDescription
virtual StatusCode getDescription(ITrigJetHypoInfoCollector &) const override
Definition: TrigJetHypoToolHelperNoGrouper.cxx:123
TrigJetHypoToolHelperNoGrouper::m_prefilterMakers
ToolHandleArray< ITrigHypoJetVectorFilterConfig > m_prefilterMakers
Definition: TrigJetHypoToolHelperNoGrouper.h:70
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrigJetHypoToolHelperNoGrouper::pass
virtual bool pass(HypoJetVector &, xAODJetCollector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition: TrigJetHypoToolHelperNoGrouper.cxx:37
TrigJetHypoToolHelperNoGrouper::initialize
StatusCode initialize() override
Definition: TrigJetHypoToolHelperNoGrouper.cxx:21
TrigJetHypoToolHelperNoGrouper::requiresNJets
virtual std::size_t requiresNJets() const override
Definition: TrigJetHypoToolHelperNoGrouper.cxx:129
IJetsMatcher.h
ITrigJetHypoToolNoGrouperConfig.h
TrigJetHypoToolHelperNoGrouper::TrigJetHypoToolHelperNoGrouper
TrigJetHypoToolHelperNoGrouper(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigJetHypoToolHelperNoGrouper.cxx:15