ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetSubStructureMomentTools
JetSubStructureMomentTools
CenterOfMassShapesTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef jetsubstructuremomenttools_centerofmassshapestool_header
6
#define jetsubstructuremomenttools_centerofmassshapestool_header
7
8
#include "
JetSubStructureMomentTools/JetSubStructureMomentToolsBase.h
"
9
10
#include "
AsgTools/PropertyWrapper.h
"
11
#include "
AsgDataHandles/WriteDecorHandleKey.h
"
12
#include "
AsgDataHandles/WriteDecorHandleKeyArray.h
"
13
14
class
CenterOfMassShapesTool
:
15
public
JetSubStructureMomentToolsBase
{
16
ASG_TOOL_CLASS
(
CenterOfMassShapesTool
,
IJetModifier
)
17
18
public
:
19
// Constructor and destructor
20
CenterOfMassShapesTool
(
const
std::string& name);
21
22
virtual
StatusCode
initialize
()
override
;
23
24
StatusCode
modify
(
xAOD::JetContainer
& jets)
const override
;
25
26
private
:
27
Gaudi::Property<std::string>
m_jetContainerName
{
28
this
,
"JetContainer"
,
""
,
"SG key for the input jet container"
};
29
30
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_ThrustMin_Key
{
31
this
,
"ThrustMin_Key"
,
"ThrustMin"
};
32
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_ThrustMaj_Key
{
33
this
,
"ThrustMaj_Key"
,
"ThrustMaj"
};
34
35
SG::WriteDecorHandleKeyArray<xAOD::JetContainer>
m_FoxWolfram_Keys
{
36
this
,
"FoxWolfram_Key"
, {}};
37
38
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_Sphericity_Key
{
39
this
,
"Sphericity_Key"
,
"Sphericity"
};
40
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_Aplanarity_Key
{
41
this
,
"Aplanarity_Key"
,
"Aplanarity"
};
42
43
};
44
45
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
WriteDecorHandleKeyArray.h
WriteDecorHandleKey.h
JetSubStructureMomentToolsBase.h
PropertyWrapper.h
CenterOfMassShapesTool::m_ThrustMaj_Key
SG::WriteDecorHandleKey< xAOD::JetContainer > m_ThrustMaj_Key
Definition
CenterOfMassShapesTool.h:32
CenterOfMassShapesTool::modify
StatusCode modify(xAOD::JetContainer &jets) const override
Loop over calls to modifyJet.
Definition
CenterOfMassShapesTool.cxx:44
CenterOfMassShapesTool::m_FoxWolfram_Keys
SG::WriteDecorHandleKeyArray< xAOD::JetContainer > m_FoxWolfram_Keys
Definition
CenterOfMassShapesTool.h:35
CenterOfMassShapesTool::CenterOfMassShapesTool
CenterOfMassShapesTool(const std::string &name)
Definition
CenterOfMassShapesTool.cxx:14
CenterOfMassShapesTool::m_ThrustMin_Key
SG::WriteDecorHandleKey< xAOD::JetContainer > m_ThrustMin_Key
Definition
CenterOfMassShapesTool.h:30
CenterOfMassShapesTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition
CenterOfMassShapesTool.cxx:19
CenterOfMassShapesTool::m_Sphericity_Key
SG::WriteDecorHandleKey< xAOD::JetContainer > m_Sphericity_Key
Definition
CenterOfMassShapesTool.h:38
CenterOfMassShapesTool::m_jetContainerName
Gaudi::Property< std::string > m_jetContainerName
Definition
CenterOfMassShapesTool.h:27
CenterOfMassShapesTool::m_Aplanarity_Key
SG::WriteDecorHandleKey< xAOD::JetContainer > m_Aplanarity_Key
Definition
CenterOfMassShapesTool.h:40
IJetModifier
IJetModifier is a dual-use tool interface for a tool that modifies a jet collection.
Definition
IJetModifier.h:20
JetSubStructureMomentToolsBase::JetSubStructureMomentToolsBase
JetSubStructureMomentToolsBase(const std::string &name)
Definition
JetSubStructureMomentToolsBase.cxx:8
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
SG::WriteDecorHandleKeyArray
DecorHandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer > WriteDecorHandleKeyArray
Definition
StoreGate/StoreGate/WriteDecorHandleKeyArray.h:35
xAOD::JetContainer
JetContainer_v1 JetContainer
Definition of the current "jet container version".
Definition
JetContainer.h:17
Generated on
for ATLAS Offline Software by
1.17.0