ATLAS Offline Software
ActsWriteTrackingGeometryTransforms.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ACTSGEOMETRY_ACTSWRITETRACKINGGEOMETRYTRANSFORMS_H
6 #define ACTSGEOMETRY_ACTSWRITETRACKINGGEOMETRYTRANSFORMS_H
7 
8 // ATHENA
10 #include "GaudiKernel/ServiceHandle.h"
12 #include "Gaudi/Property.h" /*no forward decl: typedef*/
13 #include "GaudiKernel/ISvcLocator.h"
15 #include "InDetIdentifier/SCT_ID.h"
16 
17 
18 // PACKAGE
21 
22 // STL
23 #include <fstream>
24 #include <memory>
25 #include <vector>
26 
27 namespace Acts {
28  class TrackingGeometry;
29 }
30 
32 
34 public:
35  ActsWriteTrackingGeometryTransforms (const std::string& name, ISvcLocator* pSvcLocator);
36  virtual StatusCode initialize() override;
37  virtual StatusCode execute() override;
38  virtual StatusCode finalize() override;
39 
41 
42 private:
43 
45  const SCT_ID *m_SCT_ID;
46 
47  ToolHandle<IActsTrackingGeometryTool> m_trackingGeometryTool{this, "TrackingGeometryTool", "ActsTrackingGeometryTool"};
48 
49  Gaudi::Property<std::string> m_outputName{this, "OutputName", "transforms.csv", "Filename to write the transform output to"};
50  Gaudi::Property<bool> m_writeFullTransform{this,"WriteFullTransform",false,"Decide if full transformation needs to be written"};
51 };
52 
53 #endif
PixelID.h
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
SCT_ID.h
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
ActsWriteTrackingGeometryTransforms::ActsWriteTrackingGeometryTransforms
ActsWriteTrackingGeometryTransforms(const std::string &name, ISvcLocator *pSvcLocator)
Definition: ActsWriteTrackingGeometryTransforms.cxx:29
ActsWriteTrackingGeometryTransforms::m_trackingGeometryTool
ToolHandle< IActsTrackingGeometryTool > m_trackingGeometryTool
Definition: ActsWriteTrackingGeometryTransforms.h:47
ActsObjWriterTool.h
ActsWriteTrackingGeometryTransforms::m_outputName
Gaudi::Property< std::string > m_outputName
Definition: ActsWriteTrackingGeometryTransforms.h:49
AthAlgorithm.h
Acts
Definition: ChamberAssembleTool.h:18
ActsWriteTrackingGeometryTransforms::initialize
virtual StatusCode initialize() override
Definition: ActsWriteTrackingGeometryTransforms.cxx:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ActsWriteTrackingGeometryTransforms::execute
virtual StatusCode execute() override
Definition: ActsWriteTrackingGeometryTransforms.cxx:49
ActsWriteTrackingGeometryTransforms::m_writeFullTransform
Gaudi::Property< bool > m_writeFullTransform
Definition: ActsWriteTrackingGeometryTransforms.h:50
AthAlgorithm
Definition: AthAlgorithm.h:47
ActsWriteTrackingGeometryTransforms::~ActsWriteTrackingGeometryTransforms
virtual ~ActsWriteTrackingGeometryTransforms()=default
ActsWriteTrackingGeometryTransforms::m_pixelID
const PixelID * m_pixelID
Definition: ActsWriteTrackingGeometryTransforms.h:44
ActsWriteTrackingGeometryTransforms::m_SCT_ID
const SCT_ID * m_SCT_ID
Definition: ActsWriteTrackingGeometryTransforms.h:45
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SCT_ID
Definition: SCT_ID.h:68
ActsTrackingGeometryTool
Definition: ActsTrackingGeometryTool.h:30
ActsWriteTrackingGeometryTransforms::finalize
virtual StatusCode finalize() override
Definition: ActsWriteTrackingGeometryTransforms.cxx:148
ActsWriteTrackingGeometryTransforms
Definition: ActsWriteTrackingGeometryTransforms.h:33
PixelID
Definition: PixelID.h:67
IActsTrackingGeometryTool.h
IAthRNGSvc.h