ATLAS Offline Software
ActsWriteTrackingGeometry.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ACTSGEOMETRY_ACTSWRITETRACKINGGEOMETRY_H
6 #define ACTSGEOMETRY_ACTSWRITETRACKINGGEOMETRY_H
7 
8 // ATHENA
10 #include "GaudiKernel/ServiceHandle.h"
12 #include "Gaudi/Property.h" /*no forward decl: typedef*/
13 #include "GaudiKernel/ISvcLocator.h"
14 
15 // PACKAGE
18 
19 // STL
20 #include <fstream>
21 #include <memory>
22 #include <vector>
23 
24 namespace Acts {
25  class TrackingGeometry;
26 }
27 
30 
32 public:
33  ActsWriteTrackingGeometry (const std::string& name, ISvcLocator* pSvcLocator);
34  virtual StatusCode initialize() override;
35  virtual StatusCode execute(const EventContext& ctx) const override;
36  virtual StatusCode finalize() override;
37 
38 private:
39 
40  ToolHandle<ActsTrackingGeometryTool> m_trackingGeometryTool{this, "TrackingGeometryTool", "ActsTrackingGeometryTool"};
41 
42  ToolHandle<ActsObjWriterTool> m_objWriterTool{this, "ObjWriterTool", "ActsObjWriterTool"};
43  ToolHandle<IActsMaterialJsonWriterTool> m_materialJsonWriterTool{this, "MaterialJsonWriterTool", "ActsMaterialJsonWriterTool"};
44 
45 };
46 
47 #endif
ActsWriteTrackingGeometry::m_trackingGeometryTool
ToolHandle< ActsTrackingGeometryTool > m_trackingGeometryTool
Definition: ActsWriteTrackingGeometry.h:40
ActsWriteTrackingGeometry::m_materialJsonWriterTool
ToolHandle< IActsMaterialJsonWriterTool > m_materialJsonWriterTool
Definition: ActsWriteTrackingGeometry.h:43
ActsWriteTrackingGeometry::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: ActsWriteTrackingGeometry.cxx:38
ActsObjWriterTool.h
ActsWriteTrackingGeometry::finalize
virtual StatusCode finalize() override
Definition: ActsWriteTrackingGeometry.cxx:49
ActsWriteTrackingGeometry
Definition: ActsWriteTrackingGeometry.h:31
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
Acts
Definition: ChamberAssembleTool.h:18
ActsTrackingGeometryTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ActsWriteTrackingGeometry::initialize
virtual StatusCode initialize() override
Definition: ActsWriteTrackingGeometry.cxx:27
IActsMaterialJsonWriterTool
Definition: IActsMaterialJsonWriterTool.h:17
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
ActsWriteTrackingGeometry::m_objWriterTool
ToolHandle< ActsObjWriterTool > m_objWriterTool
Definition: ActsWriteTrackingGeometry.h:42
IActsTrackingGeometrySvc
Definition: IActsTrackingGeometrySvc.h:18
ActsWriteTrackingGeometry::ActsWriteTrackingGeometry
ActsWriteTrackingGeometry(const std::string &name, ISvcLocator *pSvcLocator)
Definition: ActsWriteTrackingGeometry.cxx:21
IAthRNGSvc.h