ATLAS Offline Software
CopyDetailedTrackTruthCollection.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef OVERLAYCOPYALGS_COPYDETAILEDTRACKTRUTHCOLLECTION_H
6 #define OVERLAYCOPYALGS_COPYDETAILEDTRACKTRUTHCOLLECTION_H
7 
10 
12 {
13 public:
14 
15  CopyDetailedTrackTruthCollection(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<DetailedTrackTruthCollection> m_inputKey{ this, "InputKey", "", "ReadHandleKey for Pileup DetailedTrackTruthCollection" };
22  SG::WriteHandleKey<DetailedTrackTruthCollection> m_outputKey{ this, "OutputKey", "", "WriteHandleKey for Output DetailedTrackTruthCollection" };
23 
24 };
25 
26 #endif // OVERLAYCOPYALGS_COPYDETAILEDTRACKTRUTHCOLLECTION_H
CopyDetailedTrackTruthCollection::m_inputKey
SG::ReadHandleKey< DetailedTrackTruthCollection > m_inputKey
Definition: CopyDetailedTrackTruthCollection.h:21
SG::ReadHandleKey< DetailedTrackTruthCollection >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
DetailedTrackTruthCollection.h
SG::WriteHandleKey< DetailedTrackTruthCollection >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CopyDetailedTrackTruthCollection::CopyDetailedTrackTruthCollection
CopyDetailedTrackTruthCollection(const std::string &name, ISvcLocator *pSvcLocator)
Definition: CopyDetailedTrackTruthCollection.cxx:8
CopyDetailedTrackTruthCollection::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: CopyDetailedTrackTruthCollection.cxx:24
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CopyDetailedTrackTruthCollection::initialize
virtual StatusCode initialize() override
Definition: CopyDetailedTrackTruthCollection.cxx:11
CopyDetailedTrackTruthCollection::m_outputKey
SG::WriteHandleKey< DetailedTrackTruthCollection > m_outputKey
Definition: CopyDetailedTrackTruthCollection.h:22
CopyDetailedTrackTruthCollection
Definition: CopyDetailedTrackTruthCollection.h:12