ATLAS Offline Software
TrigTauPrecisionDiKaonHypoTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /********************************************************************
6  *
7  * NAME: TrigTauPrecisionDiKaonHypoTool.h
8  * PACKAGE: Trigger/TrigHypothesis/TrigTauHypo
9  *
10  * AUTHOR: J. Silva based on TrigTauPrecisionIDHypoTool
11  * CREATED: Feb. 17, 2021
12  *
13  *********************************************************************/
14 
15 #ifndef TrigTauHypo_TrigTauPrecisionDiKaonHypoTool_H
16 #define TrigTauHypo_TrigTauPrecisionDiKaonHypoTool_H
17 
21 
23 
24 
29 class TrigTauPrecisionDiKaonHypoTool : public extends<AthAlgTool, ITrigTauPrecisionHypoTool>
30 {
31 public:
32  TrigTauPrecisionDiKaonHypoTool(const std::string& type, const std::string& name, const IInterface* parent);
33 
34  virtual StatusCode initialize() override;
35 
36  virtual StatusCode decide(std::vector<ITrigTauPrecisionHypoTool::ToolInfo>& input) const override;
37  virtual bool decide(const ITrigTauPrecisionHypoTool::ToolInfo& i) const override;
38 
39 private:
41 
42  Gaudi::Property<float> m_ptMin {this, "PtMin", 0, "Minimum tau pT value"};
43  Gaudi::Property<int> m_numTrackMax {this, "NTracksMax", 2, "Maximum number of Tracks"};
44  Gaudi::Property<int> m_numTrackMin {this, "NTracksMin", 1, "Minimum number of Tracks"};
45  Gaudi::Property<int> m_numIsoTrackMax {this, "NIsoTracksMax", 1, "Maximum number of wide Tracks"};
46 
47  // Track system mass cuts
48  Gaudi::Property<float> m_massTrkSysMin {this, "massTrkSysMin", 0, "Minimum DiTrack mass value"};
49  Gaudi::Property<float> m_massTrkSysMax {this, "massTrkSysMax", 1000000000, "Maximum DiTrack mass value"};
50 
51  Gaudi::Property<float> m_massTrkSysKaonMin {this, "massTrkSysKaonMin", 0, "Minimum DiKaon mass value"};
52  Gaudi::Property<float> m_massTrkSysKaonMax {this, "massTrkSysKaonMax", 1000000000, "Maximum DiKaon mass value"};
53 
54  Gaudi::Property<float> m_massTrkSysKaonPiMin {this, "massTrkSysKaonPiMin", 0, "Minimum KaonPi mass value"};
55  Gaudi::Property<float> m_massTrkSysKaonPiMax {this, "massTrkSysKaonPiMax", 1000000000, "Maximum KaonPi mass value"};
56  Gaudi::Property<float> m_targetMassTrkSysKaonPi {this, "targetMassTrkSysKaonPi", 0, "Target KaonPi mass value (parameter)"};
57 
58  Gaudi::Property<float> m_leadTrkPtMin {this, "leadTrkPtMin", 0, "Minimum Pt of Lead Track"};
59  Gaudi::Property<float> m_dRmaxMax {this, "dRmaxMax", 10, "Maximum dRmax value"};
60  Gaudi::Property<float> m_etOverPtLeadTrkMax {this, "etOverPtLeadTrkMax", 10, "Maximum et/pt(lead track)"};
61  Gaudi::Property<float> m_etOverPtLeadTrkMin {this, "etOverPtLeadTrkMin", 0, "Minimum et/pt(lead track)"};
62  Gaudi::Property<float> m_EMPOverTrkSysPMax {this, "EMPOverTrkSysPMax", 5, "Maximum Cluster pt over ditrack pt"};
63 
64  Gaudi::Property<bool> m_acceptAll {this, "AcceptAll", false, "Ignore selection"};
65 
66  ToolHandle<GenericMonitoringTool> m_monTool {this, "MonTool", "", "Monitoring tool"};
67 };
68 
69 #endif
TrigTauPrecisionDiKaonHypoTool::initialize
virtual StatusCode initialize() override
Definition: TrigTauPrecisionDiKaonHypoTool.cxx:35
TrigTauPrecisionDiKaonHypoTool::m_massTrkSysMax
Gaudi::Property< float > m_massTrkSysMax
Definition: TrigTauPrecisionDiKaonHypoTool.h:49
TrigTauPrecisionDiKaonHypoTool::m_numTrackMin
Gaudi::Property< int > m_numTrackMin
Definition: TrigTauPrecisionDiKaonHypoTool.h:44
TrigTauPrecisionDiKaonHypoTool::m_numIsoTrackMax
Gaudi::Property< int > m_numIsoTrackMax
Definition: TrigTauPrecisionDiKaonHypoTool.h:45
TrigTauPrecisionDiKaonHypoTool::m_EMPOverTrkSysPMax
Gaudi::Property< float > m_EMPOverTrkSysPMax
Definition: TrigTauPrecisionDiKaonHypoTool.h:62
TrigTauPrecisionDiKaonHypoTool::decide
virtual StatusCode decide(std::vector< ITrigTauPrecisionHypoTool::ToolInfo > &input) const override
Definition: TrigTauPrecisionDiKaonHypoTool.cxx:263
TrigTauPrecisionDiKaonHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition: TrigTauPrecisionDiKaonHypoTool.h:40
TrigTauPrecisionDiKaonHypoTool::m_ptMin
Gaudi::Property< float > m_ptMin
Definition: TrigTauPrecisionDiKaonHypoTool.h:42
ITrigTauPrecisionHypoTool::ToolInfo
Definition: ITrigTauPrecisionHypoTool.h:25
ITrigTauPrecisionHypoTool.h
TrigTauPrecisionDiKaonHypoTool::m_etOverPtLeadTrkMin
Gaudi::Property< float > m_etOverPtLeadTrkMin
Definition: TrigTauPrecisionDiKaonHypoTool.h:61
GenericMonitoringTool.h
lumiFormat.i
int i
Definition: lumiFormat.py:85
TrigTauPrecisionDiKaonHypoTool::m_massTrkSysKaonMax
Gaudi::Property< float > m_massTrkSysKaonMax
Definition: TrigTauPrecisionDiKaonHypoTool.h:52
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigTauPrecisionDiKaonHypoTool::TrigTauPrecisionDiKaonHypoTool
TrigTauPrecisionDiKaonHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigTauPrecisionDiKaonHypoTool.cxx:26
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
AthAlgTool.h
TrigTauPrecisionDiKaonHypoTool
Precision step hypothesis tool for applying meson kinematic cuts (meson chains)
Definition: TrigTauPrecisionDiKaonHypoTool.h:30
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TrigTauPrecisionDiKaonHypoTool::m_massTrkSysKaonPiMax
Gaudi::Property< float > m_massTrkSysKaonPiMax
Definition: TrigTauPrecisionDiKaonHypoTool.h:55
TrigTauPrecisionDiKaonHypoTool::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TrigTauPrecisionDiKaonHypoTool.h:66
HLT::Identifier
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
TrigTauPrecisionDiKaonHypoTool::m_etOverPtLeadTrkMax
Gaudi::Property< float > m_etOverPtLeadTrkMax
Definition: TrigTauPrecisionDiKaonHypoTool.h:60
TrigTauPrecisionDiKaonHypoTool::m_targetMassTrkSysKaonPi
Gaudi::Property< float > m_targetMassTrkSysKaonPi
Definition: TrigTauPrecisionDiKaonHypoTool.h:56
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TrigTauPrecisionDiKaonHypoTool::m_massTrkSysKaonMin
Gaudi::Property< float > m_massTrkSysKaonMin
Definition: TrigTauPrecisionDiKaonHypoTool.h:51
TrigTauPrecisionDiKaonHypoTool::m_dRmaxMax
Gaudi::Property< float > m_dRmaxMax
Definition: TrigTauPrecisionDiKaonHypoTool.h:59
TrigTauPrecisionDiKaonHypoTool::m_massTrkSysMin
Gaudi::Property< float > m_massTrkSysMin
Definition: TrigTauPrecisionDiKaonHypoTool.h:48
TrigTauPrecisionDiKaonHypoTool::m_numTrackMax
Gaudi::Property< int > m_numTrackMax
Definition: TrigTauPrecisionDiKaonHypoTool.h:43
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTIdentifier.h
TrigTauPrecisionDiKaonHypoTool::m_leadTrkPtMin
Gaudi::Property< float > m_leadTrkPtMin
Definition: TrigTauPrecisionDiKaonHypoTool.h:58
TrigTauPrecisionDiKaonHypoTool::m_acceptAll
Gaudi::Property< bool > m_acceptAll
Definition: TrigTauPrecisionDiKaonHypoTool.h:64
TrigTauPrecisionDiKaonHypoTool::m_massTrkSysKaonPiMin
Gaudi::Property< float > m_massTrkSysKaonPiMin
Definition: TrigTauPrecisionDiKaonHypoTool.h:54