ATLAS Offline Software
Loading...
Searching...
No Matches
IsolationLowPtPLVTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4
5#ifndef IsolationSelection_IsolationLowPtPLVTool_H
6#define IsolationSelection_IsolationLowPtPLVTool_H
7
8#include <AsgTools/AsgTool.h>
12
13// TMVA
14#include "TMVA/Reader.h"
15
16namespace CP {
18 public:
19 IsolationLowPtPLVTool(const std::string& name);
21 virtual StatusCode initialize() override;
22 virtual StatusCode augmentPLV(const xAOD::IParticle& particle) override;
23
24 private:
25 Gaudi::Property<std::string> m_muonCalibFile{
26 this, "MuonCalibFile", "IsolationCorrections/v5/TMVAClassification_BDT_Muon_LowPtPromptLeptonTagger_20191107.weights.xml",
27 "XML file holding the TMVA configuration for muons"};
28 Gaudi::Property<std::string> m_elecCalibFile{
29 this, "ElecCalibFile", "IsolationCorrections/v5/TMVAClassification_BDT_Electron_LowPtPromptLeptonTagger_20191107.weights.xml",
30 "XML file holding the TMVA configuration for electrons"};
31 Gaudi::Property<std::string> m_muonMethodName{this, "MuonMethodName", "LowPtPLT_Muon", "Method name for electron LowPtPLV"};
32 Gaudi::Property<std::string> m_elecMethodName{this, "ElecMethodName", "LowPtPLT_Elec", "Method name for muon LowPtPLV"};
33 std::unique_ptr<TMVA::Reader> m_TMVAReader_Muon{nullptr};
34 std::unique_ptr<TMVA::Reader> m_TMVAReader_Elec{nullptr};
35 };
36
37} // namespace CP
38#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Gaudi::Property< std::string > m_elecMethodName
Gaudi::Property< std::string > m_muonCalibFile
Gaudi::Property< std::string > m_elecCalibFile
IsolationLowPtPLVTool(const std::string &name)
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
virtual StatusCode augmentPLV(const xAOD::IParticle &particle) override
This method adds the lowPT PLV score as decoration to the lepton.
std::unique_ptr< TMVA::Reader > m_TMVAReader_Elec
Gaudi::Property< std::string > m_muonMethodName
std::unique_ptr< TMVA::Reader > m_TMVAReader_Muon
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
Class providing the definition of the 4-vector interface.
Select isolated Photons, Electrons and Muons.