21#include "GaudiKernel/ITHistSvc.h"
64 return StatusCode::SUCCESS;
79 if (referenceSurface){
94 double cx = sf->center().x();
95 double cy = sf->center().y();
96 double cz = sf->center().z();
98 auto ea = sf->transform().rotation().eulerAngles(0, 1, 2);
102 m_outputFile <<
"[" << cx <<
"," << cy <<
"," << cz <<
"],[" << e0 <<
"," << e1 <<
"," << e2 <<
"]";
111 return StatusCode::SUCCESS;
119 return StatusCode::SUCCESS;
#define ATH_MSG_VERBOSE(x)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
virtual std::span< T *const > arrayObjects()=0
Return all objects of the Array non-const we can still modify the T.
std::ofstream m_outputFile
StatusCode finalize()
AlgTool finalize method.
virtual ~GeometryJsonDumper()
Destructor.
std::string m_outputFileName
where the tree is written to
StatusCode initialize()
AlgTool initialize method.
GeometryJsonDumper(const std::string &, const std::string &, const IInterface *)
Constructor.
StatusCode processNode(const TrackingVolume &tvol, size_t level=0) const
Current implementation: write root visualization to file stream.
int value() const
layerIndex expressed in an integer
Base Class for a Detector Layer in the Tracking realm.
const SurfaceArray * surfaceArray() const
Return the entire SurfaceArray, returns nullptr if no SurfaceArray.
const LayerIndex & layerIndex() const
get the layerIndex
const Surface * subSurfaceReference(unsigned int idx=0) const
Return a reference sub surface of the layer, usually the first one in the array.
Bounds for a rectangular, planar surface.
double halflengthX() const
for consistant naming
double halflengthY() const
for consitant naming
RecursiveGeometryProcessor(const std::string &, const std::string &, const IInterface *)
Constructor.
StatusCode initialize()
AlgTool initialize method.
StatusCode finalize()
AlgTool finalize method.
Abstract Base Class for tracking surfaces.
virtual const SurfaceBounds & bounds() const =0
Surface Bounds method.
Full Volume description used in Tracking, it inherits from Volume to get the geometrical structure,...
Ensure that the ATLAS eigen extensions are properly loaded.