ATLAS Offline Software
ICalibrationDataInterfaceTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // ICalibrationDataInterfaceTool.h, (c) ATLAS Detector software
8 #ifndef IANALYSISCALIBRATIONDATAINTERFACETOOL_H
9 #define IANALYSISCALIBRATIONDATAINTERFACETOOL_H
10 
11 #include "GaudiKernel/IAlgTool.h"
12 #include <string>
13 
14 class Jet;
15 
16 namespace Analysis
17 {
18 
19  class ICalibrationDataInterfaceTool : virtual public IAlgTool {
20  public:
22 
25 
26  // declarations of the interface-defining member functions
27 
29  virtual std::pair<double, double> getEfficiency (const Jet& jet, const std::string& label,
30  const std::string& OP, Uncertainty unc = None) const = 0;
31 
33  virtual std::pair<double, double> getMCEfficiency (const Jet& jet, const std::string& label,
34  const std::string& OP, Uncertainty unc = None) const = 0;
35 
37  virtual std::pair<double, double> getScaleFactor (const Jet& jet, const std::string& label,
38  const std::string& OP, Uncertainty unc = None) const = 0;
39 
40  };
41 
42 } // end of namespace
43 
44 #endif
Jet
Basic data class defines behavior for all Jet objects The Jet class is the principal data class for...
Definition: Reconstruction/Jet/JetEvent/JetEvent/Jet.h:47
PlotCalibFromCool.label
label
Definition: PlotCalibFromCool.py:78
Analysis::ICalibrationDataInterfaceTool::getScaleFactor
virtual std::pair< double, double > getScaleFactor(const Jet &jet, const std::string &label, const std::string &OP, Uncertainty unc=None) const =0
efficiency scale factor retrieval
Analysis::ICalibrationDataInterfaceTool
Definition: ICalibrationDataInterfaceTool.h:19
Analysis::ICalibrationDataInterfaceTool::Statistical
@ Statistical
Definition: ICalibrationDataInterfaceTool.h:24
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
Analysis::ICalibrationDataInterfaceTool::getMCEfficiency
virtual std::pair< double, double > getMCEfficiency(const Jet &jet, const std::string &label, const std::string &OP, Uncertainty unc=None) const =0
"MC" efficiency retrieval
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::ICalibrationDataInterfaceTool::DeclareInterfaceID
DeclareInterfaceID(Analysis::ICalibrationDataInterfaceTool, 1, 0)
Analysis::ICalibrationDataInterfaceTool::Uncertainty
Uncertainty
retrieve either the total uncertainty or only the statistical or systematic components
Definition: ICalibrationDataInterfaceTool.h:24
Analysis::ICalibrationDataInterfaceTool::None
@ None
Definition: ICalibrationDataInterfaceTool.h:24
Analysis::ICalibrationDataInterfaceTool::getEfficiency
virtual std::pair< double, double > getEfficiency(const Jet &jet, const std::string &label, const std::string &OP, Uncertainty unc=None) const =0
efficiency retrieval
Analysis::ICalibrationDataInterfaceTool::Total
@ Total
Definition: ICalibrationDataInterfaceTool.h:24
Analysis::ICalibrationDataInterfaceTool::Systematic
@ Systematic
Definition: ICalibrationDataInterfaceTool.h:24