EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::ObjTrackingGeometryWriter Class Reference

#include <acts/blob/sPHENIX/Examples/Io/Obj/include/ActsExamples/Plugins/Obj/ObjTrackingGeometryWriter.hpp>

+ Collaboration diagram for ActsExamples::ObjTrackingGeometryWriter:

Classes

class  Config
 

Public Member Functions

 ObjTrackingGeometryWriter (const Config &cfg)
 
std::string name () const
 
ActsExamples::ProcessCode write (const AlgorithmContext &context, const Acts::TrackingGeometry &tGeometry)
 

Private Member Functions

void write (const AlgorithmContext &context, const Acts::TrackingVolume &tVolume)
 
const Acts::Loggerlogger () const
 Private access to the logging instance.
 

Private Attributes

Config m_cfg
 the config class
 

Detailed Description

An Obj writer for the geometry: TrackingGeometry master It delegates the writing of surfaces to the surface writers

Definition at line 31 of file ObjTrackingGeometryWriter.hpp.

View newest version in sPHENIX GitHub at line 31 of file ObjTrackingGeometryWriter.hpp

Constructor & Destructor Documentation

ActsExamples::ObjTrackingGeometryWriter::ObjTrackingGeometryWriter ( const Config cfg)

Constructor

Parameters
cfgis the configuration class

Definition at line 19 of file ObjTrackingGeometryWriter.cpp.

View newest version in sPHENIX GitHub at line 19 of file ObjTrackingGeometryWriter.cpp

Member Function Documentation

const Acts::Logger& ActsExamples::ObjTrackingGeometryWriter::logger ( ) const
inlineprivate

Private access to the logging instance.

Definition at line 81 of file ObjTrackingGeometryWriter.hpp.

View newest version in sPHENIX GitHub at line 81 of file ObjTrackingGeometryWriter.hpp

References ActsExamples::ObjTrackingGeometryWriter::Config::logger, and m_cfg.

std::string ActsExamples::ObjTrackingGeometryWriter::name ( ) const

Framework name() method

Returns
the name of the tool

Definition at line 23 of file ObjTrackingGeometryWriter.cpp.

View newest version in sPHENIX GitHub at line 23 of file ObjTrackingGeometryWriter.cpp

Referenced by eicpy.verify.PythiaHistograms::__init__(), and eicpy.verify.DjangohHistograms::__init__().

+ Here is the caller graph for this function:

ActsExamples::ProcessCode ActsExamples::ObjTrackingGeometryWriter::write ( const AlgorithmContext context,
const Acts::TrackingGeometry tGeometry 
)

The write interface

Parameters
contextthe Algorithm/Event context of this call
tGeometryis the geometry to be written out
Returns
ProcessCode to indicate success/failure

Definition at line 27 of file ObjTrackingGeometryWriter.cpp.

View newest version in sPHENIX GitHub at line 27 of file ObjTrackingGeometryWriter.cpp

References ACTS_DEBUG, Acts::TrackingGeometry::highestTrackingVolume(), SUCCESS, Acts::Test::world, and tree::write().

+ Here is the call graph for this function:

void ActsExamples::ObjTrackingGeometryWriter::write ( const AlgorithmContext context,
const Acts::TrackingVolume tVolume 
)
private

process this volume

Parameters
contextthe Algorithm/Event context for this call
tVolumethe volume to be processed

Definition at line 38 of file ObjTrackingGeometryWriter.cpp.

View newest version in sPHENIX GitHub at line 38 of file ObjTrackingGeometryWriter.cpp

References ACTS_DEBUG, Acts::GeometryView3D::drawTrackingVolume(), and ActsExamples::AlgorithmContext::geoContext.

+ Here is the call graph for this function:

Member Data Documentation

Config ActsExamples::ObjTrackingGeometryWriter::m_cfg
private

the config class

Definition at line 72 of file ObjTrackingGeometryWriter.hpp.

View newest version in sPHENIX GitHub at line 72 of file ObjTrackingGeometryWriter.hpp

Referenced by logger().


The documentation for this class was generated from the following files: