PandaRoot
genfit::TGeoMaterialInterface Class Reference

AbsMaterialInterface implementation for use with ROOT's TGeoManager. More...

#include <TGeoMaterialInterface.h>

Inheritance diagram for genfit::TGeoMaterialInterface:
genfit::AbsMaterialInterface

Public Member Functions

 TGeoMaterialInterface ()
 
 ~TGeoMaterialInterface ()
 
bool initTrack (double posX, double posY, double posZ, double dirX, double dirY, double dirZ)
 Initialize the navigator at given position and with given direction. Returns true if the volume changed. More...
 
void getMaterialParameters (double &density, double &Z, double &A, double &radiationLength, double &mEE)
 Get material parameters in current material. More...
 
void getMaterialParameters (MaterialProperties &parameters)
 
double findNextBoundary (const RKTrackRep *rep, const M1x7 &state7, double sMax, bool varField=true)
 Make a step (following the curvature) until step length sMax or the next boundary is reached. After making a step to a boundary, the position has to be beyond the boundary, i.e. the current material has to be that beyond the boundary. The actual step made is returned. More...
 
- Public Member Functions inherited from genfit::AbsMaterialInterface
 AbsMaterialInterface ()
 
virtual ~AbsMaterialInterface ()
 
virtual void setDebugLvl (unsigned int lvl=1)
 

Additional Inherited Members

- Protected Attributes inherited from genfit::AbsMaterialInterface
unsigned int debugLvl_
 

Detailed Description

AbsMaterialInterface implementation for use with ROOT's TGeoManager.

Definition at line 34 of file TGeoMaterialInterface.h.

Constructor & Destructor Documentation

◆ TGeoMaterialInterface()

genfit::TGeoMaterialInterface::TGeoMaterialInterface ( )
inline

Definition at line 37 of file TGeoMaterialInterface.h.

37 {};

◆ ~TGeoMaterialInterface()

genfit::TGeoMaterialInterface::~TGeoMaterialInterface ( )
inline

Definition at line 38 of file TGeoMaterialInterface.h.

References findNextBoundary(), getMaterialParameters(), and initTrack().

38 { ; };

Member Function Documentation

◆ findNextBoundary()

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

Make a step (following the curvature) until step length sMax or the next boundary is reached. After making a step to a boundary, the position has to be beyond the boundary, i.e. the current material has to be that beyond the boundary. The actual step made is returned.

Implements genfit::AbsMaterialInterface.

Referenced by ~TGeoMaterialInterface().

◆ getMaterialParameters() [1/2]

void genfit::TGeoMaterialInterface::getMaterialParameters ( double &  density,
double &  Z,
double &  A,
double &  radiationLength,
double &  mEE 
)
virtual

Get material parameters in current material.

Implements genfit::AbsMaterialInterface.

Referenced by ~TGeoMaterialInterface().

◆ getMaterialParameters() [2/2]

void genfit::TGeoMaterialInterface::getMaterialParameters ( MaterialProperties parameters)
virtual

◆ initTrack()

bool genfit::TGeoMaterialInterface::initTrack ( double  posX,
double  posY,
double  posZ,
double  dirX,
double  dirY,
double  dirZ 
)
virtual

Initialize the navigator at given position and with given direction. Returns true if the volume changed.

Implements genfit::AbsMaterialInterface.

Referenced by ~TGeoMaterialInterface().


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