ATLAS Offline Software
IJvtEfficiencyTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JETANALYSISINTERFACES_IJVTEFFICIENCYTOOL_H
6 #define JETANALYSISINTERFACES_IJVTEFFICIENCYTOOL_H
7 
10 #include "xAODJet/JetContainer.h"
11 
12 // TODO: Right now the systematics are defined in the old IJetJvtEfficiency header
13 
14 namespace CP {
15 
16  class IJvtEfficiencyTool : public virtual CP::ISystematicsTool {
18  public:
19  virtual ~IJvtEfficiencyTool() = default;
20 
27  virtual CorrectionCode getEfficiencyScaleFactor(const xAOD::Jet &jet, float &sf) const = 0;
28 
35  virtual CorrectionCode
36  getInefficiencyScaleFactor(const xAOD::Jet &jet, float &sf) const = 0;
37  };
38 } // namespace CP
39 
40 #endif //> !JETANALYSISINTERFACES_IJVTEFFICIENCYTOOL_H
CP::IJvtEfficiencyTool::getEfficiencyScaleFactor
virtual CorrectionCode getEfficiencyScaleFactor(const xAOD::Jet &jet, float &sf) const =0
Calculate the efficiency scale factor for the provided jet.
CP::IJvtEfficiencyTool::getInefficiencyScaleFactor
virtual CorrectionCode getInefficiencyScaleFactor(const xAOD::Jet &jet, float &sf) const =0
Calculate the inefficiency scale factor for the provided jet.
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
ISystematicsTool.h
CP::IJvtEfficiencyTool
Definition: IJvtEfficiencyTool.h:16
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
CP::IJvtEfficiencyTool::~IJvtEfficiencyTool
virtual ~IJvtEfficiencyTool()=default
CP::ISystematicsTool
Interface for all CP tools supporting systematic variations.
Definition: ISystematicsTool.h:32
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
JetContainer.h
mapkey::sf
@ sf
Definition: TElectronEfficiencyCorrectionTool.cxx:38
CP::CorrectionCode
Return value from object correction CP tools.
Definition: CorrectionCode.h:31
CorrectionCode.h