algorithms  2.2.0
Framework-independent algorithms for the EIC
Loading...
Searching...
No Matches
algorithms::GeoSvc Class Reference

#include <algorithms/geo.h>

Inheritance diagram for algorithms::GeoSvc:
[legend]

Public Member Functions

void init (const dd4hep::Detector *=nullptr)
gsl::not_null< const dd4hep::Detector * > detector () const
dd4hep::DetElement world () const
gsl::not_null< const dd4hep::rec::CellIDPositionConverter * > cellIDPositionConverter () const
Public Member Functions inherited from algorithms::Service< GeoSvc >
 Service (std::string_view name)
Public Member Functions inherited from algorithms::ServiceBase
bool ready () const
void ready (bool state)
Public Member Functions inherited from algorithms::Configurable
template<typename T>
void setProperty (std::string_view name, T &&value)
template<typename T>
T getProperty (std::string_view name) const
const PropertyMap & getProperties () const
bool hasProperty (std::string_view name) const
auto missingProperties () const
void validate () const
Public Member Functions inherited from algorithms::NameMixin
 NameMixin (std::string_view name, std::string_view description)
std::string_view name () const
std::string_view description () const
Public Member Functions inherited from algorithms::LoggerMixin
 LoggerMixin (std::string_view caller, const LogLevel threshold=LogSvc::instance().defaultLevel())
 LoggerMixin (const LoggerMixin &)=delete
LoggerMixin & operator= (const LoggerMixin &)=delete
void level (const LogLevel threshold)
LogLevel level () const

Additional Inherited Members

Public Types inherited from algorithms::Configurable
using PropertyMap = std::map<std::string_view, PropertyBase&>
Static Public Member Functions inherited from algorithms::Service< GeoSvc >
static GeoSvc & instance ()
Protected Member Functions inherited from algorithms::LoggedService< GeoSvc >
 LoggedService (std::string_view name)
Protected Member Functions inherited from algorithms::LoggerMixin
detail::LoggerStream critical () const
detail::LoggerStream error () const
detail::LoggerStream warning () const
detail::LoggerStream info () const
detail::LoggerStream debug () const
detail::LoggerStream trace () const
void critical (std::string_view msg) const
void error (std::string_view msg) const
void warning (std::string_view msg) const
void info (std::string_view msg) const
void debug (std::string_view msg) const
void trace (std::string_view msg) const
template<typename ... T>
constexpr void critical (fmt::format_string< T... > fmt, T &&... args) const
template<typename ... T>
constexpr void error (fmt::format_string< T... > fmt, T &&... args) const
template<typename ... T>
constexpr void warning (fmt::format_string< T... > fmt, T &&... args) const
template<typename ... T>
constexpr void info (fmt::format_string< T... > fmt, T &&... args) const
template<typename ... T>
constexpr void debug (fmt::format_string< T... > fmt, T &&... args) const
template<typename ... T>
constexpr void trace (fmt::format_string< T... > fmt, T &&... args) const
bool aboveCriticalThreshold () const
bool aboveErrorThreshold () const
bool aboveWarningThreshold () const
bool aboveInfoThreshold () const
bool aboveDebugThreshold () const
bool aboveTraceThreshold () const
template<class ErrorType = Error>
void raise (std::string_view msg) const
template<LogLevel l, typename ... T>
constexpr void report_fmt (fmt::format_string< T... > fmt, T &&... args) const
Static Protected Member Functions inherited from algorithms::LoggerMixin
static std::ostream & endmsg (std::ostream &os)

Detailed Description

Definition at line 21 of file geo.h.

Member Function Documentation

◆ cellIDPositionConverter()

gsl::not_null< const dd4hep::rec::CellIDPositionConverter * > algorithms::GeoSvc::cellIDPositionConverter ( ) const
inline

Definition at line 31 of file geo.h.

◆ detector()

gsl::not_null< const dd4hep::Detector * > algorithms::GeoSvc::detector ( ) const
inline

Definition at line 29 of file geo.h.

◆ init()

void algorithms::GeoSvc::init ( const dd4hep::Detector * det = nullptr)

Definition at line 10 of file geo.cpp.

◆ world()

dd4hep::DetElement algorithms::GeoSvc::world ( ) const
inline

Definition at line 30 of file geo.h.


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