Files
geant4/examples/extended/field/field03/src/F03StepCut.cc
T
2016-06-09 11:11:55 +02:00

57 lines
2.0 KiB
C++

//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: F03StepCut.cc,v 1.2 2001/07/11 09:58:07 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
#include "F03StepCut.hh"
#include "G4Step.hh"
#include "G4UserLimits.hh"
#include "G4VParticleChange.hh"
#include "G4EnergyLossTables.hh"
F03StepCut::F03StepCut(const G4String& aName)
: G4VDiscreteProcess(aName),MaxChargedStep(DBL_MAX)
{
if (verboseLevel>0) {
G4cout << GetProcessName() << " is created "<< G4endl;
}
}
F03StepCut::~F03StepCut()
{
}
F03StepCut::F03StepCut(F03StepCut& right)
:G4VDiscreteProcess(right)
{}
void F03StepCut::SetMaxStep(G4double step)
{
MaxChargedStep = step ;
}