ATLAS Offline Software
Loading...
Searching...
No Matches
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
20
21#include <vector>
22#include <memory>
24#include "./IJetsMatcher.h"
25#include "./ConditionsDefs.h"
27
31
34
36public 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
std::vector< pHypoJet > HypoJetVector
Definition HypoJetDefs.h:27
TrigJetHypoToolHelperNoGrouper(const std::string &type, const std::string &name, const IInterface *parent)
virtual bool pass(HypoJetVector &, xAODJetCollector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
std::vector< std::unique_ptr< IJetsMatcher > > m_matchers
ToolHandleArray< ITrigJetHypoToolNoGrouperConfig > m_configs
virtual std::size_t requiresNJets() const override
ToolHandleArray< ITrigHypoJetVectorFilterConfig > m_prefilterMakers
virtual StatusCode getDescription(ITrigJetHypoInfoCollector &) const override
virtual std::string toString() const override