ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigHypothesis
TrigHLTJetHypoUnitTests
TrigHLTJetHypoUnitTests
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
18
#include "
AthenaBaseComps/AthAlgTool.h
"
19
20
#include "
TrigHLTJetHypo/ITrigJetHypoToolHelper.h
"
21
#include "TrigHLTJetHypo/../src/ITrigJetHypoToolConfig.h"
22
#include "
TrigHLTJetHypo/TrigHLTJetHypoUtils/HypoJetDefs.h
"
23
#include "
TrigHLTJetHypo/../src/ITrigJetHypoInfoCollector.h
"
24
25
class
ITrigJetHypoInfoCollector
;
26
class
xAODJetCollector
;
27
28
class
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
36
bool
pass
(
HypoJetVector
&,
37
xAODJetCollector
&,
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
AthAlgTool.h
HypoJetDefs.h
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition
HypoJetDefs.h:27
ITrigJetHypoInfoCollector.h
ITrigJetHypoToolHelper.h
AlwaysSameHelperTool::toString
virtual std::string toString() const override
AlwaysSameHelperTool::m_pass
Gaudi::Property< bool > m_pass
Definition
AlwaysSameHelperTool.h:47
AlwaysSameHelperTool::getDescription
virtual StatusCode getDescription(ITrigJetHypoInfoCollector &) const override
AlwaysSameHelperTool::requiresNJets
virtual std::size_t requiresNJets() const override
AlwaysSameHelperTool::pass
bool pass(HypoJetVector &, xAODJetCollector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
AlwaysSameHelperTool::AlwaysSameHelperTool
AlwaysSameHelperTool(const std::string &type, const std::string &name, const IInterface *parent)
ITrigJetHypoInfoCollector
Definition
ITrigJetHypoInfoCollector.h:9
xAODJetCollector
Definition
xAODJetCollector.h:20
type
Generated on
for ATLAS Offline Software by
1.17.0