ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkDetDescr
TrkDetDescrTestTools
TrkDetDescrTestTools
GeometryAsciiDumper.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// GeometryAsciiDumper.h, (c) ATLAS Detector software
8
9
#ifndef TRKDETDESCRTOOLS_GEOMETRYASCIIDUMPER_H
10
#define TRKDETDESCRTOOLS_GEOMETRYASCIIDUMPER_H
11
12
// Trk
13
#include "
TrkDetDescrTestTools/RecursiveGeometryProcessor.h
"
14
// STL
15
#include <algorithm>
16
#include <string>
17
#include <fstream>
18
#include "
CxxUtils/checker_macros.h
"
19
class
TTree;
20
21
namespace
Trk
{
22
23
class
TrackingVolume
;
24
class
Layer
;
25
class
Surface
;
26
35
36
class
ATLAS_NOT_THREAD_SAFE
GeometryAsciiDumper
:
//mutable
37
virtual
public
RecursiveGeometryProcessor
{
38
39
public
:
40
42
using
RecursiveGeometryProcessor::RecursiveGeometryProcessor
;
43
45
StatusCode
initialize
();
46
48
StatusCode
finalize
();
49
50
private
:
51
53
StatusCode
processNode
(
const
TrackingVolume
& tvol,
size_t
level=0)
const
;
54
56
StatusCode
processNode
(
const
Layer
& lay,
size_t
level=0)
const
;
57
59
StatusCode
processNode
(
const
Surface
&,
size_t
level=0)
const
;
60
61
mutable
std::ofstream
m_outputFile
;
62
Gaudi::Property<std::string>
m_outputFileName
63
{
this
,
"OutputFileName"
,
"TrackingGeometryAscii.txt"
};
64
Gaudi::Property<int>
m_outputPrecision
{
this
,
"OutputPrecision"
, 6};
65
66
};
67
}
68
69
#endif
70
RecursiveGeometryProcessor.h
checker_macros.h
Define macros for attributes used to control the static checker.
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
Trk::GeometryAsciiDumper
The GeometryAsciiDumper writes geometrical information of the tracking geomtetry into an Ascii file f...
Definition
GeometryAsciiDumper.h:37
Trk::GeometryAsciiDumper::RecursiveGeometryProcessor
RecursiveGeometryProcessor(const std::string &, const std::string &, const IInterface *)
Constructor.
Definition
RecursiveGeometryProcessor.cxx:20
Trk::GeometryAsciiDumper::m_outputPrecision
Gaudi::Property< int > m_outputPrecision
Definition
GeometryAsciiDumper.h:64
Trk::GeometryAsciiDumper::processNode
StatusCode processNode(const TrackingVolume &tvol, size_t level=0) const
Current implementation: write root visualization to file stream.
Definition
GeometryAsciiDumper.cxx:45
Trk::GeometryAsciiDumper::m_outputFile
std::ofstream m_outputFile
Definition
GeometryAsciiDumper.h:61
Trk::GeometryAsciiDumper::m_outputFileName
Gaudi::Property< std::string > m_outputFileName
Definition
GeometryAsciiDumper.h:63
Trk::GeometryAsciiDumper::finalize
StatusCode finalize()
AlgTool finalize method.
Definition
GeometryAsciiDumper.cxx:34
Trk::Layer
Base Class for a Detector Layer in the Tracking realm.
Definition
Layer.h:72
Trk::RecursiveGeometryProcessor::RecursiveGeometryProcessor
RecursiveGeometryProcessor(const std::string &, const std::string &, const IInterface *)
Constructor.
Definition
RecursiveGeometryProcessor.cxx:20
Trk::Surface
Abstract Base Class for tracking surfaces.
Definition
Surface.h:79
Trk::TrackingVolume
Full Volume description used in Tracking, it inherits from Volume to get the geometrical structure,...
Definition
TrackingVolume.h:119
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0