ATLAS Offline Software
NNJvtSelectionTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JETJVTEFFICIENCY_NNJVTSELECTIONTOOL_H
6 #define JETJVTEFFICIENCY_NNJVTSELECTIONTOOL_H
7 
11 
12 
13 namespace CP {
16  public:
17  using JvtSelectionToolBase::JvtSelectionToolBase;
18  virtual ~NNJvtSelectionTool() override = default;
19 
20  virtual StatusCode initialize() override;
21 
22  private:
23  // Used to correctly initialize the ReadDecorHandle
24  Gaudi::Property<std::string> m_jetContainer{
25  this, "JetContainer", "",
26  "The name of the jet container, used to correctly initialize the read handles"};
27  Gaudi::Property<std::string> m_wp{
28  this, "WorkingPoint", "FixedEffPt", "The working point to use"};
29  Gaudi::Property<std::string> m_configDir{
30  this, "ConfigDir", "JetPileupTag/NNJvt/2022-03-22",
31  "The directory containing the NN config files"};
32  Gaudi::Property<std::string> m_configFile{
33  this, "ConfigFile", "", "The NNJvt config file. Overrides the WorkingPoint property"};
35  this, "JvtMomentName", "NNJvt", "The name of the Jvt moment to use"};
36 
38  virtual bool select(const xAOD::IParticle *jet) const override;
39 
40  // TODO: TEMPORARY
41  // Backup accessors to allow using these tools in the JetJvtEfficiency object which does not
42  // know its parent jet container name
44  };
45 } // namespace CP
46 
47 #endif //> !JETJVTEFFICIENCY_NNJVTSELECTIONTOOL_H
CP::NNJvtSelectionTool
Definition: NNJvtSelectionTool.h:14
PropertyWrapper.h
JetPileupTag::NNJvtCutMap
The NNJvt cut maps.
Definition: NNJvtBinning.h:50
CP::NNJvtSelectionTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition: NNJvtSelectionTool.cxx:18
CP::NNJvtSelectionTool::m_configDir
Gaudi::Property< std::string > m_configDir
Definition: NNJvtSelectionTool.h:29
JvtSelectionToolBase.h
CP::NNJvtSelectionTool::m_configFile
Gaudi::Property< std::string > m_configFile
Definition: NNJvtSelectionTool.h:32
SG::ConstAccessor< float >
IAsgSelectionTool
Definition: IAsgSelectionTool.h:28
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:40
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
CP::JvtSelectionToolBase
Definition: JvtSelectionToolBase.h:15
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
CP::NNJvtSelectionTool::m_wp
Gaudi::Property< std::string > m_wp
Definition: NNJvtSelectionTool.h:27
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::NNJvtSelectionTool::m_jvtAcc
SG::ConstAccessor< float > m_jvtAcc
Definition: NNJvtSelectionTool.h:43
CP::NNJvtSelectionTool::m_cutMap
JetPileupTag::NNJvtCutMap m_cutMap
Definition: NNJvtSelectionTool.h:37
CP::NNJvtSelectionTool::m_jetContainer
Gaudi::Property< std::string > m_jetContainer
Definition: NNJvtSelectionTool.h:24
CP::NNJvtSelectionTool::~NNJvtSelectionTool
virtual ~NNJvtSelectionTool() override=default
CP::NNJvtSelectionTool::m_jvtMoment
SG::ReadDecorHandleKey< xAOD::JetContainer > m_jvtMoment
Definition: NNJvtSelectionTool.h:34
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85
NNJvtBinning.h
CP::NNJvtSelectionTool::select
virtual bool select(const xAOD::IParticle *jet) const override
Definition: NNJvtSelectionTool.cxx:57