ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
Interfaces
EgammaAnalysisInterfaces
EgammaAnalysisInterfaces
IAsgPhotonEfficiencyCorrectionTool.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
//IAsgPhotonEfficiencyCorrection.h to be used in the tool.
6
#ifndef EGAMMAANALYSISINTERFACES__IASGPHOTONEFFICIENCYCORRECTION__
7
#define EGAMMAANALYSISINTERFACES__IASGPHOTONEFFICIENCYCORRECTION__
8
9
// Framework include(s):
10
#include "
AsgTools/IAsgTool.h
"
11
// EDM include(s):
12
#include "
xAODEgamma/Egamma.h
"
13
14
// Local include(s):
15
#include "
PATInterfaces/CorrectionCode.h
"
16
#include "
PATInterfaces/ISystematicsTool.h
"
17
18
namespace
xAOD
{
19
class
IParticle
;
20
}
21
22
class
IAsgPhotonEfficiencyCorrectionTool
:
virtual
public
asg::IAsgTool
,
virtual
public
CP::ISystematicsTool
23
{
24
ASG_TOOL_INTERFACE
(
IAsgPhotonEfficiencyCorrectionTool
)
25
26
public
:
27
//virtual StatusCode initialize() = 0;
28
30
virtual
CP::CorrectionCode
getEfficiencyScaleFactor
(
const
xAOD::Egamma
&,
double
&)
const
= 0;
31
33
virtual
CP::CorrectionCode
getEfficiencyScaleFactorError
(
const
xAOD::Egamma
&,
double
&)
const
= 0;
34
36
virtual
CP::CorrectionCode
applyEfficiencyScaleFactor
(
xAOD::Egamma
&)
const
= 0;
37
38
virtual
~IAsgPhotonEfficiencyCorrectionTool
() {}
39
};
// class IAsgPhotonEfficiencyCorrectionTool
40
41
#endif
42
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition
AsgToolMacros.h:40
CorrectionCode.h
Egamma.h
IAsgTool.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
IAsgPhotonEfficiencyCorrectionTool
Definition
IAsgPhotonEfficiencyCorrectionTool.h:23
IAsgPhotonEfficiencyCorrectionTool::getEfficiencyScaleFactorError
virtual CP::CorrectionCode getEfficiencyScaleFactorError(const xAOD::Egamma &, double &) const =0
Get the "photon scale factor error" as a return value.
IAsgPhotonEfficiencyCorrectionTool::~IAsgPhotonEfficiencyCorrectionTool
virtual ~IAsgPhotonEfficiencyCorrectionTool()
Definition
IAsgPhotonEfficiencyCorrectionTool.h:38
IAsgPhotonEfficiencyCorrectionTool::applyEfficiencyScaleFactor
virtual CP::CorrectionCode applyEfficiencyScaleFactor(xAOD::Egamma &) const =0
Decorate the photon with its scale factor.
IAsgPhotonEfficiencyCorrectionTool::getEfficiencyScaleFactor
virtual CP::CorrectionCode getEfficiencyScaleFactor(const xAOD::Egamma &, double &) const =0
Get the "photon scale factor" as a return value.
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition
IAsgTool.h:41
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::Egamma
Egamma_v1 Egamma
Definition of the current "egamma version".
Definition
Egamma.h:17
Generated on
for ATLAS Offline Software by
1.14.0