5 #ifndef ISOLATIONSELECTION_TESTISOLATIONCLOSEBYCORRATHENAALG_H
6 #define ISOLATIONSELECTION_TESTISOLATIONCLOSEBYCORRATHENAALG_H
11 #include "GaudiKernel/SystemOfUnits.h"
52 template <
class TARGET_TYPE,
class CONT_TYPE,
class COPY_TYPE>
54 std::pair<std::unique_ptr<COPY_TYPE>,
55 std::unique_ptr<xAOD::ShallowAuxContainer>>& cont)
const;
57 bool passSelection(
const EventContext& ctx,
const xAOD::Muon*
muon)
const;
58 bool passSelection(
const EventContext& ctx,
const xAOD::Egamma* egamm)
const;
67 Gaudi::Property<std::string> m_selDecoration{
this,
"SelectionDecorator",
"",
68 "Optional char decorator flag that the leptons have to pass in order to be selected"};
70 Gaudi::Property<std::string> m_isoDecoration{
this,
"IsolationDecorator",
"",
"Decoration of the first isolation selection pass."};
71 Gaudi::Property<std::string> m_updatedIsoDeco{
this,
"UpdatedIsoDecorator",
"",
"Decoration of the first isolation selection pass."};
72 Gaudi::Property<std::string> m_backup_prefix{
73 this,
"BackupPrefix",
"",
"Prefix in front of the isolation variables, if the original cone values need to be backuped"};
79 ToolHandle<CP::IMuonSelectionTool> m_muonSelTool{
this,
"MuonSelectionTool",
""};
80 ToolHandle<IAsgElectronLikelihoodTool> m_elecSelTool{
this,
"ElectronSelectionTool",
""};
81 ToolHandle<IAsgPhotonIsEMSelector> m_photSelTool{
this,
"PhotonSelectionTool",
""};
85 ToolHandle<CP::IIsolationCloseByCorrectionTool> m_isoCloseByCorrTool{
this,
"IsoCloseByCorrTool",
""};
86 ToolHandle<CP::IIsolationSelectionTool> m_isoSelectorTool{
this,
"IsolationSelectionTool",
""};
89 std::shared_ptr<IsoCorrectionTestHelper> m_ele_helper{
nullptr};
90 std::shared_ptr<IsoCorrectionTestHelper> m_muo_helper{
nullptr};
91 std::shared_ptr<IsoCorrectionTestHelper> m_pho_helper{
nullptr};
94 Gaudi::Property<float> m_mu_max_eta{
this,
"MuonEta", 2.7};
96 Gaudi::Property<float> m_el_max_eta{
this,
"ElectronEta", 2.47};
98 Gaudi::Property<float> m_ph_max_eta{
this,
"PhotonEta", 2.35};
100 Gaudi::Property<bool> m_isMC{
this,
"isMC",
false};