ATLAS Offline Software
PhysicsAnalysis
Interfaces
AsgAnalysisInterfaces
AsgAnalysisInterfaces
IEfficiencyScaleFactorTool.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: IEfficiencyScaleFactorTool.h 790193 2016-12-16 16:36:15Z krasznaa $
8
#ifndef ASGANALYSISINTERFACES_IEFFICIENCYSCALEFACTORTOOL_H
9
#define ASGANALYSISINTERFACES_IEFFICIENCYSCALEFACTORTOOL_H
10
11
// ASG include(s):
12
#include "
PATInterfaces/ISystematicsTool.h
"
13
#include "
PATInterfaces/CorrectionCode.h
"
14
15
// Forward declaration(s):
16
namespace
xAOD
{
17
class
IParticle
;
18
}
19
21
namespace
CP
{
22
51
class
IEfficiencyScaleFactorTool
:
virtual
public
ISystematicsTool
{
52
53
// Declare the interface of the tool
54
ASG_TOOL_INTERFACE
(
CP::IEfficiencyScaleFactorTool
)
55
56
public
:
58
virtual
~IEfficiencyScaleFactorTool
() =
default
;
59
73
virtual
CorrectionCode
getEfficiencyScaleFactor
(
const
xAOD::IParticle
&
p
,
74
double
&
sf
)
const
= 0;
75
89
virtual
CorrectionCode
90
applyEfficiencyScaleFactor
(
const
xAOD::IParticle
&
p
)
const
= 0;
91
92
};
// class IEfficiencyScaleFactorTool
93
94
}
// namespace CP
95
96
#endif // ASGANALYSISINTERFACES_IEFFICIENCYSCALEFACTORTOOL_H
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition:
ICaloAffectedTool.h:24
CP::IEfficiencyScaleFactorTool::~IEfficiencyScaleFactorTool
virtual ~IEfficiencyScaleFactorTool()=default
Default destructor.
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition:
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
CP::IEfficiencyScaleFactorTool::getEfficiencyScaleFactor
virtual CorrectionCode getEfficiencyScaleFactor(const xAOD::IParticle &p, double &sf) const =0
Retrieve an efficiency scale factor for a particle type object.
CP
Select isolated Photons, Electrons and Muons.
Definition:
Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
ISystematicsTool.h
CP::IEfficiencyScaleFactorTool
General interface for tools providing analysis efficiency scale factors.
Definition:
IEfficiencyScaleFactorTool.h:51
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
CP::IEfficiencyScaleFactorTool::applyEfficiencyScaleFactor
virtual CorrectionCode applyEfficiencyScaleFactor(const xAOD::IParticle &p) const =0
Decorate a particle with its efficiency scale factor.
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition:
AsgToolMacros.h:40
CP::ISystematicsTool
Interface for all CP tools supporting systematic variations.
Definition:
ISystematicsTool.h:32
mapkey::sf
@ sf
Definition:
TElectronEfficiencyCorrectionTool.cxx:38
CP::CorrectionCode
Return value from object correction CP tools.
Definition:
CorrectionCode.h:31
CorrectionCode.h
IParticle
Definition:
Event/EventKernel/EventKernel/IParticle.h:43
Generated on Thu Nov 7 2024 21:16:40 for ATLAS Offline Software by
1.8.18