ATLAS Offline Software
GeometryTTreeDumper.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 // GeometryTTreeDumper.h, (c) ATLAS Detector software
8 
9 #ifndef TRKDETDESCRTOOLS_GEOMETRYTTREEDUMPER_H
10 #define TRKDETDESCRTOOLS_GEOMETRYTTREEDUMPER_H
11 
12 // Trk
14 // STL
15 #include <algorithm>
16 #include <string>
17 #include <fstream>
18 
20 class TTree;
21 
22 namespace Trk {
23 
24  class TrackingVolume;
25  class Layer;
26  class Surface;
27  class MaterialProperties;
28 
39  virtual public RecursiveGeometryProcessor {
40 
41  public:
43  GeometryTTreeDumper(const std::string&,const std::string&,const IInterface*);
44 
47 
48  private:
49 
51  StatusCode processNode(const TrackingVolume& tvol, size_t level=0) const;
52 
54  StatusCode processNode(const Layer& lay, size_t level=0) const;
55 
57  StatusCode processNode(const Surface&, size_t level=0) const;
58 
59  mutable TTree* m_currentTree;
60  std::string m_treeFolder;
61 
62  };
63 }
64 
65 #endif
66 
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
Surface
Definition: Trigger/TrigAccel/TrigCudaFitter/src/Surface.h:8
Trk::GeometryTTreeDumper
Definition: GeometryTTreeDumper.h:39
python.RingerConstants.Layer
Layer
Definition: RingerConstants.py:42
Trk::GeometryTTreeDumper::m_treeFolder
std::string m_treeFolder
where the tree is written to
Definition: GeometryTTreeDumper.h:60
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
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::GeometryTTreeDumper::~GeometryTTreeDumper
virtual ~GeometryTTreeDumper()
Destructor.
Trk::GeometryTTreeDumper::m_currentTree
TTree * m_currentTree
the tree for the currently processed tracking Volume
Definition: GeometryTTreeDumper.h:59
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::Layer
Definition: Layer.h:73