ATLAS Offline Software
Loading...
Searching...
No Matches
FJvtSelectionTool.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_FJVTSELECTIONTOOL_H
6#define JETJVTEFFICIENCY_FJVTSELECTIONTOOL_H
7
10
11namespace CP {
14 public:
15 FJvtSelectionTool(const std::string &name);
16 virtual ~FJvtSelectionTool() override = default;
17
18 virtual StatusCode initialize() override;
19
20 private:
21 Gaudi::Property<std::string> m_wp{
22 this, "WorkingPoint", "Loose",
23 "The working point to use. Set to 'Custom' to manually set the values"};
24 Gaudi::Property<float> m_jvtCut{this, "JvtCut", 999, "The JVT selection to make"};
25
27 this, "TimingMomentName", m_jetContainer, "Timing", "The name of the timing moment to use"};
28 Gaudi::Property<float> m_timingCut{
29 this, "TimingCut", -1, "Only accept jets with time less than this; negative values deactivate timing requirement"};
30
31 virtual bool select(const xAOD::IParticle *jet) const override;
32 };
33} // namespace CP
34
35#endif //> !JETJVTEFFICIENCY_JVTSELECTIONTOOL_H
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
FJvtSelectionTool(const std::string &name)
Gaudi::Property< float > m_jvtCut
Gaudi::Property< float > m_timingCut
Gaudi::Property< std::string > m_wp
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
virtual bool select(const xAOD::IParticle *jet) const override
virtual ~FJvtSelectionTool() override=default
SG::ReadDecorHandleKey< xAOD::JetContainer > m_timingKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainer
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Class providing the definition of the 4-vector interface.
Select isolated Photons, Electrons and Muons.