Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::IVolumeMaterial Class Referenceabstract

Material associated with a Volume (homogeneous, binned, interpolated) More...

#include <acts/blob/sPHENIX/Core/include/Acts/Material/IVolumeMaterial.hpp>

+ Inheritance diagram for Acts::IVolumeMaterial:

Public Member Functions

virtual ~IVolumeMaterial ()=default
 Virtual Destructor.
 
virtual const Material material (const Vector3 &position) const =0
 
virtual std::ostream & toStream (std::ostream &sl) const =0
 Output Method for std::ostream, to be overloaded by child classes.
 

Friends

std::ostream & operator<< (std::ostream &out, const IVolumeMaterial &vm)
 output stream operator
 

Detailed Description

Material associated with a Volume (homogeneous, binned, interpolated)

Virtual base class of volume material description

Definition at line 23 of file IVolumeMaterial.hpp.

View newest version in sPHENIX GitHub at line 23 of file IVolumeMaterial.hpp

Constructor & Destructor Documentation

virtual Acts::IVolumeMaterial::~IVolumeMaterial ( )
virtualdefault

Virtual Destructor.

Member Function Documentation

virtual const Material Acts::IVolumeMaterial::material ( const Vector3 position) const
pure virtual

Access to actual material

Parameters
positionis the request position for the material call

Implemented in Acts::InterpolatedMaterialMap< Mapper_t >, Acts::ProtoVolumeMaterial, and Acts::HomogeneousVolumeMaterial.

Referenced by ActsExamples::RootMaterialWriter::writeMaterial().

+ Here is the caller graph for this function:

virtual std::ostream& Acts::IVolumeMaterial::toStream ( std::ostream &  sl) const
pure virtual

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

Implemented in Acts::InterpolatedMaterialMap< Mapper_t >, Acts::ProtoVolumeMaterial, and Acts::HomogeneousVolumeMaterial.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const IVolumeMaterial vm 
)
friend

output stream operator

Prints information about this object to the output stream using the virtual IVolumeeMaterial::toStream method

Returns
modified output stream object

Definition at line 40 of file IVolumeMaterial.hpp.

View newest version in sPHENIX GitHub at line 40 of file IVolumeMaterial.hpp


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