ATLAS Offline Software
JetMSVAugmentation.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
13 #ifndef DerivationFramework_JetMSVAugmentation_H
14 #define DerivationFramework_JetMSVAugmentation_H
15 
16 #include <string>
17 
19 #include "GaudiKernel/ToolHandle.h"
21 #include "xAODJet/JetContainer.h"
23 
24 namespace DerivationFramework {
25 
26 
27  class JetMSVAugmentation : public extends<AthAlgTool, IAugmentationTool> {
28 
29 
30  public:
31  JetMSVAugmentation(const std::string& t, const std::string& n, const IInterface* p);
33  virtual StatusCode initialize() override final;
34  virtual StatusCode addBranches(const EventContext& ctx) const override final;
35 
36  private:
37  SG::ReadHandleKey<xAOD::JetContainer> m_jetCollectionName{this, "JetCollectionName", "AntiKt4EMTopoJets"};
38  // NB WriteDecordHandleKey names and vertexAlgName need to be configured consistently
44 
48 
51 
52  Gaudi::Property<std::string> m_vtxAlgName{this, "vertexAlgName", "MSV"};
53  };
54 
55 }
56 
57 
58 #endif
SG::WriteDecorHandleKey< xAOD::JetContainer >
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
IAugmentationTool.h
DerivationFramework::JetMSVAugmentation::m_jetCollectionName
SG::ReadHandleKey< xAOD::JetContainer > m_jetCollectionName
Definition: JetMSVAugmentation.h:37
DerivationFramework::JetMSVAugmentation::initialize
virtual StatusCode initialize() override final
Definition: JetMSVAugmentation.cxx:28
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
DerivationFramework::JetMSVAugmentation::m_vtxAlgName
Gaudi::Property< std::string > m_vtxAlgName
Definition: JetMSVAugmentation.h:52
DerivationFramework::JetMSVAugmentation::m_dec_vtxz
SG::WriteDecorHandleKey< xAOD::JetContainer > m_dec_vtxz
Definition: JetMSVAugmentation.h:47
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
DerivationFramework::JetMSVAugmentation::m_dec_vtxpt
SG::WriteDecorHandleKey< xAOD::JetContainer > m_dec_vtxpt
Definition: JetMSVAugmentation.h:40
DerivationFramework::JetMSVAugmentation::m_dec_vtxphi
SG::WriteDecorHandleKey< xAOD::JetContainer > m_dec_vtxphi
Definition: JetMSVAugmentation.h:42
DerivationFramework::JetMSVAugmentation::m_dec_vtxntrk
SG::WriteDecorHandleKey< xAOD::JetContainer > m_dec_vtxntrk
Definition: JetMSVAugmentation.h:49
DerivationFramework::JetMSVAugmentation::m_dec_vtxefrac
SG::WriteDecorHandleKey< xAOD::JetContainer > m_dec_vtxefrac
Definition: JetMSVAugmentation.h:43
DerivationFramework::JetMSVAugmentation::m_dec_vtxy
SG::WriteDecorHandleKey< xAOD::JetContainer > m_dec_vtxy
Definition: JetMSVAugmentation.h:46
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:209
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
DerivationFramework::JetMSVAugmentation::JetMSVAugmentation
JetMSVAugmentation(const std::string &t, const std::string &n, const IInterface *p)
Definition: JetMSVAugmentation.cxx:17
beamspotman.n
n
Definition: beamspotman.py:727
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DerivationFramework::JetMSVAugmentation::~JetMSVAugmentation
~JetMSVAugmentation()
AthAlgTool.h
DerivationFramework::JetMSVAugmentation::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition: JetMSVAugmentation.cxx:38
DerivationFramework::JetMSVAugmentation::m_dec_vtxeta
SG::WriteDecorHandleKey< xAOD::JetContainer > m_dec_vtxeta
Definition: JetMSVAugmentation.h:41
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::JetMSVAugmentation::m_dec_vtxdls
SG::WriteDecorHandleKey< xAOD::JetContainer > m_dec_vtxdls
Definition: JetMSVAugmentation.h:50
DerivationFramework::JetMSVAugmentation::m_dec_vtxx
SG::WriteDecorHandleKey< xAOD::JetContainer > m_dec_vtxx
Definition: JetMSVAugmentation.h:45
JetContainer.h
private
#define private
Definition: xAODTruthCnvAlg.h:20
xAOD::JetContainer
JetContainer_v1 JetContainer
Definition of the current "jet container version".
Definition: JetContainer.h:17
DerivationFramework::JetMSVAugmentation::m_dec_vtxmass
SG::WriteDecorHandleKey< xAOD::JetContainer > m_dec_vtxmass
Definition: JetMSVAugmentation.h:39
DerivationFramework::JetMSVAugmentation
Definition: JetMSVAugmentation.h:27