ATLAS Offline Software
Tracking
Acts
ActsGeometry
ActsGeometry
ActsObjWriterTool.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_ACTSOBJWRITERTOOL_H
6
#define ACTSGEOMETRY_ACTSOBJWRITERTOOL_H
7
8
#include <vector>
9
10
#include "GaudiKernel/IAlgTool.h"
11
#include "
AthenaBaseComps/AthAlgTool.h
"
12
#include "GaudiKernel/IInterface.h"
13
#include "
ActsGeometryInterfaces/ActsGeometryContext.h
"
14
#include "Gaudi/Property.h"
/*no forward decl: typedef*/
15
16
17
namespace
Acts
{
18
19
class
TrackingGeometry;
20
class
ObjTrackingGeometryWriter;
21
22
}
23
24
static
const
InterfaceID IID_ActsObjWriterTool(
"ActsObjWriterTool"
, 1, 0);
25
26
class
ActsObjWriterTool
:
public
AthAlgTool
27
{
28
29
public
:
30
31
static
const
InterfaceID&
interfaceID
(){
return
IID_ActsObjWriterTool;}
32
33
StatusCode
initialize
()
override
;
34
35
ActsObjWriterTool
(
const
std::string&
type
,
const
std::string&
name
,
36
const
IInterface*
parent
);
37
38
void
39
write
(
const
ActsGeometryContext
& gctx,
const
Acts::TrackingGeometry&)
const
;
40
41
private
:
42
43
Gaudi::Property<std::string>
m_outputDirectory
{
this
,
"OutputDirectory"
,
"."
,
""
};
44
Gaudi::Property<std::vector<std::string>>
m_subDetectors
{
this
,
"SubDetectors"
, {},
""
};
45
46
std::shared_ptr<Acts::ObjTrackingGeometryWriter>
m_tgObjWriter
;
47
48
49
};
50
51
#endif
ActsObjWriterTool::m_subDetectors
Gaudi::Property< std::vector< std::string > > m_subDetectors
Definition:
ActsObjWriterTool.h:44
ActsObjWriterTool::m_outputDirectory
Gaudi::Property< std::string > m_outputDirectory
Definition:
ActsObjWriterTool.h:43
ActsGeometryContext.h
ActsObjWriterTool::m_tgObjWriter
std::shared_ptr< Acts::ObjTrackingGeometryWriter > m_tgObjWriter
Definition:
ActsObjWriterTool.h:46
ActsObjWriterTool::initialize
StatusCode initialize() override
Definition:
ActsObjWriterTool.cxx:32
Acts
Definition:
ChamberAssembleTool.h:18
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ActsObjWriterTool
Definition:
ActsObjWriterTool.h:27
AthAlgTool.h
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
ActsObjWriterTool::write
void write(const ActsGeometryContext &gctx, const Acts::TrackingGeometry &) const
Definition:
ActsObjWriterTool.cxx:40
ActsObjWriterTool::interfaceID
static const InterfaceID & interfaceID()
Definition:
ActsObjWriterTool.h:31
ActsGeometryContext
Include the GeoPrimitives which need to be put first.
Definition:
ActsGeometryContext.h:27
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
ActsObjWriterTool::ActsObjWriterTool
ActsObjWriterTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
ActsObjWriterTool.cxx:23
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
AthAlgTool
Definition:
AthAlgTool.h:26
Generated on Fri Jan 10 2025 21:06:33 for ATLAS Offline Software by
1.8.18