ATLAS Offline Software
Public Member Functions | Protected Attributes | Private Attributes | List of all members
Trk::ILayerMaterialCreator Class Referenceabstract

#include <ILayerMaterialCreator.h>

Inheritance diagram for Trk::ILayerMaterialCreator:
Collaboration diagram for Trk::ILayerMaterialCreator:

Public Member Functions

 DeclareInterfaceID (ILayerMaterialCreator, 1, 0)
 
virtual ~ILayerMaterialCreator ()
 Virtual destructor. More...
 
virtual LayerMaterialPropertiescreateLayerMaterial (const LayerMaterialRecord &lmr) const =0
 process the material properties More...
 
virtual LayerMaterialPropertiesconvertLayerMaterial (const LayerMaterialProperties &lmr) const =0
 create layer material properties from layer material properties More...
 
const std::string & layerMaterialName () const
 the name of the created material map More...
 

Protected Attributes

std::string m_layerMaterialName
 
std::string m_layerMaterialDirectory
 

Private Attributes

CxxUtils::CachedValue< std::string > m_layerMaterialFullName
 

Detailed Description

Interface class for LayerMaterialCreator AlgTools to create LayerMaterial properties with different strategies.

Author
Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch

Definition at line 32 of file ILayerMaterialCreator.h.

Constructor & Destructor Documentation

◆ ~ILayerMaterialCreator()

virtual Trk::ILayerMaterialCreator::~ILayerMaterialCreator ( )
inlinevirtual

Virtual destructor.

Definition at line 38 of file ILayerMaterialCreator.h.

38 {}

Member Function Documentation

◆ convertLayerMaterial()

virtual LayerMaterialProperties* Trk::ILayerMaterialCreator::convertLayerMaterial ( const LayerMaterialProperties lmr) const
pure virtual

create layer material properties from layer material properties

Implemented in Trk::CompressedLayerMaterialCreator, Trk::CompoundLayerMaterialCreator, and Trk::BinnedLayerMaterialCreator.

◆ createLayerMaterial()

virtual LayerMaterialProperties* Trk::ILayerMaterialCreator::createLayerMaterial ( const LayerMaterialRecord lmr) const
pure virtual

◆ DeclareInterfaceID()

Trk::ILayerMaterialCreator::DeclareInterfaceID ( ILayerMaterialCreator  ,
,
 
)

◆ layerMaterialName()

const std::string& Trk::ILayerMaterialCreator::layerMaterialName ( ) const
inline

the name of the created material map

Definition at line 47 of file ILayerMaterialCreator.h.

Member Data Documentation

◆ m_layerMaterialDirectory

std::string Trk::ILayerMaterialCreator::m_layerMaterialDirectory
protected

Definition at line 56 of file ILayerMaterialCreator.h.

◆ m_layerMaterialFullName

CxxUtils::CachedValue<std::string> Trk::ILayerMaterialCreator::m_layerMaterialFullName
private

Definition at line 59 of file ILayerMaterialCreator.h.

◆ m_layerMaterialName

std::string Trk::ILayerMaterialCreator::m_layerMaterialName
protected

Definition at line 55 of file ILayerMaterialCreator.h.


The documentation for this class was generated from the following file:
CxxUtils::CachedValue::ptr
const T * ptr() const
Return a pointer to the cached value.
CxxUtils::CachedValue::isValid
bool isValid() const
Test to see if the value is valid.
Trk::ILayerMaterialCreator::m_layerMaterialDirectory
std::string m_layerMaterialDirectory
Definition: ILayerMaterialCreator.h:56
Trk::ILayerMaterialCreator::m_layerMaterialFullName
CxxUtils::CachedValue< std::string > m_layerMaterialFullName
Definition: ILayerMaterialCreator.h:59
Trk::ILayerMaterialCreator::m_layerMaterialName
std::string m_layerMaterialName
Definition: ILayerMaterialCreator.h:55
CxxUtils::CachedValue::set
void set(const T &val) const
Set the value, assuming it is currently invalid.