ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
TrackingID
InDetTrackSystematicsTools
InDetTrackSystematicsTools
IInDetTrackSmearingTool.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
/*
3
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4
*/
5
6
#ifndef INDETTRACKSYSTEMATICSTOOLS_IINDETTRACKSMEARINGTOOL_H
7
#define INDETTRACKSYSTEMATICSTOOLS_IINDETTRACKSMEARINGTOOL_H
8
9
// Framework include(s):
10
#include "
AsgTools/IAsgTool.h
"
11
#include "
PATInterfaces/ISystematicsTool.h
"
12
#include "
PATInterfaces/SystematicVariation.h
"
13
#include "
PATInterfaces/CorrectionCode.h
"
14
15
// EDM include(s):
16
#include "
xAODTracking/TrackParticleContainer.h
"
17
18
namespace
InDet
{
19
30
class
IInDetTrackSmearingTool
31
:
public
virtual
asg::IAsgTool
32
,
public
virtual
CP::ISystematicsTool
33
{
34
36
ASG_TOOL_INTERFACE
(
InDet::IInDetTrackSmearingTool
)
37
38
public
:
39
// implement the CP::CorrectionTool interface
40
42
virtual
CP::CorrectionCode
applyCorrection
(
xAOD::TrackParticle
& ID ) = 0;
43
virtual
CP::CorrectionCode
correctedCopy
(
const
xAOD::TrackParticle
&,
xAOD::TrackParticle
*& ) = 0;
44
virtual
CP::CorrectionCode
applyContainerCorrection
(
xAOD::TrackParticleContainer
& ) = 0;
45
48
virtual
CP::CorrectionCode
applyCorrection
(
49
xAOD::TrackParticle
& ID,
const
CP::SystematicSet
& syst)
const
= 0;
50
51
// implement the CP::ISystematicTool interface
52
54
virtual
bool
isAffectedBySystematic
(
const
CP::SystematicVariation
& )
const
= 0;
56
virtual
CP::SystematicSet
affectingSystematics
()
const
= 0;
58
virtual
CP::SystematicSet
recommendedSystematics
()
const
= 0;
59
61
virtual
StatusCode
applySystematicVariation
(
const
CP::SystematicSet
& ) = 0;
62
63
64
};
65
66
}
67
68
#endif
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition
AsgToolMacros.h:40
CorrectionCode.h
TrackParticleContainer.h
IAsgTool.h
ISystematicsTool.h
SystematicVariation.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
CP::SystematicVariation
Definition
SystematicVariation.h:47
InDet::IInDetTrackSmearingTool
Simple interface for calibrating/correcting tracks (inner-detector particles).
Definition
IInDetTrackSmearingTool.h:33
InDet::IInDetTrackSmearingTool::applySystematicVariation
virtual StatusCode applySystematicVariation(const CP::SystematicSet &)=0
configure the tool to apply a given list of systematic variations
InDet::IInDetTrackSmearingTool::applyCorrection
virtual CP::CorrectionCode applyCorrection(xAOD::TrackParticle &ID, const CP::SystematicSet &syst) const =0
Reentrant smearing: applies syst without mutating shared state.
InDet::IInDetTrackSmearingTool::correctedCopy
virtual CP::CorrectionCode correctedCopy(const xAOD::TrackParticle &, xAOD::TrackParticle *&)=0
InDet::IInDetTrackSmearingTool::affectingSystematics
virtual CP::SystematicSet affectingSystematics() const =0
returns: list of systematics this tool can be affected by
InDet::IInDetTrackSmearingTool::applyContainerCorrection
virtual CP::CorrectionCode applyContainerCorrection(xAOD::TrackParticleContainer &)=0
InDet::IInDetTrackSmearingTool::isAffectedBySystematic
virtual bool isAffectedBySystematic(const CP::SystematicVariation &) const =0
returns: whether the tool is affected by the systematic
InDet::IInDetTrackSmearingTool::recommendedSystematics
virtual CP::SystematicSet recommendedSystematics() const =0
returns: list of recommended systematics to use with this tool
InDet::IInDetTrackSmearingTool::applyCorrection
virtual CP::CorrectionCode applyCorrection(xAOD::TrackParticle &ID)=0
Declare the interface that the class provides.
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition
IAsgTool.h:41
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition
Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
xAOD::TrackParticleContainer
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".
Definition
Event/xAOD/xAODTracking/xAODTracking/TrackParticleContainer.h:14
Generated on
for ATLAS Offline Software by
1.17.0