ATLAS Offline Software
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
ActsGeometryContext Class Reference

Include the GeoPrimitives which need to be put first. More...

#include <ActsGeometryContext.h>

Collaboration diagram for ActsGeometryContext:

Public Types

using DetectorType = ActsTrk::DetectorType
 
using AlignmentStore = ActsTrk::DetectorAlignStore
 
using AlignmentStorePtr = GeoModel::TransientConstSharedPtr< AlignmentStore >
 

Public Member Functions

AlignmentStorePtrgetStore (const DetectorType type)
 Returns the mutable alignable store for the ATLAS detector type (Pixel, Mdt, etc.) More...
 
const AlignmentStorePtrgetStore (const DetectorType type) const
 Returns the const alignable store for the ATLAS detector type (Pixel, Mdt, etc.) More...
 
void setStore (AlignmentStorePtr store)
 Adds the store to the Geometry context. More...
 
Acts::GeometryContext context () const
 

Private Types

using SubDetAlignments = std::array< AlignmentStorePtr, static_cast< unsigned >(DetectorType::UnDefined)>
 

Private Attributes

SubDetAlignments m_alignmentStores {}
 

Detailed Description

Include the GeoPrimitives which need to be put first.

If the package is loaded in AthSimulation, the Acts library is not avaialble

ActsGeometry context carries all information related to the aboslute positions of the Readout geometry Per detector technology (e.g. Mdt), it contains an ActsTrk::DetectorAlignmentStore which carries pointers to the rigid alignment transfomrations of each FullPhysical volume representing the detector sensor envelope. Further, it carries the transformations for each tracking layer

Definition at line 27 of file ActsGeometryContext.h.

Member Typedef Documentation

◆ AlignmentStore

Definition at line 30 of file ActsGeometryContext.h.

◆ AlignmentStorePtr

Definition at line 31 of file ActsGeometryContext.h.

◆ DetectorType

Definition at line 29 of file ActsGeometryContext.h.

◆ SubDetAlignments

using ActsGeometryContext::SubDetAlignments = std::array<AlignmentStorePtr, static_cast<unsigned>(DetectorType::UnDefined)>
private

Definition at line 49 of file ActsGeometryContext.h.

Member Function Documentation

◆ context()

Acts::GeometryContext ActsGeometryContext::context ( ) const
inline

Definition at line 45 of file ActsGeometryContext.h.

45 { return Acts::GeometryContext(this); }

◆ getStore() [1/2]

AlignmentStorePtr& ActsGeometryContext::getStore ( const DetectorType  type)
inline

Returns the mutable alignable store for the ATLAS detector type (Pixel, Mdt, etc.)

Definition at line 33 of file ActsGeometryContext.h.

33  {
34  return m_alignmentStores[static_cast<unsigned>(type)];
35  }

◆ getStore() [2/2]

const AlignmentStorePtr& ActsGeometryContext::getStore ( const DetectorType  type) const
inline

Returns the const alignable store for the ATLAS detector type (Pixel, Mdt, etc.)

Definition at line 37 of file ActsGeometryContext.h.

37  {
38  return m_alignmentStores[static_cast<unsigned>(type)];
39  }

◆ setStore()

void ActsGeometryContext::setStore ( AlignmentStorePtr  store)
inline

Adds the store to the Geometry context.

Definition at line 41 of file ActsGeometryContext.h.

41  {
42  getStore(store->detType) = store;
43  }

Member Data Documentation

◆ m_alignmentStores

SubDetAlignments ActsGeometryContext::m_alignmentStores {}
private

Definition at line 50 of file ActsGeometryContext.h.


The documentation for this class was generated from the following file:
store
StoreGateSvc * store
Definition: fbtTestBasics.cxx:71
ActsGeometryContext::getStore
AlignmentStorePtr & getStore(const DetectorType type)
Returns the mutable alignable store for the ATLAS detector type (Pixel, Mdt, etc.)
Definition: ActsGeometryContext.h:33
ActsGeometryContext::m_alignmentStores
SubDetAlignments m_alignmentStores
Definition: ActsGeometryContext.h:50
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78