ATLAS Offline Software
Loading...
Searching...
No Matches
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{
13public:
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
20private:
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
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode initialize() override
SG::ReadHandleKey< TrackCollection > m_inputKey
SG::WriteHandleKey< TrackCollection > m_outputKey
CopyTrackCollection(const std::string &name, ISvcLocator *pSvcLocator)
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.