ATLAS Offline Software
Loading...
Searching...
No Matches
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>
19class TTree;
20
21namespace Trk {
22
23 class TrackingVolume;
24 class Layer;
25 class Surface;
26
35
37 virtual public RecursiveGeometryProcessor {
38
39 public:
40
42 GeometryAsciiDumper(const std::string&,const std::string&,const IInterface*);
43
46
48 StatusCode initialize();
49
51 StatusCode finalize();
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
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
GeometryAsciiDumper(const std::string &, const std::string &, const IInterface *)
Constructor.
virtual ~GeometryAsciiDumper()
Destructor.
StatusCode processNode(const TrackingVolume &tvol, size_t level=0) const
Current implementation: write root visualization to file stream.
StatusCode finalize()
AlgTool finalize method.
std::string m_outputFileName
where the tree is written to
Base Class for a Detector Layer in the Tracking realm.
Definition Layer.h:72
RecursiveGeometryProcessor(const std::string &, const std::string &, const IInterface *)
Constructor.
Abstract Base Class for tracking surfaces.
Definition Surface.h:79
Full Volume description used in Tracking, it inherits from Volume to get the geometrical structure,...
Ensure that the ATLAS eigen extensions are properly loaded.
void initialize()