ATLAS Offline Software
TrigEgammaTopoHypoTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGEGAMMAHYPO_TRIGEGAMMATOPOHYPOTOOL_H
6 #define TRIGEGAMMAHYPO_TRIGEGAMMATOPOHYPOTOOL_H
7 
8 /*************************************************************************************************
9  **
10  ** File: Trigger/TrigHypothesis/TrigEgammaHypo/src/combos/TrigEgammaTopoHypoTool.h
11  **
12  ** Description: - Hypothesis Tool: search for electron/photon pairs with
13  ** invariant mass or deltaPhi in some interval; intended for e.g Z->ee, H->gg, etc
14  **
15  **
16  ** Author: Debottam Bakshi Gupta <debottam.bakshi.gupta@cern.ch>
17  **
18  ** Created: May 15 2021
19  **
20  **************************************************************************************************/
21 
22 #include <string>
23 #include <vector>
24 
26 
28 
31 
34 
35 
46 
47  public:
48 
49  TrigEgammaTopoHypoTool(const std::string& type,
50  const std::string& name,
51  const IInterface* parent);
52 
53  virtual StatusCode initialize() override;
54 
55 
56  private:
57 
58  virtual bool executeAlg(const std::vector<Combo::LegDecision>& combination) const override;
59 
60  // flags
61  Gaudi::Property< bool > m_acceptAll {this, "AcceptAll", false, "Ignore selection" };
62  Gaudi::Property< bool > m_applyMassCut {this, "ApplyMassCut", false, "Cut on lower limit of mass" };
63  Gaudi::Property< bool > m_applyDPhiCut {this, "ApplyDPhiCut", false, "Cut on both delta phi distance and mass" };
64 
65  // cuts
66  Gaudi::Property<float> m_lowerMassEgammaClusterCut {this,"LowerMassEgammaClusterCut", 50000.0, "Lower mass cut for electron-cluster pair"};
67  Gaudi::Property<float> m_upperMassEgammaClusterCut {this,"UpperMassEgammaClusterCut", -999, "Upper mass cut for electron-cluster pair"};
68  Gaudi::Property<float> m_thresholdDPhiCut {this,"ThresholdDPhiCut", 1.5, "minimum deltaPhi required between two photons"};
69 
70  // monitoring
71  ToolHandle<GenericMonitoringTool> m_monTool { this, "MonTool", "", "Monitoring tool" };
72 
73 
74 }; // TRIGEGAMMAHYPO_TRIGEGAMMATOPOHYPOTOOL_H
75 #endif
76 
77 
78 
TrigEgammaTopoHypoTool::m_upperMassEgammaClusterCut
Gaudi::Property< float > m_upperMassEgammaClusterCut
upper inv mass cut (e,cluster)
Definition: TrigEgammaTopoHypoTool.h:67
TrigEgammaTopoHypoTool::m_applyDPhiCut
Gaudi::Property< bool > m_applyDPhiCut
Definition: TrigEgammaTopoHypoTool.h:63
TrigEgammaTopoHypoTool::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TrigEgammaTopoHypoTool.h:71
ComboHypoToolBase
Base class for tools which cut on properties of multi-object or multi-leg chains. User should derive ...
Definition: ComboHypoToolBase.h:26
TrigCompositeUtils.h
GenericMonitoringTool.h
TrigEgammaTopoHypoTool::initialize
virtual StatusCode initialize() override
Definition: TrigEgammaTopoHypoTool.cxx:28
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigEgammaTopoHypoTool::executeAlg
virtual bool executeAlg(const std::vector< Combo::LegDecision > &combination) const override
Only a dummy implementation exists in ComboHypoToolBase.
Definition: TrigEgammaTopoHypoTool.cxx:44
test_pyathena.parent
parent
Definition: test_pyathena.py:15
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
ComboHypoToolBase.h
TrigEgammaTopoHypoTool::m_lowerMassEgammaClusterCut
Gaudi::Property< float > m_lowerMassEgammaClusterCut
lower inv mass cut (e,cluster)
Definition: TrigEgammaTopoHypoTool.h:66
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TrigEgammaTopoHypoTool::m_applyMassCut
Gaudi::Property< bool > m_applyMassCut
Definition: TrigEgammaTopoHypoTool.h:62
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTIdentifier.h
TrigEgammaTopoHypoTool::m_acceptAll
Gaudi::Property< bool > m_acceptAll
Definition: TrigEgammaTopoHypoTool.h:61
TrigEgammaTopoHypoTool::m_thresholdDPhiCut
Gaudi::Property< float > m_thresholdDPhiCut
Definition: TrigEgammaTopoHypoTool.h:68
TrigEgammaTopoHypoTool::TrigEgammaTopoHypoTool
TrigEgammaTopoHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigEgammaTopoHypoTool.cxx:24
TrackParticleContainer.h
TrigEgammaTopoHypoTool
TrigEgammaTopoHypoTool is a ComboHypoTool that calculates the inv mass and deltaPhi distance Apply in...
Definition: TrigEgammaTopoHypoTool.h:45