ATLAS Offline Software
JetSelectionAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 #ifndef JET_ANALYSIS_ALGORITHMS__JET_SELECTION_ALG_H
9 #define JET_ANALYSIS_ALGORITHMS__JET_SELECTION_ALG_H
10 
17 #include <xAODJet/JetContainer.h>
18 
19 namespace CP
20 {
22 
23  class JetSelectionAlg final : public EL::AnaAlgorithm
24  {
26  public:
28  StatusCode initialize () override;
29  StatusCode execute () override;
30 
31 
32 
34  private:
35  ToolHandle<IJetSelector> m_selectionTool {this, "selectionTool", "", "the selection tool we apply"};
36 
38  private:
40 
42  private:
44  this, "jets", "AntiKt4EMTopoJets", "the jet collection to run on"};
45 
47  private:
49  this, "preselection", "", "the preselection to apply"};
50 
52  private:
54  this, "selectionDecoration", "clean_jet", "the decoration for the jet selection"};
55  };
56 }
57 
58 #endif
CP::JetSelectionAlg::execute
StatusCode execute() override
Definition: JetSelectionAlg.cxx:38
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
CP::JetSelectionAlg::m_selectionHandle
SysWriteSelectionHandle m_selectionHandle
the decoration for the jet selection
Definition: JetSelectionAlg.h:53
SysListHandle.h
SysWriteSelectionHandle.h
CP::JetSelectionAlg::initialize
StatusCode initialize() override
Definition: JetSelectionAlg.cxx:24
CP::JetSelectionAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: JetSelectionAlg.h:39
IJetSelector.h
CP::SysReadHandle< xAOD::JetContainer >
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
SysReadHandle.h
AnaAlgorithm.h
CP::JetSelectionAlg
an algorithm for calling IJetSelector
Definition: JetSelectionAlg.h:24
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
CP::JetSelectionAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: JetSelectionAlg.h:48
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::JetSelectionAlg::m_selectionTool
ToolHandle< IJetSelector > m_selectionTool
the selection tool
Definition: JetSelectionAlg.h:35
CP::JetSelectionAlg::m_jetHandle
SysReadHandle< xAOD::JetContainer > m_jetHandle
the jet collection we run on
Definition: JetSelectionAlg.h:43
SysReadSelectionHandle.h
JetContainer.h
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::SysWriteSelectionHandle
a data handle for writing systematically varied selection properties from objects
Definition: SysWriteSelectionHandle.h:32