ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
ATLASMagneticFieldWrapper::Cache Struct Reference

#include <ATLASMagneticFieldWrapper.h>

Collaboration diagram for ATLASMagneticFieldWrapper::Cache:

Public Member Functions

 Cache (const Acts::MagneticFieldContext mctx)
 

Public Attributes

MagField::AtlasFieldCache fieldCache
 

Detailed Description

Definition at line 19 of file ATLASMagneticFieldWrapper.h.

Constructor & Destructor Documentation

◆ Cache()

ATLASMagneticFieldWrapper::Cache::Cache ( const Acts::MagneticFieldContext  mctx)
inline

Definition at line 21 of file ATLASMagneticFieldWrapper.h.

21  {
22  const auto* atlasField = mctx.get<const AtlasFieldCacheCondObj*>();
23  atlasField->getInitializedCache(fieldCache);
24 
25  }

Member Data Documentation

◆ fieldCache

MagField::AtlasFieldCache ATLASMagneticFieldWrapper::Cache::fieldCache

Definition at line 27 of file ATLASMagneticFieldWrapper.h.


The documentation for this struct was generated from the following file:
AtlasFieldCacheCondObj
Definition: AtlasFieldCacheCondObj.h:19
ATLASMagneticFieldWrapper::Cache::fieldCache
MagField::AtlasFieldCache fieldCache
Definition: ATLASMagneticFieldWrapper.h:27
AtlasFieldCacheCondObj::getInitializedCache
void getInitializedCache(MagField::AtlasFieldCache &cache) const
get B field cache for evaluation as a function of 2-d (solenoid) or 3-d (toroid) position.
Definition: AtlasFieldCacheCondObj.h:52