ATLAS Offline Software
CopyTrackRecordCollection.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_COPYTRACKRECORDCOLLECTION_H
6 #define OVERLAYCOPYALGS_COPYTRACKRECORDCOLLECTION_H
7 
10 
12 {
13 public:
14 
15  CopyTrackRecordCollection(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<TrackRecordCollection> m_signalInputKey{ this, "SignalInputKey", "", "ReadHandleKey for Signal TrackRecordCollection" };
22  SG::WriteHandleKey<TrackRecordCollection> m_outputKey{ this, "OutputKey", "", "WriteHandleKey for Output TrackRecordCollection" };
23 
24  Gaudi::Property<std::string> m_collectionName{ this, "collectionName", "", "TrackRecordCollection collection name" };
25 };
26 
27 #endif // OVERLAYCOPYALGS_COPYTRACKRECORDCOLLECTION_H
CopyTrackRecordCollection::m_signalInputKey
SG::ReadHandleKey< TrackRecordCollection > m_signalInputKey
Definition: CopyTrackRecordCollection.h:21
CopyTrackRecordCollection::initialize
virtual StatusCode initialize() override
Definition: CopyTrackRecordCollection.cxx:11
CopyTrackRecordCollection::m_outputKey
SG::WriteHandleKey< TrackRecordCollection > m_outputKey
Definition: CopyTrackRecordCollection.h:22
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
CopyTrackRecordCollection
Definition: CopyTrackRecordCollection.h:12
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
CopyTrackRecordCollection::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: CopyTrackRecordCollection.cxx:30
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:195
TrackRecordCollection.h
CopyTrackRecordCollection::m_collectionName
Gaudi::Property< std::string > m_collectionName
Definition: CopyTrackRecordCollection.h:24
CopyTrackRecordCollection::CopyTrackRecordCollection
CopyTrackRecordCollection(const std::string &name, ISvcLocator *pSvcLocator)
Definition: CopyTrackRecordCollection.cxx:8