ATLAS Offline Software
Tracking/TrkAlgorithms/TrkTrackSlimmer/TrkTrackSlimmer/TrackSlimmer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // TrackSlimmer.h, (c) ATLAS Detector software
8 
9 #ifndef TRKTRACKSLIMMER_TRK_TRACKSLIMMER_H
10 #define TRKTRACKSLIMMER_TRK_TRACKSLIMMER_H
11 
12 // Gaudi includes
14 #include "GaudiKernel/ToolHandle.h"
17 
18 #include <atomic>
19 
20 namespace Trk {
21 class ITrackSlimmingTool;
22 
32 class TrackSlimmer final : public AthReentrantAlgorithm
33 {
34 public:
36  TrackSlimmer(const std::string& name, ISvcLocator* pSvcLocator);
39 
41  StatusCode initialize() override;
43  StatusCode execute(const EventContext& ctx) const override;
45  StatusCode finalize() override;
46 
47 private:
49  // int/double/bool m_propertyName;
50  ToolHandle<ITrackSlimmingTool> m_slimTool;
52 };
53 } // end of namespace
54 
55 #endif
ReadHandleKeyArray.h
Trk::TrackSlimmer::TrackSlimmer
TrackSlimmer(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Definition: TrackSlimmer.cxx:13
Trk::TrackSlimmer::m_trackLocation
SG::ReadHandleKeyArray< TrackCollection > m_trackLocation
Definition: Tracking/TrkAlgorithms/TrkTrackSlimmer/TrkTrackSlimmer/TrackSlimmer.h:51
Trk::TrackSlimmer::execute
StatusCode execute(const EventContext &ctx) const override
standard Athena-Algorithm method
Definition: TrackSlimmer.cxx:44
Trk::TrackSlimmer::~TrackSlimmer
~TrackSlimmer()
Default Destructor.
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
Trk::TrackSlimmer::m_slimTool
ToolHandle< ITrackSlimmingTool > m_slimTool
member variables for algorithm properties:
Definition: Tracking/TrkAlgorithms/TrkTrackSlimmer/TrkTrackSlimmer/TrackSlimmer.h:50
Trk::TrackSlimmer::initialize
StatusCode initialize() override
standard Athena-Algorithm method
Definition: TrackSlimmer.cxx:26
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrackCollection.h
AthReentrantAlgorithm.h
Trk::TrackSlimmer
Definition: Tracking/TrkAlgorithms/TrkTrackSlimmer/TrkTrackSlimmer/TrackSlimmer.h:33
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::TrackSlimmer::finalize
StatusCode finalize() override
standard Athena-Algorithm method
Definition: TrackSlimmer.cxx:38