ATLAS Offline Software
NJetDecoratorAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 
7 #ifndef ASG_ANALYSIS_ALGORITHMS__NJET_DECORATOR_ALG_H
8 #define ASG_ANALYSIS_ALGORITHMS__NJET_DECORATOR_ALG_H
9 
11 #include <xAODJet/JetContainer.h>
18 #include <map>
19 #include <functional>
20 
21 namespace CP
22 {
24 
26  {
27  public:
28 
31  StatusCode initialize () override;
32  StatusCode execute () override;
33 
34 
35 
36  private:
37 
40 
42  CP::SysReadHandle<xAOD::EventInfo> m_eventInfoHandle {this, "eventInfo", "EventInfo", "the input EventInfo object"};
43 
46  this, "jets", "", "the jet container to use"};
48  this, "jetSelection", "", "the selection on the input jets"};
50  this, "Njet", "Njet_%SYS%", "Number of jets"
51  };
52  };
53 }
54 
55 #endif
PropertyWrapper.h
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
SysWriteDecorHandle.h
SysListHandle.h
CP::NJetDecoratorAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: NJetDecoratorAlg.h:39
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition: SysReadHandle.h:32
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:25
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaAlgorithm.cxx:40
CP::NJetDecoratorAlg
an algorithm for decorating EventInfo
Definition: NJetDecoratorAlg.h:26
CP::NJetDecoratorAlg::m_jetsHandle
CP::SysReadHandle< xAOD::JetContainer > m_jetsHandle
Definition: NJetDecoratorAlg.h:45
CP::NJetDecoratorAlg::m_Njet_decor
CP::SysWriteDecorHandle< int > m_Njet_decor
Definition: NJetDecoratorAlg.h:49
SysReadHandle.h
CP::NJetDecoratorAlg::m_eventInfoHandle
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the name of the event info object
Definition: NJetDecoratorAlg.h:42
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
CP::NJetDecoratorAlg::execute
StatusCode execute() override
Definition: NJetDecoratorAlg.cxx:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
columnar::final
CM final
Definition: ColumnAccessor.h:106
SysReadSelectionHandle.h
EventInfo.h
CP::NJetDecoratorAlg::m_jetSelection
CP::SysReadSelectionHandle m_jetSelection
Definition: NJetDecoratorAlg.h:47
JetContainer.h
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::NJetDecoratorAlg::initialize
StatusCode initialize() override
Definition: NJetDecoratorAlg.cxx:19
CP::SysWriteDecorHandle< int >