DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::detail::VolumeManagerObject Class Reference

This structure describes the internal data of the volume manager object. More...

#include <VolumeManagerInterna.h>

Inheritance diagram for dd4hep::detail::VolumeManagerObject:
dd4hep::NamedObject

Public Member Functions

 VolumeManagerObject ()=default
 Default constructor. More...
 
 VolumeManagerObject (VolumeManagerObject &&copy)=delete
 No move constructor. More...
 
 VolumeManagerObject (const VolumeManagerObject &copy)=delete
 No copy constructor. More...
 
virtual ~VolumeManagerObject ()
 Default destructor. More...
 
VolumeManagerObjectoperator= (VolumeManagerObject &&copy)=delete
 No move assignment. More...
 
VolumeManagerObjectoperator= (const VolumeManagerObject &copy)=delete
 No copy assignment. More...
 
VolumeManagerContextsearch (const VolumeID &id) const
 Search the locally cached volumes for a matching ID. More...
 
void update (unsigned long tags, DetElement &det, void *param)
 Update callback when alignment has changed (called only for subdetectors....) More...
 
- Public Member Functions inherited from dd4hep::NamedObject
 NamedObject (const char *nam, const char *typ="")
 Initializing constructor. More...
 
 NamedObject (const std::string &nam)
 Initializing constructor. More...
 
 NamedObject (const std::string &nam, const std::string &typ)
 Initializing constructor. More...
 
 NamedObject ()=default
 Standard constructor. More...
 
 NamedObject (const NamedObject &c)=default
 Copy constructor. More...
 
 NamedObject (NamedObject &&c)=default
 Move constructor. More...
 
virtual ~NamedObject ()=default
 Default destructor. More...
 
NamedObjectoperator= (const NamedObject &c)=default
 Assignment operator. More...
 
NamedObjectoperator= (NamedObject &&c)=default
 Move assignment operator. More...
 
const char * GetName () const
 Access name. More...
 
void SetName (const char *nam)
 Set name (used by Handle) More...
 
void SetTitle (const char *tit)
 Set Title (used by Handle) More...
 
const char * GetTitle () const
 Get name (used by Handle) More...
 

Public Attributes

std::map< DetElement, VolumeManagersubdetectors
 The container of subdetector elements. More...
 
std::map< VolumeID, VolumeManagermanagers
 The volume managers for the individual subdetector elements. More...
 
std::map< VolumeID, VolumeManagerContext * > volumes
 The container of placements managed by this instance. More...
 
DetElement detector
 The Detector element handle managed by this instance. More...
 
IDDescriptor id
 The ID descriptor object. More...
 
VolumeManagerObjecttop = 0
 The reference to the TOP level VolumeManager. More...
 
const BitFieldElementsystem = 0
 The system field descriptor. More...
 
VolumeID sysID = 0
 System identifier. More...
 
VolumeID detMask = ~0x0ULL
 Sub-detector mask. More...
 
int flags = VolumeManager::NONE
 Population flags. More...
 
- Public Attributes inherited from dd4hep::NamedObject
std::string name
 The object name. More...
 
std::string type
 The object type. More...
 

Detailed Description

This structure describes the internal data of the volume manager object.

Author
M.Frank
Version
1.0

Definition at line 65 of file VolumeManagerInterna.h.

Constructor & Destructor Documentation

◆ VolumeManagerObject() [1/3]

dd4hep::detail::VolumeManagerObject::VolumeManagerObject ( )
default

Default constructor.

◆ VolumeManagerObject() [2/3]

dd4hep::detail::VolumeManagerObject::VolumeManagerObject ( VolumeManagerObject &&  copy)
delete

No move constructor.

◆ VolumeManagerObject() [3/3]

dd4hep::detail::VolumeManagerObject::VolumeManagerObject ( const VolumeManagerObject copy)
delete

No copy constructor.

◆ ~VolumeManagerObject()

VolumeManagerObject::~VolumeManagerObject ( )
virtual

Default destructor.

Cleanup volume tree

Cleanup dependent managers

Definition at line 717 of file VolumeManager.cpp.

Member Function Documentation

◆ operator=() [1/2]

VolumeManagerObject& dd4hep::detail::VolumeManagerObject::operator= ( const VolumeManagerObject copy)
delete

No copy assignment.

◆ operator=() [2/2]

VolumeManagerObject& dd4hep::detail::VolumeManagerObject::operator= ( VolumeManagerObject &&  copy)
delete

No move assignment.

◆ search()

VolumeManagerContext * VolumeManagerObject::search ( const VolumeID id) const

Search the locally cached volumes for a matching ID.

Definition at line 738 of file VolumeManager.cpp.

◆ update()

void VolumeManagerObject::update ( unsigned long  tags,
DetElement det,
void *  param 
)

Update callback when alignment has changed (called only for subdetectors....)

Definition at line 727 of file VolumeManager.cpp.

Member Data Documentation

◆ detector

DetElement dd4hep::detail::VolumeManagerObject::detector

The Detector element handle managed by this instance.

Definition at line 74 of file VolumeManagerInterna.h.

◆ detMask

VolumeID dd4hep::detail::VolumeManagerObject::detMask = ~0x0ULL

Sub-detector mask.

Definition at line 84 of file VolumeManagerInterna.h.

◆ flags

int dd4hep::detail::VolumeManagerObject::flags = VolumeManager::NONE

Population flags.

Definition at line 86 of file VolumeManagerInterna.h.

◆ id

IDDescriptor dd4hep::detail::VolumeManagerObject::id

The ID descriptor object.

Definition at line 76 of file VolumeManagerInterna.h.

◆ managers

std::map<VolumeID, VolumeManager> dd4hep::detail::VolumeManagerObject::managers

The volume managers for the individual subdetector elements.

Definition at line 70 of file VolumeManagerInterna.h.

◆ subdetectors

std::map<DetElement, VolumeManager> dd4hep::detail::VolumeManagerObject::subdetectors

The container of subdetector elements.

Definition at line 68 of file VolumeManagerInterna.h.

◆ sysID

VolumeID dd4hep::detail::VolumeManagerObject::sysID = 0

System identifier.

Definition at line 82 of file VolumeManagerInterna.h.

◆ system

const BitFieldElement* dd4hep::detail::VolumeManagerObject::system = 0

The system field descriptor.

Definition at line 80 of file VolumeManagerInterna.h.

◆ top

VolumeManagerObject* dd4hep::detail::VolumeManagerObject::top = 0

The reference to the TOP level VolumeManager.

Definition at line 78 of file VolumeManagerInterna.h.

◆ volumes

std::map<VolumeID, VolumeManagerContext*> dd4hep::detail::VolumeManagerObject::volumes

The container of placements managed by this instance.

Definition at line 72 of file VolumeManagerInterna.h.


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