ATLAS Offline Software
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):
14 
15 // Forward declaration(s):
16 namespace xAOD {
17  class IParticle;
18 }
19 
21 namespace CP {
22 
52 
53  // Declare the interface of the tool
55 
56  public:
58  virtual ~IEfficiencyScaleFactorTool() = default;
59 
74  double& sf ) const = 0;
75 
89  virtual CorrectionCode
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