ATLAS Offline Software
Loading...
Searching...
No Matches
JetUncertaintiesAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8#ifndef JET_ANALYSIS_ALGORITHMS__JET_UNCERTAINTIES_ALG_H
9#define JET_ANALYSIS_ALGORITHMS__JET_UNCERTAINTIES_ALG_H
10
17
18#include <optional>
19
20namespace CP
21{
23
25 {
27 public:
29 StatusCode initialize () override;
30 StatusCode execute () override;
31
32
33
35 private:
36 ToolHandle<ICPJetUncertaintiesTool> m_uncertaintiesTool {this, "uncertaintiesTool", "JetUncertaintiesTool", "the uncertainties tool we apply"};
37
39 private:
40 ToolHandle<ICPJetUncertaintiesTool> m_uncertaintiesToolPD {this, "uncertaintiesToolPD", "", "the uncertainties tool we apply specifically for the 'Full'/'All' JER systematic models"};
41
43 private:
45
47 private:
49 this, "jets", "AntiKt4EMTopoJets", "the jet collection to run on"};
50
52 private:
54 this, "preselection", "", "the preselection to apply"};
55
57 private:
59
61 private:
62 std::vector<CP::SystematicSet> m_systematicsVector;
63
65 private:
66 std::vector<CP::SystematicSet> m_systematicsVectorOnlyJERPseudoData;
67
68 private:
69 Gaudi::Property<std::string> m_isJESbtag {this, "isJESbtagLabel", "IsBjet", "The label to apply to truth b-tagged jets, for JES flavour uncertainties"};
70 std::optional<SG::Decorator<char>> m_decIsJESbtag;
71 std::optional<SG::Accessor<int>> m_accTruthLabel;
72
73 };
74}
75
76#endif
an algorithm for calling ICPJetUncertaintiesTool
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
SysCopyHandle< xAOD::JetContainer > m_jetHandle
the jet collection we run on
StatusCode execute() override
ToolHandle< ICPJetUncertaintiesTool > m_uncertaintiesToolPD
the secondary jet uncertainties tool, for pseudo-data JER smearing
Gaudi::Property< std::string > m_isJESbtag
std::optional< SG::Accessor< int > > m_accTruthLabel
SysReadSelectionHandle m_preselection
the preselection we apply to our input
SysListHandle m_systematicsList
the systematics list we run
std::vector< CP::SystematicSet > m_systematicsVector
the vector of systematics (for CPU-optimisation)
ToolHandle< ICPJetUncertaintiesTool > m_uncertaintiesTool
the main jet uncertainties tool
StatusCode initialize() override
std::vector< CP::SystematicSet > m_systematicsVectorOnlyJERPseudoData
the vector of pseudo-data JER systematics (for CPU-optimisation)
std::optional< SG::Decorator< char > > m_decIsJESbtag
a helper to translate a CP::CorrectionCode into a StatusCode
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
Select isolated Photons, Electrons and Muons.