ATLAS Offline Software
TrigTauCaloHypoTool.h
Go to the documentation of this file.
1 // emacs: this is -*- c++ -*-
2 /*
3  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4 */
5 
6 #ifndef TrigTauHypo_TrigTauCaloHypoTool_H
7 #define TrigTauHypo_TrigTauCaloHypoTool_H
8 
9 /********************************************************************
10  *
11  * NAME: TrigTauCaloHypoTool.h
12  * PACKAGE: Trigger/TrigHypothesis/TrigTauHypo
13  *
14  * AUTHORS: P.O. DeViveiros, J.Y. Beaucamp
15  * CREATED: Sometime in early 2015
16  *
17  * DESCRIPTION: Implementation of CaloMVA cuts. Based on the original
18  * TrigTauGenericHypo.
19  *
20  *********************************************************************/
21 
25 
26 #include "ITrigTauCaloHypoTool.h"
27 
28 
33 class TrigTauCaloHypoTool : public extends<AthAlgTool, ITrigTauCaloHypoTool> {
34 public:
35  TrigTauCaloHypoTool(const std::string& type, const std::string& name, const IInterface* parent);
36 
37  virtual StatusCode initialize() override;
38 
39  virtual StatusCode decide(std::vector<ITrigTauCaloHypoTool::ToolInfo>& input) const override;
40  virtual bool decide(const ITrigTauCaloHypoTool::ToolInfo& i) const override;
41 
42 private:
44 
45  Gaudi::Property<float> m_ptMin {this, "PtMin", 0, "Tau pT minimum cut"};
46 
47  Gaudi::Property<bool> m_acceptAll {this, "AcceptAll", false, "Ignore selection"};
48 
49  ToolHandle<GenericMonitoringTool> m_monTool {this, "MonTool", "", "Monitoring tool"};
50 };
51 
52 #endif
ITrigTauCaloHypoTool::ToolInfo
Definition: ITrigTauCaloHypoTool.h:25
TrigTauCaloHypoTool
HLT CaloMVA step TauJet selection hypothesis tools.
Definition: TrigTauCaloHypoTool.h:33
TrigTauCaloHypoTool::decide
virtual StatusCode decide(std::vector< ITrigTauCaloHypoTool::ToolInfo > &input) const override
Definition: TrigTauCaloHypoTool.cxx:94
TrigTauCaloHypoTool::initialize
virtual StatusCode initialize() override
Definition: TrigTauCaloHypoTool.cxx:35
TrigTauCaloHypoTool::TrigTauCaloHypoTool
TrigTauCaloHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigTauCaloHypoTool.cxx:28
GenericMonitoringTool.h
lumiFormat.i
int i
Definition: lumiFormat.py:85
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
HLT::Identifier
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
ITrigTauCaloHypoTool.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTIdentifier.h
TrigTauCaloHypoTool::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TrigTauCaloHypoTool.h:49
TrigTauCaloHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition: TrigTauCaloHypoTool.h:43
TrigTauCaloHypoTool::m_ptMin
Gaudi::Property< float > m_ptMin
Definition: TrigTauCaloHypoTool.h:45
TrigTauCaloHypoTool::m_acceptAll
Gaudi::Property< bool > m_acceptAll
Definition: TrigTauCaloHypoTool.h:47