ATLAS Offline Software
DeltaRRoIComboHypoTool.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 DECISIONHANDLING_DELTARROICOMBOHYPOTOOL_H
6 #define DECISIONHANDLING_DELTARROICOMBOHYPOTOOL_H
7 
8 
13 
15 
16  public:
17 
18  DeltaRRoIComboHypoTool(const std::string& type,
19  const std::string& name,
20  const IInterface* parent);
21 
23  virtual StatusCode initialize() override;
24 
25  private:
26 
27  bool executeAlg(const std::vector<Combo::LegDecision>& combination) const override;
28 
29  double deltaR(double eta1, double eta2, double phi1, double phi2) const;
30 
31  Gaudi::Property<float> m_DRcut{this, "DRcut", 0.1, "DR threshold" };
32 
33 
34 
35 }; // DECISIONHANDLING_DR2ROICOMBOHYPOTOOL_H
36 #endif
37 
ParticleGun_SamplingFraction.eta2
eta2
Definition: ParticleGun_SamplingFraction.py:96
DeltaRRoIComboHypoTool::DeltaRRoIComboHypoTool
DeltaRRoIComboHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: DeltaRRoIComboHypoTool.cxx:12
DeltaRRoIComboHypoTool::deltaR
double deltaR(double eta1, double eta2, double phi1, double phi2) const
Definition: DeltaRRoIComboHypoTool.cxx:66
xAOD::eta1
setEt setPhi setE277 setWeta2 eta1
Definition: TrigEMCluster_v1.cxx:41
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
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DeltaRRoIComboHypoTool
Definition: DeltaRRoIComboHypoTool.h:14
DeltaRRoIComboHypoTool::~DeltaRRoIComboHypoTool
virtual ~DeltaRRoIComboHypoTool()
Definition: DeltaRRoIComboHypoTool.h:22
DeltaRRoIComboHypoTool::executeAlg
bool executeAlg(const std::vector< Combo::LegDecision > &combination) const override
Only a dummy implementation exists in ComboHypoToolBase.
Definition: DeltaRRoIComboHypoTool.cxx:26
ComboHypoToolBase.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
DeltaRRoIComboHypoTool::m_DRcut
Gaudi::Property< float > m_DRcut
Definition: DeltaRRoIComboHypoTool.h:31
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTIdentifier.h
DeltaRRoIComboHypoTool::initialize
virtual StatusCode initialize() override
Definition: DeltaRRoIComboHypoTool.cxx:19