ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkAlgorithms
TrkCollectionAliasAlg
TrkCollectionAliasAlg
TrkCollectionAliasAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// TrkCollectionAliasAlg.h, (c) ATLAS Detector software
8
9
#ifndef TRKTRKCOLLECTIONALIASALG_H
10
#define TRKTRKCOLLECTIONALIASALG_H
11
12
// Gaudi includes
13
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
14
#include "
TrkTrack/TrackCollection.h
"
15
16
class
AtlasDetectorID
;
17
class
Identifier
;
18
19
namespace
Trk
20
{
21
29
30
class
TrkCollectionAliasAlg
:
public
AthReentrantAlgorithm
31
{
32
public
:
33
35
TrkCollectionAliasAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
37
~TrkCollectionAliasAlg
();
38
40
StatusCode
initialize
();
42
StatusCode
execute
(
const
EventContext& ctx)
const
;
44
StatusCode
finalize
();
45
46
private
:
47
49
50
// The key of the input track collection
51
SG::ReadHandleKey<TrackCollection>
m_collectionName
52
{
this
,
"CollectionName"
,
"ResolvedTracks"
};
53
54
// The key that should be given to the alias
55
SG::WriteHandleKey<TrackCollection>
m_aliasName
{
this
,
"AliasName"
,
"Tracks"
};
56
57
};
58
}
// end of namespace
59
60
#endif
AthReentrantAlgorithm.h
TrackCollection.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition
AtlasDetectorID.h:53
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
Trk::TrkCollectionAliasAlg::initialize
StatusCode initialize()
standard Athena-Algorithm method
Definition
TrkCollectionAliasAlg.cxx:24
Trk::TrkCollectionAliasAlg::m_collectionName
SG::ReadHandleKey< TrackCollection > m_collectionName
member variables for algorithm properties:
Definition
TrkCollectionAliasAlg.h:52
Trk::TrkCollectionAliasAlg::execute
StatusCode execute(const EventContext &ctx) const
standard Athena-Algorithm method
Definition
TrkCollectionAliasAlg.cxx:41
Trk::TrkCollectionAliasAlg::m_aliasName
SG::WriteHandleKey< TrackCollection > m_aliasName
Definition
TrkCollectionAliasAlg.h:55
Trk::TrkCollectionAliasAlg::finalize
StatusCode finalize()
standard Athena-Algorithm method
Definition
TrkCollectionAliasAlg.cxx:34
Trk::TrkCollectionAliasAlg::TrkCollectionAliasAlg
TrkCollectionAliasAlg(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Definition
TrkCollectionAliasAlg.cxx:13
Trk::TrkCollectionAliasAlg::~TrkCollectionAliasAlg
~TrkCollectionAliasAlg()
Default Destructor.
Identifier
Definition
IdentifierFieldParser.cxx:14
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0