ATLAS Offline Software
Public Member Functions | Public Attributes | Private Attributes | List of all members
MuonReadoutGeomCnvAlg::ConstructionCache Struct Reference
Collaboration diagram for MuonReadoutGeomCnvAlg::ConstructionCache:

Public Member Functions

 ConstructionCache ()=default
 
GeoIntrusivePtr< GeoTransform > makeTransform (const Amg::Transform3D &trf)
 Transforms an Amg::Transform3D into a GeoModelTransform node If the transform has been shown before to the cache, it returns the precached node. More...
 
GeoIntrusivePtr< GeoIdentifierTag > newIdTag ()
 Returns an identifier tag. More...
 

Public Attributes

std::unique_ptr< MuonGM::MuonDetectorManagerdetMgr {}
 Pointer to the legacy MuonDetectorManager. More...
 
PVLink world {}
 Pointer to the world. More...
 
std::set< PVConstLink > translatedStations {}
 Set of all translated Physical volumes. More...
 

Private Attributes

std::set< GeoIntrusivePtr< GeoTransform >, GeoTrf::TransformSorter > m_trfPool {}
 
unsigned int m_id {0}
 

Detailed Description

Definition at line 41 of file MuonReadoutGeomCnvAlg.h.

Constructor & Destructor Documentation

◆ ConstructionCache()

MuonReadoutGeomCnvAlg::ConstructionCache::ConstructionCache ( )
default

Member Function Documentation

◆ makeTransform()

GeoIntrusivePtr<GeoTransform> MuonReadoutGeomCnvAlg::ConstructionCache::makeTransform ( const Amg::Transform3D trf)
inline

Transforms an Amg::Transform3D into a GeoModelTransform node If the transform has been shown before to the cache, it returns the precached node.

Definition at line 48 of file MuonReadoutGeomCnvAlg.h.

48  {
49  return *m_trfPool.insert(make_intrusive<GeoTransform>(trf)).first;
50  }

◆ newIdTag()

GeoIntrusivePtr<GeoIdentifierTag> MuonReadoutGeomCnvAlg::ConstructionCache::newIdTag ( )
inline

Returns an identifier tag.

Definition at line 58 of file MuonReadoutGeomCnvAlg.h.

58  {
59  return make_intrusive<GeoIdentifierTag>(++m_id);
60  }

Member Data Documentation

◆ detMgr

std::unique_ptr<MuonGM::MuonDetectorManager> MuonReadoutGeomCnvAlg::ConstructionCache::detMgr {}

Pointer to the legacy MuonDetectorManager.

Definition at line 52 of file MuonReadoutGeomCnvAlg.h.

◆ m_id

unsigned int MuonReadoutGeomCnvAlg::ConstructionCache::m_id {0}
private

Definition at line 63 of file MuonReadoutGeomCnvAlg.h.

◆ m_trfPool

std::set<GeoIntrusivePtr<GeoTransform>, GeoTrf::TransformSorter> MuonReadoutGeomCnvAlg::ConstructionCache::m_trfPool {}
private

Definition at line 62 of file MuonReadoutGeomCnvAlg.h.

◆ translatedStations

std::set<PVConstLink> MuonReadoutGeomCnvAlg::ConstructionCache::translatedStations {}

Set of all translated Physical volumes.

Definition at line 56 of file MuonReadoutGeomCnvAlg.h.

◆ world

PVLink MuonReadoutGeomCnvAlg::ConstructionCache::world {}

Pointer to the world.

Definition at line 54 of file MuonReadoutGeomCnvAlg.h.


The documentation for this struct was generated from the following file:
MuonReadoutGeomCnvAlg::ConstructionCache::m_id
unsigned int m_id
Definition: MuonReadoutGeomCnvAlg.h:63
CaloLCW_tf.trf
trf
Definition: CaloLCW_tf.py:20
MuonReadoutGeomCnvAlg::ConstructionCache::m_trfPool
std::set< GeoIntrusivePtr< GeoTransform >, GeoTrf::TransformSorter > m_trfPool
Definition: MuonReadoutGeomCnvAlg.h:62