ATLAS Offline Software
CopyTrackCollection.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_COPYTRACKCOLLECTION_H
6 #define OVERLAYCOPYALGS_COPYTRACKCOLLECTION_H
7 
10 
12 {
13 public:
14 
15  CopyTrackCollection(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<TrackCollection> m_inputKey{ this, "InputKey", "", "ReadHandleKey for Pileup TrackCollection" };
22  SG::WriteHandleKey<TrackCollection> m_outputKey{ this, "OutputKey", "", "WriteHandleKey for Output TrackCollection" };
23 
24 };
25 
26 #endif // OVERLAYCOPYALGS_COPYTRACKCOLLECTION_H
CopyTrackCollection::initialize
virtual StatusCode initialize() override
Definition: CopyTrackCollection.cxx:11
CopyTrackCollection
Definition: CopyTrackCollection.h:12
CopyTrackCollection::m_inputKey
SG::ReadHandleKey< TrackCollection > m_inputKey
Definition: CopyTrackCollection.h:21
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
CopyTrackCollection::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: CopyTrackCollection.cxx:24
TrackCollection.h
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CopyTrackCollection::CopyTrackCollection
CopyTrackCollection(const std::string &name, ISvcLocator *pSvcLocator)
Definition: CopyTrackCollection.cxx:8
CopyTrackCollection::m_outputKey
SG::WriteHandleKey< TrackCollection > m_outputKey
Definition: CopyTrackCollection.h:22