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>
using FpvLink = GeoIntrusivePtr<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.

Member Typedef Documentation

◆ FpvConstLink

using ActsPlugins::GeoModelTree::FpvConstLink = GeoIntrusivePtr<const GeoFullPhysVol>

◆ FpvLink

using ActsPlugins::GeoModelTree::FpvLink = GeoIntrusivePtr<GeoFullPhysVol>

Constructor & Destructor Documentation

◆ GeoModelTree() [1/2]

ActsPlugins::GeoModelTree::GeoModelTree ( )
default

Empty default constructor.

◆ GeoModelTree() [2/2]

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

◆ dbMgr

std::shared_ptr<GMDBManager> ActsPlugins::GeoModelTree::dbMgr {}

Database manager used to construct the Root node and also to query information from additional tables.

◆ publisher

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

Manager class of the published volumes per subsystem.

◆ worldVolume

PVConstLink ActsPlugins::GeoModelTree::worldVolume {}

Root node of the GeoModel world.

◆ worldVolumeName

std::string ActsPlugins::GeoModelTree::worldVolumeName {"World"}

Name of the Root node.