ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetCPInterfaces
JetCPInterfaces
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
8
#include "
JetInterface/IJetUncertaintiesTool.h
"
9
10
#include "
PATInterfaces/ISystematicsTool.h
"
11
#include "
PATInterfaces/CorrectionCode.h
"
12
13
class
ICPJetUncertaintiesTool
:
virtual
public
IJetUncertaintiesTool
,
14
virtual
public
CP::ISystematicsTool
15
{
16
// Interface declaration
17
ASG_TOOL_INTERFACE
(
ICPJetUncertaintiesTool
)
18
19
public
:
20
ICPJetUncertaintiesTool
&
operator=
(
ICPJetUncertaintiesTool
&& ) {
return
*
this
; }
21
22
// Apply a systematic variation or get a new copy.
23
// Overloads without EventInfo use a cached default — not thread-safe.
24
virtual
CP::CorrectionCode
applyCorrection
ATLAS_NOT_THREAD_SAFE
(
xAOD::Jet
& input)
const
= 0;
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;
28
virtual
CP::CorrectionCode
applyContainerCorrection
ATLAS_NOT_THREAD_SAFE
(
xAOD::JetContainer
& inputs)
const
= 0;
29
virtual
CP::CorrectionCode
applyContainerCorrection
(
xAOD::JetContainer
& inputs,
const
xAOD::EventInfo
& eInfo)
const
= 0;
32
virtual
CP::CorrectionCode
applyContainerCorrection
(
33
xAOD::JetContainer
& inputs,
34
const
CP::SystematicSet
& syst)
const
= 0;
35
36
};
37
38
#endif
39
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition
AsgToolMacros.h:40
CorrectionCode.h
IJetUncertaintiesTool.h
ISystematicsTool.h
CP::CorrectionCode
Return value from object correction CP tools.
Definition
CorrectionCode.h:31
CP::ISystematicsTool
Interface for all CP tools supporting systematic variations.
Definition
ISystematicsTool.h:32
CP::SystematicSet
Class to wrap a set of SystematicVariations.
Definition
SystematicSet.h:31
ICPJetUncertaintiesTool
Definition
ICPJetUncertaintiesTool.h:15
ICPJetUncertaintiesTool::operator=
ICPJetUncertaintiesTool & operator=(ICPJetUncertaintiesTool &&)
Definition
ICPJetUncertaintiesTool.h:20
ICPJetUncertaintiesTool::applyContainerCorrection
virtual CP::CorrectionCode applyContainerCorrection(xAOD::JetContainer &inputs, const xAOD::EventInfo &eInfo) const =0
ICPJetUncertaintiesTool::ATLAS_NOT_THREAD_SAFE
virtual CP::CorrectionCode correctedCopy ATLAS_NOT_THREAD_SAFE(const xAOD::Jet &input, xAOD::Jet *&output) const =0
ICPJetUncertaintiesTool::correctedCopy
virtual CP::CorrectionCode correctedCopy(const xAOD::Jet &input, xAOD::Jet *&output, const xAOD::EventInfo &eInfo) const =0
ICPJetUncertaintiesTool::applyContainerCorrection
virtual CP::CorrectionCode applyContainerCorrection(xAOD::JetContainer &inputs, const CP::SystematicSet &syst) const =0
Reentrant correction: applies syst without mutating shared state.
ICPJetUncertaintiesTool::ATLAS_NOT_THREAD_SAFE
virtual CP::CorrectionCode applyCorrection ATLAS_NOT_THREAD_SAFE(xAOD::Jet &input) const =0
ICPJetUncertaintiesTool::ATLAS_NOT_THREAD_SAFE
virtual CP::CorrectionCode applyContainerCorrection ATLAS_NOT_THREAD_SAFE(xAOD::JetContainer &inputs) const =0
ICPJetUncertaintiesTool::applyCorrection
virtual CP::CorrectionCode applyCorrection(xAOD::Jet &input, const xAOD::EventInfo &eInfo) const =0
IJetUncertaintiesTool
Definition
IJetUncertaintiesTool.h:19
xAOD::Jet
Jet_v1 Jet
Definition of the current "jet version".
Definition
Event/xAOD/xAODJet/xAODJet/Jet.h:17
xAOD::EventInfo
EventInfo_v1 EventInfo
Definition of the latest event info version.
Definition
IEventInfoCnvTool.h:16
xAOD::JetContainer
JetContainer_v1 JetContainer
Definition of the current "jet container version".
Definition
JetContainer.h:17
Generated on
for ATLAS Offline Software by
1.17.0