ATLAS Offline Software
JetGhostThinning.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // JetGhostThinning.h, (c) ATLAS Detector software
8 
9 #ifndef DERIVATIONFRAMEWORK_JETGHOSTTHINNING_H
10 #define DERIVATIONFRAMEWORK_JETGHOSTTHINNING_H
11 
12 #include <string>
13 
16 #include "GaudiKernel/ToolHandle.h"
19 #include "xAODJet/JetContainer.h"
21 
23 
24 namespace DerivationFramework {
25 
27  : public extends<ExpressionParserUser<AthAlgTool>, IThinningTool> {
28 public:
29  JetGhostThinning(const std::string &t, const std::string &n,
30  const IInterface *p);
31  virtual ~JetGhostThinning();
32  virtual StatusCode initialize() override;
33  virtual StatusCode finalize() override;
34  virtual StatusCode doThinning() const override;
35 
36 private:
37  StringProperty m_streamName{this, "StreamName", "",
38  "Name of the stream being thinned"};
39 
41  this, "JetKey", "", "SG key for jet container"};
42 
43  StringProperty m_selectionString{
44  this, "SelectionString", "", "Selection string for jets"};
45 
46  StringProperty m_ghostName{
47  this, "GhostName", "", "Name of the ghost association (e.g., GhostTower)"};
48 
49  StringProperty m_ghostContainerName{
50  this, "GhostContainerName", "", "Name of the ghost object container (e.g., CaloCalFwdTopoTowers)"};
51 
53 };
54 
55 } // namespace DerivationFramework
56 
57 #endif // DERIVATIONFRAMEWORK_JETGHOSTTHINNING_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DerivationFramework::JetGhostThinning::m_ghostContainerKey
SG::ThinningHandleKey< xAOD::IParticleContainer > m_ghostContainerKey
Definition: JetGhostThinning.h:52
DerivationFramework::JetGhostThinning::m_ghostName
StringProperty m_ghostName
Definition: JetGhostThinning.h:46
DerivationFramework::JetGhostThinning::doThinning
virtual StatusCode doThinning() const override
Definition: JetGhostThinning.cxx:70
SG::ThinningHandleKey
HandleKey object for adding thinning to an object.
Definition: ThinningHandleKey.h:38
ExpressionParserUser.h
IThinningTool.h
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
DerivationFramework::JetGhostThinning
Definition: JetGhostThinning.h:27
SG::ReadHandleKey< xAOD::JetContainer >
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:209
DerivationFramework::JetGhostThinning::m_streamName
StringProperty m_streamName
Definition: JetGhostThinning.h:37
beamspotman.n
n
Definition: beamspotman.py:727
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IParticleContainer.h
AthAlgTool.h
DerivationFramework::JetGhostThinning::m_selectionString
StringProperty m_selectionString
Definition: JetGhostThinning.h:43
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::JetGhostThinning::~JetGhostThinning
virtual ~JetGhostThinning()
DerivationFramework::JetGhostThinning::JetGhostThinning
JetGhostThinning(const std::string &t, const std::string &n, const IInterface *p)
Definition: JetGhostThinning.cxx:15
DerivationFramework::JetGhostThinning::m_ghostContainerName
StringProperty m_ghostContainerName
Definition: JetGhostThinning.h:49
DerivationFramework::JetGhostThinning::initialize
virtual StatusCode initialize() override
Definition: JetGhostThinning.cxx:23
DerivationFramework::JetGhostThinning::m_jetSGKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetSGKey
Definition: JetGhostThinning.h:40
JetContainer.h
ThinningHandleKey.h
HandleKey object for adding thinning to an object.
DerivationFramework::JetGhostThinning::finalize
virtual StatusCode finalize() override
Definition: JetGhostThinning.cxx:64