ATLAS Offline Software
Loading...
Searching...
No Matches
TrigEgammaTopoHypoTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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
43
44
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 EventContext& ctx) 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
Header file to be included by clients of the Monitored infrastructure.
ComboHypoToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< float > m_lowerMassEgammaClusterCut
lower inv mass cut (e,cluster)
Gaudi::Property< bool > m_applyDPhiCut
virtual StatusCode initialize() override
Gaudi::Property< float > m_thresholdDPhiCut
TrigEgammaTopoHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
ToolHandle< GenericMonitoringTool > m_monTool
virtual bool executeAlg(const std::vector< Combo::LegDecision > &combination, const EventContext &ctx) const override
Only a dummy implementation exists in ComboHypoToolBase.
Gaudi::Property< bool > m_acceptAll
Gaudi::Property< bool > m_applyMassCut
Gaudi::Property< float > m_upperMassEgammaClusterCut
upper inv mass cut (e,cluster)