ATLAS Offline Software
Loading...
Searching...
No Matches
FJvtEfficiencyTool.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 JETJVTEFFICIENCY_FJVTEFFICIENCYTOOL_H
6#define JETJVTEFFICIENCY_FJVTEFFICIENCYTOOL_H
7
12
13namespace CP {
16 public:
17 FJvtEfficiencyTool(const std::string &name);
18 virtual ~FJvtEfficiencyTool() override = default;
19
20 virtual StatusCode initialize() override;
21
22 virtual StatusCode sysApplySystematicVariation(const CP::SystematicSet &sys) override;
23
24 virtual CorrectionCode
25 getEfficiencyScaleFactor(const xAOD::Jet &jet, float &sf) const override;
26
27 virtual CorrectionCode
28 getInefficiencyScaleFactor(const xAOD::Jet &jet, float &sf) const override;
29
30 private:
32 this, "EventInfoKey", "EventInfo", "The event info"};
33 Gaudi::Property<std::string> m_wp{
34 this, "WorkingPoint", "Loose", "The working point to use."};
35 Gaudi::Property<std::string> m_file{
36 this, "SFFile", "JetJvtEfficiency/May2020/fJvtSFFile.EMPFlow.root",
37 "The file containing the SF histograms. Set to the empty string to use dummy scale "
38 "factors."};
39 };
40} // namespace CP
41
42#endif //> !JETJVTEFFICIENCY_FJVTEFFICIENCYTOOL_H
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Property holding a SG store/key/clid from which a ReadHandle is made.
Return value from object correction CP tools.
Gaudi::Property< std::string > m_file
virtual CorrectionCode getInefficiencyScaleFactor(const xAOD::Jet &jet, float &sf) const override
Calculate the inefficiency scale factor for the provided jet.
virtual ~FJvtEfficiencyTool() override=default
virtual CorrectionCode getEfficiencyScaleFactor(const xAOD::Jet &jet, float &sf) const override
Calculate the efficiency scale factor for the provided jet.
SG::ReadHandleKey< xAOD::EventInfo > m_evtInfoKey
Gaudi::Property< std::string > m_wp
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
FJvtEfficiencyTool(const std::string &name)
virtual StatusCode sysApplySystematicVariation(const CP::SystematicSet &sys) override
effects: configure this tool for the given list of systematic variations.
Class to wrap a set of SystematicVariations.
Property holding a SG store/key/clid from which a ReadHandle is made.
Select isolated Photons, Electrons and Muons.
Jet_v1 Jet
Definition of the current "jet version".