ATLAS Offline Software
EGPhotonCleaningWrapper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // EGPhotonCleaningWrapper.h, (c) ATLAS Detector software
8 
9 #ifndef DERIVATIONFRAMEWORK_EGPHOTONCLEANINGWRAPPER_H
10 #define DERIVATIONFRAMEWORK_EGPHOTONCLEANINGWRAPPER_H
11 
14 //
16 #include "GaudiKernel/ToolHandle.h"
17 //
18 #include "StoreGate/ReadHandle.h"
23 //
24 #include <string>
25 namespace DerivationFramework {
26 
27 class EGPhotonCleaningWrapper : public extends<AthAlgTool, IAugmentationTool>
28 {
29 public:
30  EGPhotonCleaningWrapper(const std::string& t,
31  const std::string& n,
32  const IInterface* p);
33 
34  virtual StatusCode initialize() override final;
35  virtual StatusCode addBranches() const override final;
36 
37 private:
38  ToolHandle<IElectronPhotonShowerShapeFudgeTool> m_fudgeMCTool{
39  this,
40  "EGammaFudgeMCTool",
41  "",
42  "Handle to the Fudging Tool"
43  };
45  "ContainerName",
46  "",
47  "Input" };
48 
49  // Write decoration handle keys
51  m_decoratorPass{ this, "decoratorPass", "", "" };
53  m_decoratorPassDelayed{ this, "decoratorPassDelayed", "", "" };
54  std::string m_sgName;
55 };
56 }
57 
58 #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:38
DerivationFramework::EGPhotonCleaningWrapper
Definition: EGPhotonCleaningWrapper.h:28
IAugmentationTool.h
DerivationFramework::EGPhotonCleaningWrapper::m_decoratorPass
SG::WriteDecorHandleKey< xAOD::PhotonContainer > m_decoratorPass
Definition: EGPhotonCleaningWrapper.h:51
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
IElectronPhotonShowerShapeFudgeTool.h
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:209
DerivationFramework::EGPhotonCleaningWrapper::initialize
virtual StatusCode initialize() override final
Definition: EGPhotonCleaningWrapper.cxx:27
beamspotman.n
n
Definition: beamspotman.py:727
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
DerivationFramework::EGPhotonCleaningWrapper::addBranches
virtual StatusCode addBranches() const override final
Definition: EGPhotonCleaningWrapper.cxx:47
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:53
DerivationFramework::EGPhotonCleaningWrapper::EGPhotonCleaningWrapper
EGPhotonCleaningWrapper(const std::string &t, const std::string &n, const IInterface *p)
Definition: EGPhotonCleaningWrapper.cxx:17
DerivationFramework::EGPhotonCleaningWrapper::m_containerName
SG::ReadHandleKey< xAOD::PhotonContainer > m_containerName
Definition: EGPhotonCleaningWrapper.h:44
ReadHandle.h
Handle class for reading from StoreGate.
PhotonContainer.h
DerivationFramework::EGPhotonCleaningWrapper::m_sgName
std::string m_sgName
Definition: EGPhotonCleaningWrapper.h:54