ATLAS Offline Software
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 
9 
13 
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 
31  this, "ThrustMin_Key", "ThrustMin"};
33  this, "ThrustMaj_Key", "ThrustMaj"};
34 
36  this, "FoxWolfram_Key", {}};
37 
39  this, "Sphericity_Key", "Sphericity"};
41  this, "Aplanarity_Key", "Aplanarity"};
42 
43 };
44 
45 #endif
WriteDecorHandleKeyArray.h
SG::WriteDecorHandleKey< xAOD::JetContainer >
PropertyWrapper.h
CenterOfMassShapesTool
Definition: CenterOfMassShapesTool.h:15
defineDB.jets
jets
Definition: JetTagCalibration/share/defineDB.py:24
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
CenterOfMassShapesTool::m_Sphericity_Key
SG::WriteDecorHandleKey< xAOD::JetContainer > m_Sphericity_Key
Definition: CenterOfMassShapesTool.h:38
CenterOfMassShapesTool::modify
StatusCode modify(xAOD::JetContainer &jets) const override
Loop over calls to modifyJet.
Definition: CenterOfMassShapesTool.cxx:44
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
JetSubStructureMomentToolsBase.h
CenterOfMassShapesTool::m_FoxWolfram_Keys
SG::WriteDecorHandleKeyArray< xAOD::JetContainer > m_FoxWolfram_Keys
Definition: CenterOfMassShapesTool.h:35
CenterOfMassShapesTool::m_ThrustMaj_Key
SG::WriteDecorHandleKey< xAOD::JetContainer > m_ThrustMaj_Key
Definition: CenterOfMassShapesTool.h:32
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
CenterOfMassShapesTool::CenterOfMassShapesTool
CenterOfMassShapesTool(const std::string &name)
Definition: CenterOfMassShapesTool.cxx:14
WriteDecorHandleKey.h
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
CenterOfMassShapesTool::m_Aplanarity_Key
SG::WriteDecorHandleKey< xAOD::JetContainer > m_Aplanarity_Key
Definition: CenterOfMassShapesTool.h:40
JetSubStructureMomentToolsBase
Definition: JetSubStructureMomentToolsBase.h:18
CenterOfMassShapesTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition: CenterOfMassShapesTool.cxx:19
CenterOfMassShapesTool::m_ThrustMin_Key
SG::WriteDecorHandleKey< xAOD::JetContainer > m_ThrustMin_Key
Definition: CenterOfMassShapesTool.h:30
IJetModifier
IJetModifier is a dual-use tool interface for a tool that modifies a jet collection.
Definition: IJetModifier.h:20
CenterOfMassShapesTool::m_jetContainerName
Gaudi::Property< std::string > m_jetContainerName
Definition: CenterOfMassShapesTool.h:27