STEPSZ.stepmx[mreg - 1] = step;
}
+
+Double_t TFluka::MaxStep() const
+{
+// Return the maximum for current medium
+ Int_t mreg, latt;
+ fGeom->GetCurrentRegion(mreg, latt);
+ return (STEPSZ.stepmx[mreg - 1]);
+}
+
//______________________________________________________________________________
void TFluka::SetMaxNStep(Int_t)
{
virtual void Gdtom(Double_t* xd, Double_t* xm, Int_t iflag);
- virtual Double_t MaxStep() const
- {printf("WARNING: MaxStep not yet implemented !\n"); return -1.;}
+ virtual Double_t MaxStep() const;
virtual Int_t GetMaxNStep() const
- {printf("WARNING: GetMaxNStep not yet implemented !\n"); return -1;}
+ {printf("WARNING: GetMaxNStep not yet implemented !\n"); return -1;}
virtual Int_t GetMedium() const;
// Tracking particle