Belle II Software  release-08-01-10
AbsMaterialInterface Class Referenceabstract

Abstract base class for geometry interfacing. More...

#include <AbsMaterialInterface.h>

Inheritance diagram for AbsMaterialInterface:
Collaboration diagram for AbsMaterialInterface:

Public Member Functions

virtual bool initTrack (double posX, double posY, double posZ, double dirX, double dirY, double dirZ)=0
 Initialize the navigator at given position and with given direction. More...
 
virtual Material getMaterialParameters ()=0
 
virtual double findNextBoundary (const RKTrackRep *rep, const M1x7 &state7, double sMax, bool varField=true)=0
 Make a step until maxStep or the next boundary is reached. More...
 
virtual void setDebugLvl (unsigned int lvl=1)
 

Protected Attributes

unsigned int debugLvl_
 

Detailed Description

Abstract base class for geometry interfacing.

Definition at line 39 of file AbsMaterialInterface.h.

Member Function Documentation

◆ findNextBoundary()

virtual double findNextBoundary ( const RKTrackRep rep,
const M1x7 state7,
double  sMax,
bool  varField = true 
)
pure virtual

Make a step until maxStep or the next boundary is reached.

After making a step to a boundary, the position has to be beyond the boundary, i.e. in the current material has to be that beyond the boundary. The actual step made is returned.

Implemented in TGeoMaterialInterface, and Geant4MaterialInterface.

◆ initTrack()

virtual bool initTrack ( double  posX,
double  posY,
double  posZ,
double  dirX,
double  dirY,
double  dirZ 
)
pure virtual

Initialize the navigator at given position and with given direction.

Return true if volume changed.

Implemented in Geant4MaterialInterface, and TGeoMaterialInterface.


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