ATLAS Offline Software
Loading...
Searching...
No Matches
AtlasFieldCacheCondObj Class Reference

#include <AtlasFieldCacheCondObj.h>

Collaboration diagram for AtlasFieldCacheCondObj:

Public Member Functions

 AtlasFieldCacheCondObj ()=default
 AtlasFieldCacheCondObj (AtlasFieldCacheCondObj &&)=default
AtlasFieldCacheCondObjoperator= (AtlasFieldCacheCondObj &&)=default
AtlasFieldCacheCondObjoperator= (const AtlasFieldCacheCondObj &)=default
 AtlasFieldCacheCondObj (const AtlasFieldCacheCondObj &)=default
 ~AtlasFieldCacheCondObj ()=default
void getInitializedCache (MagField::AtlasFieldCache &cache) const
 get B field cache for evaluation as a function of 2-d or 3-d position.
double solenoidFieldScaleFactor () const
 access to solenoid field scale factor
double toriodFieldScaleFactor () const
 access to toroid field scale factor
const MagField::AtlasFieldMapfieldMap () const
 access to non-owning AtlasFieldMap
void initialize (double solFieldScale, double torFieldScale, const MagField::AtlasFieldMap *fieldMap)
 set values for field scale and service to be able to build the cache

Private Attributes

double m_solFieldScale {1}
double m_torFieldScale {1}
const MagField::AtlasFieldMapm_fieldMap {nullptr}

Detailed Description

Definition at line 19 of file AtlasFieldCacheCondObj.h.

Constructor & Destructor Documentation

◆ AtlasFieldCacheCondObj() [1/3]

AtlasFieldCacheCondObj::AtlasFieldCacheCondObj ( )
default

◆ AtlasFieldCacheCondObj() [2/3]

AtlasFieldCacheCondObj::AtlasFieldCacheCondObj ( AtlasFieldCacheCondObj && )
default

◆ AtlasFieldCacheCondObj() [3/3]

AtlasFieldCacheCondObj::AtlasFieldCacheCondObj ( const AtlasFieldCacheCondObj & )
default

◆ ~AtlasFieldCacheCondObj()

AtlasFieldCacheCondObj::~AtlasFieldCacheCondObj ( )
default

Member Function Documentation

◆ fieldMap()

const MagField::AtlasFieldMap * AtlasFieldCacheCondObj::fieldMap ( ) const
inline

access to non-owning AtlasFieldMap

Definition at line 43 of file AtlasFieldCacheCondObj.h.

43{ return m_fieldMap; }
const MagField::AtlasFieldMap * m_fieldMap

◆ getInitializedCache()

void AtlasFieldCacheCondObj::getInitializedCache ( MagField::AtlasFieldCache & cache) const
inline

get B field cache for evaluation as a function of 2-d or 3-d position.

Resets cache to an initialized state

Definition at line 32 of file AtlasFieldCacheCondObj.h.

32 {
33 cache = MagField::AtlasFieldCache(m_solFieldScale, m_torFieldScale, m_fieldMap);
34 }

◆ initialize()

void AtlasFieldCacheCondObj::initialize ( double solFieldScale,
double torFieldScale,
const MagField::AtlasFieldMap * fieldMap )
inline

set values for field scale and service to be able to build the cache

Definition at line 46 of file AtlasFieldCacheCondObj.h.

47 {
48
49 m_solFieldScale = solFieldScale;
50 m_torFieldScale = torFieldScale;
52 }
const MagField::AtlasFieldMap * fieldMap() const
access to non-owning AtlasFieldMap

◆ operator=() [1/2]

AtlasFieldCacheCondObj & AtlasFieldCacheCondObj::operator= ( AtlasFieldCacheCondObj && )
default

◆ operator=() [2/2]

AtlasFieldCacheCondObj & AtlasFieldCacheCondObj::operator= ( const AtlasFieldCacheCondObj & )
default

◆ solenoidFieldScaleFactor()

double AtlasFieldCacheCondObj::solenoidFieldScaleFactor ( ) const
inline

access to solenoid field scale factor

Definition at line 37 of file AtlasFieldCacheCondObj.h.

37{ return m_solFieldScale; }

◆ toriodFieldScaleFactor()

double AtlasFieldCacheCondObj::toriodFieldScaleFactor ( ) const
inline

access to toroid field scale factor

Definition at line 40 of file AtlasFieldCacheCondObj.h.

40{ return m_torFieldScale; }

Member Data Documentation

◆ m_fieldMap

const MagField::AtlasFieldMap* AtlasFieldCacheCondObj::m_fieldMap {nullptr}
private

Definition at line 58 of file AtlasFieldCacheCondObj.h.

58{nullptr};

◆ m_solFieldScale

double AtlasFieldCacheCondObj::m_solFieldScale {1}
private

Definition at line 55 of file AtlasFieldCacheCondObj.h.

55{1};

◆ m_torFieldScale

double AtlasFieldCacheCondObj::m_torFieldScale {1}
private

Definition at line 56 of file AtlasFieldCacheCondObj.h.

56{1};

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