ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
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. More...
 
double solenoidFieldScaleFactor () const
 access to solenoid field scale factor More...
 
double toriodFieldScaleFactor () const
 access to toroid field scale factor More...
 
const MagField::AtlasFieldMapfieldMap () const
 access to non-owning AtlasFieldMap More...
 
void initialize (double solFieldScale, double torFieldScale, const MagField::AtlasFieldMap *fieldMap)
 set values for field scale and service to be able to build the cache More...
 

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; }

◆ 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.

◆ 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  }

◆ 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.

◆ m_solFieldScale

double AtlasFieldCacheCondObj::m_solFieldScale {1}
private

Definition at line 55 of file AtlasFieldCacheCondObj.h.

◆ m_torFieldScale

double AtlasFieldCacheCondObj::m_torFieldScale {1}
private

Definition at line 56 of file AtlasFieldCacheCondObj.h.


The documentation for this class was generated from the following file:
AtlasFieldCacheCondObj::fieldMap
const MagField::AtlasFieldMap * fieldMap() const
access to non-owning AtlasFieldMap
Definition: AtlasFieldCacheCondObj.h:43
AtlasFieldCacheCondObj::m_solFieldScale
double m_solFieldScale
Definition: AtlasFieldCacheCondObj.h:55
AtlasFieldCacheCondObj::m_fieldMap
const MagField::AtlasFieldMap * m_fieldMap
Definition: AtlasFieldCacheCondObj.h:58
MagField::AtlasFieldCache
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
Definition: AtlasFieldCache.h:43
AtlasFieldCacheCondObj::m_torFieldScale
double m_torFieldScale
Definition: AtlasFieldCacheCondObj.h:56