Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Test::SurfaceMaterialStub Class Reference
+ Inheritance diagram for Acts::Test::SurfaceMaterialStub:
+ Collaboration diagram for Acts::Test::SurfaceMaterialStub:

Private Member Functions

ISurfaceMaterialoperator*= (double) override
 
const MaterialSlabmaterialSlab (const Vector2 &) const override
 
const MaterialSlabmaterialSlab (const Vector3 &) const override
 
const MaterialSlabmaterialSlab (size_t, size_t) const override
 
std::ostream & toStream (std::ostream &sl) const override
 Output Method for std::ostream, to be overloaded by child classes.
 

Private Attributes

MaterialSlab m_fullMaterial {}
 

Additional Inherited Members

- Public Member Functions inherited from Acts::ISurfaceMaterial
 ISurfaceMaterial ()=default
 Constructor.
 
 ISurfaceMaterial (double splitFactor)
 
 ISurfaceMaterial (double splitFactor, Acts::MappingType mappingType)
 
virtual ~ISurfaceMaterial ()=default
 Destructor.
 
double factor (Direction pDir, MaterialUpdateStage mStage) const
 
MappingType mappingType () const
 
MaterialSlab materialSlab (const Vector2 &lp, Direction pDir, MaterialUpdateStage mStage) const
 
MaterialSlab materialSlab (const Vector3 &gp, Direction pDir, MaterialUpdateStage mStage) const
 
- Protected Attributes inherited from Acts::ISurfaceMaterial
double m_splitFactor {1.}
 the split factor in favour of oppositePre
 
MappingType m_mappingType
 Use the default mapping type by default.
 

Detailed Description

Definition at line 24 of file ISurfaceMaterialTests.cpp.

View newest version in sPHENIX GitHub at line 24 of file ISurfaceMaterialTests.cpp

Member Function Documentation

const MaterialSlab& Acts::Test::SurfaceMaterialStub::materialSlab ( const Vector2 lp) const
inlineoverrideprivatevirtual

Return method for full material description of the Surface

  • from local coordinate on the surface
Parameters
lpis the local position used for the (eventual) lookup
Returns
const MaterialSlab

Implements Acts::ISurfaceMaterial.

Definition at line 29 of file ISurfaceMaterialTests.cpp.

View newest version in sPHENIX GitHub at line 29 of file ISurfaceMaterialTests.cpp

References m_fullMaterial.

const MaterialSlab& Acts::Test::SurfaceMaterialStub::materialSlab ( const Vector3 gp) const
inlineoverrideprivatevirtual

Return method for full material description of the Surface

  • from the global coordinates
Parameters
gpis the global position used for the (eventual) lookup
Returns
const MaterialSlab

Implements Acts::ISurfaceMaterial.

Definition at line 33 of file ISurfaceMaterialTests.cpp.

View newest version in sPHENIX GitHub at line 33 of file ISurfaceMaterialTests.cpp

References m_fullMaterial.

const MaterialSlab& Acts::Test::SurfaceMaterialStub::materialSlab ( size_t  bin0,
size_t  bin1 
) const
inlineoverrideprivatevirtual

Direct access via bins to the MaterialSlab

Parameters
bin0is the material bin in dimension 0
bin1is the material bin in dimension 1

Implements Acts::ISurfaceMaterial.

Definition at line 37 of file ISurfaceMaterialTests.cpp.

View newest version in sPHENIX GitHub at line 37 of file ISurfaceMaterialTests.cpp

References m_fullMaterial.

ISurfaceMaterial& Acts::Test::SurfaceMaterialStub::operator*= ( double  scale)
inlineoverrideprivatevirtual

Scale operator

Parameters
scaleis the scale factor applied

Implements Acts::ISurfaceMaterial.

Definition at line 27 of file ISurfaceMaterialTests.cpp.

View newest version in sPHENIX GitHub at line 27 of file ISurfaceMaterialTests.cpp

std::ostream& Acts::Test::SurfaceMaterialStub::toStream ( std::ostream &  sl) const
inlineoverrideprivatevirtual

Output Method for std::ostream, to be overloaded by child classes.

Implements Acts::ISurfaceMaterial.

Definition at line 42 of file ISurfaceMaterialTests.cpp.

View newest version in sPHENIX GitHub at line 42 of file ISurfaceMaterialTests.cpp

Member Data Documentation

MaterialSlab Acts::Test::SurfaceMaterialStub::m_fullMaterial {}
private

Definition at line 47 of file ISurfaceMaterialTests.cpp.

View newest version in sPHENIX GitHub at line 47 of file ISurfaceMaterialTests.cpp

Referenced by materialSlab().


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