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 
28  : public AthAlgTool
29  , public IAugmentationTool
30 {
31 public:
32  EGPhotonCleaningWrapper(const std::string& t,
33  const std::string& n,
34  const IInterface* p);
35 
36  virtual StatusCode initialize() override final;
37  virtual StatusCode addBranches() const override final;
38 
39 private:
40  ToolHandle<IElectronPhotonShowerShapeFudgeTool> m_fudgeMCTool{
41  this,
42  "EGammaFudgeMCTool",
43  "",
44  "Handle to the Fudging Tool"
45  };
47  "ContainerName",
48  "",
49  "Input" };
50 
51  // Write decoration handle keys
53  m_decoratorPass{ this, "decoratorPass", "", "" };
55  m_decoratorPassDelayed{ this, "decoratorPassDelayed", "", "" };
56  std::string m_sgName;
57 };
58 }
59 
60 #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:40
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
DerivationFramework::EGPhotonCleaningWrapper
Definition: EGPhotonCleaningWrapper.h:30
IAugmentationTool.h
DerivationFramework::EGPhotonCleaningWrapper::m_decoratorPass
SG::WriteDecorHandleKey< xAOD::PhotonContainer > m_decoratorPass
Definition: EGPhotonCleaningWrapper.h:53
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
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
IElectronPhotonShowerShapeFudgeTool.h
DerivationFramework::EGPhotonCleaningWrapper::initialize
virtual StatusCode initialize() override final
Definition: EGPhotonCleaningWrapper.cxx:28
beamspotman.n
n
Definition: beamspotman.py:731
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
Pass the thinning service
Definition: EGPhotonCleaningWrapper.cxx:48
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:55
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:46
ReadHandle.h
Handle class for reading from StoreGate.
AthAlgTool
Definition: AthAlgTool.h:26
PhotonContainer.h
DerivationFramework::EGPhotonCleaningWrapper::m_sgName
std::string m_sgName
Definition: EGPhotonCleaningWrapper.h:56