ATLAS Offline Software
OverlapRemovalAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 #ifndef ASG_ANALYSIS_ALGORITHMS__OVERLAP_REMOVAL_ALG_H
9 #define ASG_ANALYSIS_ALGORITHMS__OVERLAP_REMOVAL_ALG_H
10 
18 
19 namespace CP
20 {
22 
23  class OverlapRemovalAlg final : public EL::AnaAlgorithm
24  {
26  public:
28  StatusCode initialize () override;
29  StatusCode execute () override;
30 
31 
32 
34  private:
35  ToolHandle<ORUtils::IOverlapRemovalTool> m_overlapTool { this, "overlapTool", "ORUtils::OverlapRemovalTool", "the overlap removal tool"};
36 
38  private:
40 
41  private:
43  this, "electrons", "", "the electrons container to use"};
45  this, "muons", "", "the muons container to use"};
47  this, "jets", "", "the jets container to use"};
49  this, "taus", "", "the taus container to use"};
51  this, "photons", "", "the photons container to use"};
53  this, "fatJets", "", "the fat jets container to use"};
54 
56  private:
58  this, "electronsDecoration", "", "the decoration for the electron overlap removal selection"};
60  this, "muonsDecoration", "", "the decoration for the muon overlap removal selection"};
62  this, "jetsDecoration", "", "the decoration for the jet overlap removal selection"};
64  this, "tausDecoration", "", "the decoration for the tau overlap removal selection"};
66  this, "photonsDecoration", "", "the decoration for the photon overlap removal selection"};
68  this, "fatJetsDecoration", "", "the decoration for the fat jet overlap removal selection"};
69 
71  private:
72  Gaudi::Property<std::string> m_overlapRemovalDecoration {this, "OutputLabel", "", "the decoration for the overlap removal tool output"};
73 
75  private:
76  std::unique_ptr<const SG::AuxElement::Accessor<char> > m_overlapRemovalAccessor;
77 
78  };
79 }
80 
81 #endif
CP::OverlapRemovalAlg::m_muonsSelectionHandle
SysWriteSelectionHandle m_muonsSelectionHandle
Definition: OverlapRemovalAlg.h:59
PropertyWrapper.h
CP::OverlapRemovalAlg::m_overlapTool
ToolHandle< ORUtils::IOverlapRemovalTool > m_overlapTool
The OR toolbox.
Definition: OverlapRemovalAlg.h:35
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
SysWriteDecorHandle.h
CP::OverlapRemovalAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: OverlapRemovalAlg.h:39
CP::OverlapRemovalAlg::m_tausSelectionHandle
SysWriteSelectionHandle m_tausSelectionHandle
Definition: OverlapRemovalAlg.h:63
CP::OverlapRemovalAlg::m_fatJetsHandle
SysCopyHandle< const xAOD::JetContainer > m_fatJetsHandle
Definition: OverlapRemovalAlg.h:52
SysListHandle.h
SysWriteSelectionHandle.h
CP::OverlapRemovalAlg::execute
StatusCode execute() override
Definition: OverlapRemovalAlg.cxx:52
SysCopyHandle.h
CP::OverlapRemovalAlg::m_overlapRemovalAccessor
std::unique_ptr< const SG::AuxElement::Accessor< char > > m_overlapRemovalAccessor
the accessor for m_overlapRemovalDecoration
Definition: OverlapRemovalAlg.h:76
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaAlgorithm.cxx:40
CP::OverlapRemovalAlg::m_fatJetsSelectionHandle
SysWriteSelectionHandle m_fatJetsSelectionHandle
Definition: OverlapRemovalAlg.h:67
CP::OverlapRemovalAlg::initialize
StatusCode initialize() override
Definition: OverlapRemovalAlg.cxx:22
ToolBox.h
AnaAlgorithm.h
CP::OverlapRemovalAlg::m_photonsHandle
SysCopyHandle< const xAOD::PhotonContainer > m_photonsHandle
Definition: OverlapRemovalAlg.h:50
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::OverlapRemovalAlg::m_photonsSelectionHandle
SysWriteSelectionHandle m_photonsSelectionHandle
Definition: OverlapRemovalAlg.h:65
CP::OverlapRemovalAlg::m_jetsSelectionHandle
SysWriteSelectionHandle m_jetsSelectionHandle
Definition: OverlapRemovalAlg.h:61
CP::OverlapRemovalAlg::m_electronsHandle
SysCopyHandle< const xAOD::ElectronContainer > m_electronsHandle
Definition: OverlapRemovalAlg.h:42
CP::SysCopyHandle
a systematics data handle that will either copy the input object or act like an update handle
Definition: SysCopyHandle.h:62
CP::OverlapRemovalAlg::m_electronsSelectionHandle
SysWriteSelectionHandle m_electronsSelectionHandle
the decoration for the overlap removal status
Definition: OverlapRemovalAlg.h:57
CP::OverlapRemovalAlg::m_overlapRemovalDecoration
Gaudi::Property< std::string > m_overlapRemovalDecoration
the tool output decoration for the overlap removal status
Definition: OverlapRemovalAlg.h:72
CP::OverlapRemovalAlg::m_tausHandle
SysCopyHandle< const xAOD::TauJetContainer > m_tausHandle
Definition: OverlapRemovalAlg.h:48
CP::OverlapRemovalAlg
an algorithm for calling IPileupReweightingTool
Definition: OverlapRemovalAlg.h:24
CP::OverlapRemovalAlg::m_muonsHandle
SysCopyHandle< const xAOD::MuonContainer > m_muonsHandle
Definition: OverlapRemovalAlg.h:44
CP::SysWriteSelectionHandle
a data handle for writing systematically varied selection properties from objects
Definition: SysWriteSelectionHandle.h:32
CP::OverlapRemovalAlg::m_jetsHandle
SysCopyHandle< const xAOD::JetContainer > m_jetsHandle
Definition: OverlapRemovalAlg.h:46