ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
Overlay
OverlayCopyAlgs
src
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
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "
TrkTrack/TrackCollection.h
"
10
11
class
CopyTrackCollection
:
public
AthReentrantAlgorithm
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
AthReentrantAlgorithm.h
TrackCollection.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CopyTrackCollection::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
CopyTrackCollection.cxx:24
CopyTrackCollection::initialize
virtual StatusCode initialize() override
Definition
CopyTrackCollection.cxx:11
CopyTrackCollection::m_inputKey
SG::ReadHandleKey< TrackCollection > m_inputKey
Definition
CopyTrackCollection.h:21
CopyTrackCollection::m_outputKey
SG::WriteHandleKey< TrackCollection > m_outputKey
Definition
CopyTrackCollection.h:22
CopyTrackCollection::CopyTrackCollection
CopyTrackCollection(const std::string &name, ISvcLocator *pSvcLocator)
Definition
CopyTrackCollection.cxx:8
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
Generated on
for ATLAS Offline Software by
1.17.0