ATLAS Offline Software
Loading...
Searching...
No Matches
ICPJetUncertaintiesTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef JETCPINTERFACES_ICPJETUNCERTAINTIESTOOL_H
6#define JETCPINTERFACES_ICPJETUNCERTAINTIESTOOL_H
7
9
12
14 virtual public CP::ISystematicsTool
15{
16 // Interface declaration
18
19 public:
21
22 // Apply a systematic variation or get a new copy.
23 // Overloads without EventInfo use a cached default — not thread-safe.
25 virtual CP::CorrectionCode applyCorrection(xAOD::Jet& input, const xAOD::EventInfo& eInfo) const = 0;
26 virtual CP::CorrectionCode correctedCopy ATLAS_NOT_THREAD_SAFE (const xAOD::Jet& input, xAOD::Jet*& output) const = 0;
27 virtual CP::CorrectionCode correctedCopy(const xAOD::Jet& input, xAOD::Jet*& output, const xAOD::EventInfo& eInfo) const = 0;
33 xAOD::JetContainer& inputs,
34 const CP::SystematicSet& syst) const = 0;
35
36};
37
38#endif
39
#define ASG_TOOL_INTERFACE(CLASSNAME)
Return value from object correction CP tools.
Interface for all CP tools supporting systematic variations.
Class to wrap a set of SystematicVariations.
ICPJetUncertaintiesTool & operator=(ICPJetUncertaintiesTool &&)
virtual CP::CorrectionCode applyContainerCorrection(xAOD::JetContainer &inputs, const xAOD::EventInfo &eInfo) const =0
virtual CP::CorrectionCode correctedCopy ATLAS_NOT_THREAD_SAFE(const xAOD::Jet &input, xAOD::Jet *&output) const =0
virtual CP::CorrectionCode correctedCopy(const xAOD::Jet &input, xAOD::Jet *&output, const xAOD::EventInfo &eInfo) const =0
virtual CP::CorrectionCode applyContainerCorrection(xAOD::JetContainer &inputs, const CP::SystematicSet &syst) const =0
Reentrant correction: applies syst without mutating shared state.
virtual CP::CorrectionCode applyCorrection ATLAS_NOT_THREAD_SAFE(xAOD::Jet &input) const =0
virtual CP::CorrectionCode applyContainerCorrection ATLAS_NOT_THREAD_SAFE(xAOD::JetContainer &inputs) const =0
virtual CP::CorrectionCode applyCorrection(xAOD::Jet &input, const xAOD::EventInfo &eInfo) const =0
Jet_v1 Jet
Definition of the current "jet version".
EventInfo_v1 EventInfo
Definition of the latest event info version.
JetContainer_v1 JetContainer
Definition of the current "jet container version".