ATLAS Offline Software
Loading...
Searching...
No Matches
JvtUpdateAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 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
18#include <optional>
19
20namespace CP
21{
23
24 class JvtUpdateAlg final : public EL::AnaAlgorithm
25 {
27 public:
29 StatusCode initialize () override;
30 StatusCode execute (const EventContext& ctx) override;
31
32
33
35 private:
36 ToolHandle<IJetUpdateJvt> m_jvtTool {this, "jvtTool", "", "the jvt tool we apply"};
37
39 private:
41
43 private:
45 this, "jets", "", "the jet collection to run on"};
46
48 private:
50 this, "preselection", "", "the preselection to apply"};
51
53 private:
54 Gaudi::Property<std::string> m_decorationName {this, "decorationName", "Jvt", "the decoration name to use"};
55
57 private:
58 std::optional<SG::Accessor<float>> m_decorationAccessor;
59 };
60}
61
62#endif
an algorithm for calling IJetUpdateJvt
SysCopyHandle< xAOD::JetContainer > m_jetHandle
the jet collection we run on
Gaudi::Property< std::string > m_decorationName
the name of the decoration we create
ToolHandle< IJetUpdateJvt > m_jvtTool
the update tool
SysReadSelectionHandle m_preselection
the preselection we apply to our input
std::optional< SG::Accessor< float > > m_decorationAccessor
the decoration accessor we use
StatusCode initialize() override
SysListHandle m_systematicsList
the systematics list we run
a systematics data handle that will either copy the input object or act like an update handle
a class managing the property to configure the list of systematics to process
a data handle for reading systematically varied selection properties from objects
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
virtual::StatusCode execute()
execute this algorithm
Select isolated Photons, Electrons and Muons.