ATLAS Offline Software
GeometryAsciiDumper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 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
14 // STL
15 #include <algorithm>
16 #include <string>
17 #include <fstream>
19 class TTree;
20 
21 namespace Trk {
22 
23  class TrackingVolume;
24  class Layer;
25  class Surface;
26 
37  virtual public RecursiveGeometryProcessor {
38 
39  public:
40 
42  GeometryAsciiDumper(const std::string&,const std::string&,const IInterface*);
43 
46 
49 
52 
53  private:
54 
56  StatusCode processNode(const TrackingVolume& tvol, size_t level=0) const;
57 
59  StatusCode processNode(const Layer& lay, size_t level=0) const;
60 
62  StatusCode processNode(const Surface&, size_t level=0) const;
63 
64  mutable std::ofstream m_outputFile;
65  std::string m_outputFileName;
67 
68  };
69 }
70 
71 #endif
72 
python.tests.PyTestsLib.finalize
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Definition: PyTestsLib.py:50
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
Surface
Definition: Trigger/TrigAccel/TrigCudaFitter/src/Surface.h:8
Trk::GeometryAsciiDumper
Definition: GeometryAsciiDumper.h:37
Trk::GeometryAsciiDumper::~GeometryAsciiDumper
virtual ~GeometryAsciiDumper()
Destructor.
python.RingerConstants.Layer
Layer
Definition: RingerConstants.py:42
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
Trk::GeometryAsciiDumper::m_outputPrecision
int m_outputPrecision
Definition: GeometryAsciiDumper.h:66
Trk::GeometryAsciiDumper::m_outputFile
std::ofstream m_outputFile
Definition: GeometryAsciiDumper.h:64
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
RecursiveGeometryProcessor.h
Trk::RecursiveGeometryProcessor
Definition: RecursiveGeometryProcessor.h:39
Trk::Surface
Definition: Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h:75
checker_macros.h
Define macros for attributes used to control the static checker.
Trk::TrackingVolume
Definition: TrackingVolume.h:121
Trk::GeometryAsciiDumper::m_outputFileName
std::string m_outputFileName
where the tree is written to
Definition: GeometryAsciiDumper.h:65
Trk::Layer
Definition: Layer.h:73