ATLAS Offline Software
Reconstruction
Jet
JetMomentTools
JetMomentTools
JetGroomMRatio.h
Go to the documentation of this file.
1
3
/*
4
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// JetGroomMRatio.cxx
8
// Implementation of jet modifier to compute mass ratio between groomed/un-groomed jets
10
11
#ifndef JETMOMENTTOOLS_JETGROOMMRATIO_H
12
#define JETMOMENTTOOLS_JETGROOMMRATIO_H
13
14
#include "
AsgTools/AsgTool.h
"
15
#include "
AsgTools/PropertyWrapper.h
"
16
#include "
JetInterface/IJetDecorator.h
"
17
#include "
AsgDataHandles/WriteDecorHandleKey.h
"
18
#include "
xAODJet/JetContainer.h
"
19
20
class
JetGroomMRatio
:
public
asg::AsgTool
,
21
virtual
public
IJetDecorator
{
22
ASG_TOOL_CLASS0
(
JetGroomMRatio
)
23
public
:
24
25
JetGroomMRatio
(
const
std::string &
t
);
26
27
virtual
StatusCode
initialize
()
override
;
28
virtual
StatusCode
decorate
(
const
xAOD::JetContainer
&
jets
)
const override
;
29
30
private
:
31
Gaudi::Property<std::string>
m_jetContainerName
{
this
,
"JetContainer"
,
""
,
"SG key for the input jet container"
};
32
33
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_groomMRatioKey
{
this
,
"groomMRatioName"
,
"groomMRatio"
,
"SG key for the groomMRatio attribute"
};
34
35
};
36
37
38
#undef ASG_DERIVED_TOOL_CLASS
39
#endif
40
SG::WriteDecorHandleKey< xAOD::JetContainer >
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition:
AsgTool.h:47
PropertyWrapper.h
IJetDecorator
Interface for adding a decoration to a jet container.
Definition:
IJetDecorator.h:21
defineDB.jets
jets
Definition:
JetTagCalibration/share/defineDB.py:24
JetGroomMRatio::JetGroomMRatio
JetGroomMRatio(const std::string &t)
Definition:
JetGroomMRatio.cxx:12
JetGroomMRatio::m_jetContainerName
Gaudi::Property< std::string > m_jetContainerName
Definition:
JetGroomMRatio.h:31
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
IJetDecorator.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ASG_TOOL_CLASS0
#define ASG_TOOL_CLASS0(CLASSNAME)
Definition:
AsgToolMacros.h:62
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
JetGroomMRatio::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition:
JetGroomMRatio.cxx:17
WriteDecorHandleKey.h
JetGroomMRatio::decorate
virtual StatusCode decorate(const xAOD::JetContainer &jets) const override
Decorate a jet collection without otherwise modifying it.
Definition:
JetGroomMRatio.cxx:34
JetContainer.h
JetGroomMRatio::m_groomMRatioKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_groomMRatioKey
Definition:
JetGroomMRatio.h:33
AsgTool.h
JetGroomMRatio
Definition:
JetGroomMRatio.h:21
Generated on Tue Sep 2 2025 21:14:03 for ATLAS Offline Software by
1.8.18