ATLAS Offline Software
EGPhotonCleaningWrapper.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 DERIVATIONFRAMEWORK_EGPHOTONCLEANINGWRAPPER_H
6 #define DERIVATIONFRAMEWORK_EGPHOTONCLEANINGWRAPPER_H
7 
10 //
12 #include "GaudiKernel/ToolHandle.h"
13 //
14 #include "StoreGate/ReadHandle.h"
19 //
20 #include <string>
21 namespace DerivationFramework {
22 
23  class EGPhotonCleaningWrapper : public extends<AthAlgTool, IAugmentationTool>
24  {
25  public:
26 
27  using base_class::base_class;
28 
29  virtual StatusCode initialize() override final;
30  virtual StatusCode addBranches(const EventContext& ctx) const override final;
31 
32  private:
33  ToolHandle<IElectronPhotonShowerShapeFudgeTool> m_fudgeMCTool{
34  this,
35  "EGammaFudgeMCTool",
36  "",
37  "Handle to the Fudging Tool"
38  };
40  "ContainerName",
41  "",
42  "Input" };
43 
44  // Write decoration handle keys
46  m_decoratorPass{ this, "decoratorPass", m_containerName, "", "" };
48  m_decoratorPassDelayed{ this, "decoratorPassDelayed", m_containerName, "", "" };
49  };
50 }
51 
52 #endif // DERIVATIONFRAMEWORK_EGSELECTIONTOOLWRAPPER_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
DerivationFramework::EGPhotonCleaningWrapper::m_fudgeMCTool
ToolHandle< IElectronPhotonShowerShapeFudgeTool > m_fudgeMCTool
Definition: EGPhotonCleaningWrapper.h:33
DerivationFramework::EGPhotonCleaningWrapper
Definition: EGPhotonCleaningWrapper.h:24
IAugmentationTool.h
DerivationFramework::EGPhotonCleaningWrapper::m_decoratorPass
SG::WriteDecorHandleKey< xAOD::PhotonContainer > m_decoratorPass
Definition: EGPhotonCleaningWrapper.h:46
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
IElectronPhotonShowerShapeFudgeTool.h
DerivationFramework::EGPhotonCleaningWrapper::initialize
virtual StatusCode initialize() override final
Definition: EGPhotonCleaningWrapper.cxx:14
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
WriteDecorHandle.h
Handle class for adding a decoration to an object.
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
DerivationFramework::EGPhotonCleaningWrapper::m_decoratorPassDelayed
SG::WriteDecorHandleKey< xAOD::PhotonContainer > m_decoratorPassDelayed
Definition: EGPhotonCleaningWrapper.h:48
DerivationFramework::EGPhotonCleaningWrapper::m_containerName
SG::ReadHandleKey< xAOD::PhotonContainer > m_containerName
Definition: EGPhotonCleaningWrapper.h:39
ReadHandle.h
Handle class for reading from StoreGate.
PhotonContainer.h
DerivationFramework::EGPhotonCleaningWrapper::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition: EGPhotonCleaningWrapper.cxx:27