GENFIT  Rev:NoNumberAvailable
Public Member Functions | List of all members
genfit::TGeoMaterialInterface Class Reference

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

#include <TGeoMaterialInterface.h>

Inheritance diagram for genfit::TGeoMaterialInterface:
Inheritance graph
Collaboration diagram for genfit::TGeoMaterialInterface:
Collaboration graph

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 35 of file TGeoMaterialInterface.h.

Constructor & Destructor Documentation

◆ TGeoMaterialInterface()

genfit::TGeoMaterialInterface::TGeoMaterialInterface ( )
inline

Definition at line 39 of file TGeoMaterialInterface.h.

◆ ~TGeoMaterialInterface()

genfit::TGeoMaterialInterface::~TGeoMaterialInterface ( )
inline

Definition at line 40 of file TGeoMaterialInterface.h.

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.

Definition at line 94 of file TGeoMaterialInterface.cc.

References genfit::AbsMaterialInterface::debugLvl_, genfit::debugOut, initTrack(), genfit::RKTrackRep::RKPropagate(), and genfit::Exception::setFatal().

◆ 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.

Definition at line 62 of file TGeoMaterialInterface.cc.

References genfit::MeanExcEnergy_get().

◆ 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.

Definition at line 38 of file TGeoMaterialInterface.cc.

References genfit::AbsMaterialInterface::debugLvl_, and genfit::debugOut.

Referenced by findNextBoundary().


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