ATLAS Offline Software
Loading...
Searching...
No Matches
AlwaysSameHelperTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGHLTJETHYPO_ALWAYSSAMEHELPERTOOL_H
6#define TRIGHLTJETHYPO_ALWAYSSAMEHELPERTOOL_H
7/********************************************************************
8 *
9 * NAME: AlwaysSameHelperTool.h
10 * PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
11 *
12 * Checks lhs and rhs IChilddrenTrigJetHypoToolHelper c
13 * set pass to true if both fail or if both pass.
14 * used for hypo implementation comparisons
15 *
16 *********************************************************************/
17
19
21#include "TrigHLTJetHypo/../src/ITrigJetHypoToolConfig.h"
24
27
28class AlwaysSameHelperTool: public extends<AthAlgTool, ITrigJetHypoToolHelper> {
29
30 public:
31
32 AlwaysSameHelperTool(const std::string& type,
33 const std::string& name,
34 const IInterface* parent);
35
38 const std::unique_ptr<ITrigJetHypoInfoCollector>&) const override;
39
40 virtual StatusCode getDescription(ITrigJetHypoInfoCollector&) const override;
41 virtual std::string toString() const override;
42 virtual std::size_t requiresNJets() const override;
43
44 private:
45
46 Gaudi::Property<bool>
47 m_pass {this, "passflag", false, "const pass value"};
48
49};
50#endif
std::vector< pHypoJet > HypoJetVector
Definition HypoJetDefs.h:27
virtual std::string toString() const override
Gaudi::Property< bool > m_pass
virtual StatusCode getDescription(ITrigJetHypoInfoCollector &) const override
virtual std::size_t requiresNJets() const override
bool pass(HypoJetVector &, xAODJetCollector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
AlwaysSameHelperTool(const std::string &type, const std::string &name, const IInterface *parent)