ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsPlugins::GeoModelTree Struct Reference

Holder struct to manage a GeoModel world. More...

#include </home/runner/work/acts/acts/Plugins/GeoModel/include/ActsPlugins/GeoModel/GeoModelTree.hpp>

Collaboration diagram for ActsPlugins::GeoModelTree:
[legend]

Classes

struct  VolumePublisher
 Helper struct to manage the list of published full physical volumes. More...

Public Types

using FpvConstLink = GeoIntrusivePtr<const GeoFullPhysVol>
 Const pointer to a GeoFullPhysVol.
using FpvLink = GeoIntrusivePtr<GeoFullPhysVol>
 Mutable pointer to a GeoFullPhysVol.

Public Member Functions

 GeoModelTree ()=default
 Empty default constructor.
 GeoModelTree (const std::shared_ptr< GMDBManager > &db)
 Constructor taking a shared pointer to an opened SQLite DB session.

Public Attributes

std::shared_ptr< GMDBManager > dbMgr {}
 Database manager used to construct the Root node and also to query information from additional tables.
std::shared_ptr< VolumePublisherpublisher
 Manager class of the published volumes per subsystem.
PVConstLink worldVolume {}
 Root node of the GeoModel world.
std::string worldVolumeName {"World"}
 Name of the Root node.

Detailed Description

Holder struct to manage a GeoModel world.

It holds the pointer to the root volume of the world and provides additional links to dedicated volumes inside the tree representing the sensors and chambers in a detector.

Constructor & Destructor Documentation

◆ GeoModelTree()

ActsPlugins::GeoModelTree::GeoModelTree ( const std::shared_ptr< GMDBManager > & db)
explicit

Constructor taking a shared pointer to an opened SQLite DB session.

Parameters
dbValid pointer to a GeoModel database manager

Member Data Documentation

◆ publisher

std::shared_ptr<VolumePublisher> ActsPlugins::GeoModelTree::publisher
Initial value:
{
std::make_shared<VolumePublisher>()}

Manager class of the published volumes per subsystem.