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 : public EL::AnaAlgorithm
26 {
28 public:
30 StatusCode initialize () override;
31 StatusCode execute () override;
32
33
34
36 private:
37 ToolHandle<ICPJetUncertaintiesTool> m_uncertaintiesTool {this, "uncertaintiesTool", "JetUncertaintiesTool", "the uncertainties tool we apply"};
38
40 private:
41 ToolHandle<ICPJetUncertaintiesTool> m_uncertaintiesToolPD {this, "uncertaintiesToolPD", "", "the uncertainties tool we apply specifically for the 'Full'/'All' JER systematic models"};
42
44 private:
46
48 private:
50 this, "jets", "AntiKt4EMTopoJets", "the jet collection to run on"};
51
53 private:
55 this, "preselection", "", "the preselection to apply"};
56
58 private:
60
62 private:
63 std::vector<CP::SystematicSet> m_systematicsVector;
64
66 private:
67 std::vector<CP::SystematicSet> m_systematicsVectorOnlyJERPseudoData;
68
69 private:
70 Gaudi::Property<std::string> m_isJESbtag {this, "isJESbtagLabel", "IsBjet", "The label to apply to truth b-tagged jets, for JES flavour uncertainties"};
71 std::optional<SG::Decorator<char>> m_decIsJESbtag;
72 std::optional<SG::Accessor<int>> m_accTruthLabel;
73
74 };
75}
76
77#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
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.
void ErrorHandler ATLAS_NOT_THREAD_SAFE(Int_t level, Bool_t abort, const char *location, const char *message)
Function filtering the warnings coming from ROOT.
Definition Init.cxx:105
void initialize()