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 28 of file ActsGeometryContext.h.

Member Typedef Documentation

◆ AlignmentStore

Definition at line 31 of file ActsGeometryContext.h.

◆ AlignmentStorePtr

Definition at line 32 of file ActsGeometryContext.h.

◆ DetectorType

Definition at line 30 of file ActsGeometryContext.h.

◆ SubDetAlignments

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

Definition at line 50 of file ActsGeometryContext.h.

Member Function Documentation

◆ context()

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

Definition at line 46 of file ActsGeometryContext.h.

46 { 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 34 of file ActsGeometryContext.h.

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

◆ 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 38 of file ActsGeometryContext.h.

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

◆ setStore()

void ActsGeometryContext::setStore ( AlignmentStorePtr  store)
inline

Adds the store to the Geometry context.

Definition at line 42 of file ActsGeometryContext.h.

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

Member Data Documentation

◆ m_alignmentStores

SubDetAlignments ActsGeometryContext::m_alignmentStores {}
private

Definition at line 51 of file ActsGeometryContext.h.


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