ATLAS Offline Software
TrigEFTauMVHypoTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGEFTAUMVHYPOTOOL_H
6 #define TRIGEFTAUMVHYPOTOOL_H
7 
11 #include "ITrigEFTauMVHypoTool.h"
12 
13 
14 class TrigEFTauMVHypoTool : public extends<AthAlgTool, ITrigEFTauMVHypoTool> {
15  public:
16  TrigEFTauMVHypoTool( const std::string& type,
17  const std::string& name,
18  const IInterface* parent );
19 
20  virtual ~TrigEFTauMVHypoTool();
21 
22  virtual StatusCode initialize() override;
23 
24  virtual StatusCode decide( std::vector<ITrigEFTauMVHypoTool::TauJetInfo>& input ) const override;
25 
26  virtual bool decide( const ITrigEFTauMVHypoTool::TauJetInfo& i ) const override;
27 
28  private:
29 
31 
32  Gaudi::Property<int> m_numTrackMin{ this, "numTrackMin", 0, "Minimum number of tracks" };
33  Gaudi::Property<int> m_numTrackMax{ this, "numTrackMax", 5, "Maximum number of tracks" };
34  Gaudi::Property<float> m_numWideTrackMax{ this, "numWideTrackMax",999, "Maximum number of wide tracks" };
35 
36  Gaudi::Property<double> m_EtCalibMin{ this, "EtCalibMin", -10000., "pT Minimum cut" };
37  Gaudi::Property<int> m_level{ this, "level", -1, "Select ID Working point" };
38  Gaudi::Property<int> m_method{ this, "method", 0, "Select ID method" };
39  Gaudi::Property<bool> m_highpt{ this, "highpt", true , "Turn on/off high pt selection" };
40  Gaudi::Property<double> m_highpttrkthr{ this, "highpttrkthr", 200000. , "Track threshold for high pt taus" };
41  Gaudi::Property<double> m_highptidthr{ this, "highptidthr", 280000., "pT threshold for loosening ID level cut" };
42  Gaudi::Property<double> m_highptjetthr{ this, "highptjetthr", 440000., "pT threshold for disabling ID level cut" };
43 
44  // this property is to override the track pt cut of the InDetTrackSelectorTool (1 GeV) when counting tracks in the 'perf' step
45  Gaudi::Property<double> m_perfTrackPtCut{ this, "perfTrackPtCut", 0., "Count tracks above pt threshold in perf step" };
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 };
53 #endif
TrigEFTauMVHypoTool::m_perfTrackPtCut
Gaudi::Property< double > m_perfTrackPtCut
Definition: TrigEFTauMVHypoTool.h:45
TrigEFTauMVHypoTool::m_highpt
Gaudi::Property< bool > m_highpt
Definition: TrigEFTauMVHypoTool.h:39
TrigCompositeUtils.h
ITrigEFTauMVHypoTool.h
GenericMonitoringTool.h
TrigEFTauMVHypoTool::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TrigEFTauMVHypoTool.h:49
lumiFormat.i
int i
Definition: lumiFormat.py:92
TrigEFTauMVHypoTool::decide
virtual StatusCode decide(std::vector< ITrigEFTauMVHypoTool::TauJetInfo > &input) const override
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
TrigEFTauMVHypoTool::TrigEFTauMVHypoTool
TrigEFTauMVHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigEFTauMVHypoTool.cxx:21
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TrigEFTauMVHypoTool::m_acceptAll
Gaudi::Property< bool > m_acceptAll
Definition: TrigEFTauMVHypoTool.h:47
TrigEFTauMVHypoTool::m_numTrackMin
Gaudi::Property< int > m_numTrackMin
Definition: TrigEFTauMVHypoTool.h:32
HLT::Identifier
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
TrigEFTauMVHypoTool::m_highpttrkthr
Gaudi::Property< double > m_highpttrkthr
Definition: TrigEFTauMVHypoTool.h:40
TrigEFTauMVHypoTool::initialize
virtual StatusCode initialize() override
Definition: TrigEFTauMVHypoTool.cxx:33
TrigEFTauMVHypoTool::m_numWideTrackMax
Gaudi::Property< float > m_numWideTrackMax
Definition: TrigEFTauMVHypoTool.h:34
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TrigEFTauMVHypoTool::m_highptidthr
Gaudi::Property< double > m_highptidthr
Definition: TrigEFTauMVHypoTool.h:41
TrigEFTauMVHypoTool::m_EtCalibMin
Gaudi::Property< double > m_EtCalibMin
Definition: TrigEFTauMVHypoTool.h:36
TrigEFTauMVHypoTool::m_method
Gaudi::Property< int > m_method
Definition: TrigEFTauMVHypoTool.h:38
TrigEFTauMVHypoTool::~TrigEFTauMVHypoTool
virtual ~TrigEFTauMVHypoTool()
Definition: TrigEFTauMVHypoTool.cxx:29
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTIdentifier.h
TrigEFTauMVHypoTool
Definition: TrigEFTauMVHypoTool.h:14
TrigEFTauMVHypoTool::m_level
Gaudi::Property< int > m_level
Definition: TrigEFTauMVHypoTool.h:37
TrigEFTauMVHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition: TrigEFTauMVHypoTool.h:30
TrigEFTauMVHypoTool::m_numTrackMax
Gaudi::Property< int > m_numTrackMax
Definition: TrigEFTauMVHypoTool.h:33
TrigEFTauMVHypoTool::m_highptjetthr
Gaudi::Property< double > m_highptjetthr
Definition: TrigEFTauMVHypoTool.h:42
ITrigEFTauMVHypoTool::TauJetInfo
Definition: ITrigEFTauMVHypoTool.h:22