ATLAS Offline Software
TrackingGeometryCondAlgTest.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 TRACKINGGEOMETRYCONDALGTEST_H
6 #define TRACKINGGEOMETRYCONDALGTEST_H
7 
13 #include "GaudiKernel/ServiceHandle.h"
14 
19 
20 #include "GaudiKernel/ToolHandle.h"
21 #include "AthenaKernel/CLASS_DEF.h"
23 
24 
26 namespace Trk{
27 
29 {
30 public:
31  TrackingGeometryCondAlgTest(const std::string& name, ISvcLocator* pSvcLocator);
32  virtual ~TrackingGeometryCondAlgTest() override = default;
33 
34  virtual StatusCode initialize() override;
35  virtual StatusCode execute (const EventContext& ctx) const override;
36  virtual bool isReEntrant() const override final { return false; } // execute not thread-safe
37  virtual StatusCode finalize() override {return StatusCode::SUCCESS;}
38 
39 private:
40 
42  SG::ReadCondHandleKey<TrackingGeometry> m_trackingGeometryReadKey{this, "TrackingGeometryReadKey", "AtlasTrackingGeometry", "Key of input TrackingGeometry"};
44  ToolHandleArray<Trk::IGeometryProcessor> m_trackingGeometryProcessors;
45 
46 };
47 }
48 #endif //TRACKINGGEOMETRYCONDALGTEST_H
Trk::TrackingGeometryCondAlgTest::m_trackingGeometrySvc
ServiceHandle< Trk::ITrackingGeometrySvc > m_trackingGeometrySvc
ToolHandle to the TrackingGeometrySvc.
Definition: TrackingGeometryCondAlgTest.h:43
Trk::TrackingGeometryCondAlgTest
Definition: TrackingGeometryCondAlgTest.h:29
Trk::TrackingGeometryCondAlgTest::~TrackingGeometryCondAlgTest
virtual ~TrackingGeometryCondAlgTest() override=default
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
initialize
void initialize()
Definition: run_EoverP.cxx:894
WriteCondHandleKey.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
Trk::TrackingGeometryCondAlgTest::isReEntrant
virtual bool isReEntrant() const override final
Definition: TrackingGeometryCondAlgTest.h:36
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
LArG4FSStartPointFilterLegacy.execute
execute
Definition: LArG4FSStartPointFilterLegacy.py:20
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Trk::TrackingGeometryCondAlgTest::finalize
virtual StatusCode finalize() override
Definition: TrackingGeometryCondAlgTest.h:37
ReadCondHandleKey.h
AthReentrantAlgorithm.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
IGeometryProcessor.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SiDetectorElementCollection.h
AthenaAttributeList.h
An AttributeList represents a logical row of attributes in a metadata table. The name and type of eac...
SG::ReadCondHandleKey
Definition: ReadCondHandleKey.h:20
IGeometryBuilder.h
ITrackingGeometrySvc.h
TrackingGeometry.h
checker_macros.h
Define macros for attributes used to control the static checker.
CLASS_DEF.h
macros to associate a CLID to a type
Trk::TrackingGeometryCondAlgTest::m_trackingGeometryProcessors
ToolHandleArray< Trk::IGeometryProcessor > m_trackingGeometryProcessors
Tool to write out a Display format for external viewers.
Definition: TrackingGeometryCondAlgTest.h:44
ServiceHandle< Trk::ITrackingGeometrySvc >