ATLAS Offline Software
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 
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 
38  const std::unique_ptr<ITrigJetHypoInfoCollector>&) const override;
39 
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
AlwaysSameHelperTool::pass
bool pass(HypoJetVector &, xAODJetCollector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
AlwaysSameHelperTool::toString
virtual std::string toString() const override
AlwaysSameHelperTool::requiresNJets
virtual std::size_t requiresNJets() const override
HypoJetDefs.h
AlwaysSameHelperTool
Definition: AlwaysSameHelperTool.h:28
ITrigJetHypoInfoCollector
Definition: ITrigJetHypoInfoCollector.h:9
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
AlwaysSameHelperTool::getDescription
virtual StatusCode getDescription(ITrigJetHypoInfoCollector &) const override
AlwaysSameHelperTool::AlwaysSameHelperTool
AlwaysSameHelperTool(const std::string &type, const std::string &name, const IInterface *parent)
ITrigJetHypoToolHelper.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
AlwaysSameHelperTool::m_pass
Gaudi::Property< bool > m_pass
Definition: AlwaysSameHelperTool.h:47
xAODJetCollector
Definition: xAODJetCollector.h:20
ITrigJetHypoInfoCollector.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78