ATLAS Offline Software
TrkCollectionAliasAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 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
15 
16 class AtlasDetectorID;
17 class Identifier;
18 
19 namespace Trk
20 {
21 
31  {
32  public:
33 
35  TrkCollectionAliasAlg(const std::string& name, ISvcLocator* pSvcLocator);
38 
42  StatusCode execute(const EventContext& ctx) const;
45 
46  private:
47 
50  // The key of the input track collection
52 
53  // The key that should be given to the alias
55 
56  };
57 } // end of namespace
58 
59 #endif
Trk::TrkCollectionAliasAlg::execute
StatusCode execute(const EventContext &ctx) const
standard Athena-Algorithm method
Definition: TrkCollectionAliasAlg.cxx:46
Trk::TrkCollectionAliasAlg::finalize
StatusCode finalize()
standard Athena-Algorithm method
Definition: TrkCollectionAliasAlg.cxx:39
Trk::TrkCollectionAliasAlg
Definition: TrkCollectionAliasAlg.h:31
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
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrackCollection.h
AthReentrantAlgorithm.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
Trk::TrkCollectionAliasAlg::m_aliasName
SG::WriteHandleKey< TrackCollection > m_aliasName
Definition: TrkCollectionAliasAlg.h:54
Trk::TrkCollectionAliasAlg::m_collectionName
SG::ReadHandleKey< TrackCollection > m_collectionName
member variables for algorithm properties:
Definition: TrkCollectionAliasAlg.h:51
Trk::TrkCollectionAliasAlg::TrkCollectionAliasAlg
TrkCollectionAliasAlg(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Definition: TrkCollectionAliasAlg.cxx:13
Trk::TrkCollectionAliasAlg::~TrkCollectionAliasAlg
~TrkCollectionAliasAlg()
Default Destructor.
Trk::TrkCollectionAliasAlg::initialize
StatusCode initialize()
standard Athena-Algorithm method
Definition: TrkCollectionAliasAlg.cxx:29
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition: AtlasDetectorID.h:57