13#include "genfit/AbsMaterialInterface.h"
15class G4VPhysicalVolume;
29 class Geant4MaterialInterface :
public genfit::AbsMaterialInterface {
33 Geant4MaterialInterface();
34 ~Geant4MaterialInterface();
39 bool initTrack(
double posX,
double posY,
double posZ,
40 double dirX,
double dirY,
double dirZ)
override;
53 const genfit::M1x7& state7,
55 bool varField =
true)
override;
60 std::unique_ptr<class G4SafeNavigator>
nav_;
bool initTrack(double posX, double posY, double posZ, double dirX, double dirY, double dirZ) override
Initialize the navigator at given position and with given direction.
bool m_takingFullStep
stores whether to call SetGeometricallyLimitedStep() because the full step length was taken.
genfit::Material getMaterialParameters() override
Get material parameters in current material.
const class G4VPhysicalVolume * currentVolume_
the volume the extrapolation is currently located in
double findNextBoundary(const genfit::RKTrackRep *rep, const genfit::M1x7 &state7, double sMax, bool varField=true) override
Make a step (following the curvature) until step length sMax or the next boundary is reached.
std::unique_ptr< class G4SafeNavigator > nav_
holds a object of G4SafeNavigator, which is located in Geant4MaterialInterface.cc
Abstract base class for different kinds of events.