ATLAS Offline Software
CopyJetTruthInfo.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef OVERLAYCOPYALGS_COPYJETTRUTHINFO_H
6 #define OVERLAYCOPYALGS_COPYJETTRUTHINFO_H
7 
9 #include "xAODJet/JetContainer.h"
10 
12 {
13 public:
14 
15  CopyJetTruthInfo(const std::string &name, ISvcLocator *pSvcLocator);
16 
17  virtual StatusCode initialize() override;
18  virtual StatusCode execute(const EventContext& ctx) const override;
19 
20 private:
21  SG::ReadHandleKey<xAOD::JetContainer> m_bkgInputKey{ this, "BkgInputKey", "", "ReadHandleKey for Background Jet Containers" };
22  SG::WriteHandleKey<xAOD::JetContainer> m_outputKey{ this, "OutputKey", "", "WriteHandleKey for Output Jet Containers" };
23 
24 };
25 
26 #endif // OVERLAYCOPYALGS_COPYJETTRUTHINFO_H
CopyJetTruthInfo::m_bkgInputKey
SG::ReadHandleKey< xAOD::JetContainer > m_bkgInputKey
Definition: CopyJetTruthInfo.h:21
CopyJetTruthInfo::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: CopyJetTruthInfo.cxx:26
CopyJetTruthInfo::m_outputKey
SG::WriteHandleKey< xAOD::JetContainer > m_outputKey
Definition: CopyJetTruthInfo.h:22
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
JetContainer.h
CopyJetTruthInfo::CopyJetTruthInfo
CopyJetTruthInfo(const std::string &name, ISvcLocator *pSvcLocator)
Definition: CopyJetTruthInfo.cxx:10
CopyJetTruthInfo::initialize
virtual StatusCode initialize() override
Definition: CopyJetTruthInfo.cxx:13
CopyJetTruthInfo
Definition: CopyJetTruthInfo.h:12