ATLAS Offline Software
JvtUpdateAlg.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 JET_ANALYSIS_ALGORITHMS__JVT_UPDATE_ALG_H
9 #define JET_ANALYSIS_ALGORITHMS__JVT_UPDATE_ALG_H
10 
16 #include <xAODJet/JetContainer.h>
18 
19 namespace CP
20 {
22 
23  class JvtUpdateAlg final : public EL::AnaAlgorithm
24  {
26  public:
28  StatusCode initialize () override;
29  StatusCode execute () override;
30 
31 
32 
34  private:
35  ToolHandle<IJetUpdateJvt> m_jvtTool {this, "jvtTool", "", "the jvt tool we apply"};
36 
38  private:
40 
42  private:
44  this, "jets", "", "the jet collection to run on"};
45 
47  private:
49  this, "preselection", "", "the preselection to apply"};
50 
52  private:
53  Gaudi::Property<std::string> m_decorationName {this, "decorationName", "Jvt", "the decoration name to use"};
54 
56  private:
57  std::unique_ptr<SG::AuxElement::Accessor<float> > m_decorationAccessor;
58  };
59 }
60 
61 #endif
PropertyWrapper.h
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
CP::JvtUpdateAlg::m_jetHandle
SysCopyHandle< xAOD::JetContainer > m_jetHandle
the jet collection we run on
Definition: JvtUpdateAlg.h:43
SysListHandle.h
CP::JvtUpdateAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: JvtUpdateAlg.h:48
CP::JvtUpdateAlg::m_jvtTool
ToolHandle< IJetUpdateJvt > m_jvtTool
the update tool
Definition: JvtUpdateAlg.h:35
SysCopyHandle.h
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
AnaAlgorithm.h
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::JvtUpdateAlg
an algorithm for calling IJetUpdateJvt
Definition: JvtUpdateAlg.h:24
CP::JvtUpdateAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: JvtUpdateAlg.h:39
CP::JvtUpdateAlg::execute
StatusCode execute() override
Definition: JvtUpdateAlg.cxx:42
CP::JvtUpdateAlg::initialize
StatusCode initialize() override
Definition: JvtUpdateAlg.cxx:22
SysReadSelectionHandle.h
JetContainer.h
CP::SysCopyHandle
a systematics data handle that will either copy the input object or act like an update handle
Definition: SysCopyHandle.h:62
IJetUpdateJvt.h
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::JvtUpdateAlg::m_decorationAccessor
std::unique_ptr< SG::AuxElement::Accessor< float > > m_decorationAccessor
the decoration accessor we use
Definition: JvtUpdateAlg.h:57
CP::JvtUpdateAlg::m_decorationName
Gaudi::Property< std::string > m_decorationName
the name of the decoration we create
Definition: JvtUpdateAlg.h:53