Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
F04StepMax Class Reference

#include <Doxymodules_field.h>

Inheritance diagram for F04StepMax:
G4VDiscreteProcess G4VProcess

Public Member Functions

 F04StepMax (const G4String &processName="UserStepMax")
 
 ~F04StepMax () override=default
 
 F04StepMax (const F04StepMax &)=delete
 
F04StepMaxoperator= (const F04StepMax &)=delete
 
G4bool IsApplicable (const G4ParticleDefinition &) override
 
void SetStepMax (G4double)
 
G4double GetStepMax ()
 
G4double PostStepGetPhysicalInteractionLength (const G4Track &, G4double, G4ForceCondition *) override
 
G4VParticleChangePostStepDoIt (const G4Track &, const G4Step &) override
 

Protected Member Functions

G4double GetMeanFreePath (const G4Track &, G4double, G4ForceCondition *) override
 

Private Attributes

G4double fMaxChargedStep = DBL_MAX
 

Detailed Description

Definition at line 118 of file Doxymodules_field.h.

Constructor & Destructor Documentation

◆ F04StepMax() [1/2]

F04StepMax::F04StepMax ( const G4String processName = "UserStepMax")

Definition at line 38 of file F04StepMax.cc.

39 : G4VDiscreteProcess(aName)
40{
41 if (verboseLevel>0) {
42 G4cout << GetProcessName() << " is created "<< G4endl;
43 }
44}

◆ ~F04StepMax()

F04StepMax::~F04StepMax ( )
overridedefault

◆ F04StepMax() [2/2]

F04StepMax::F04StepMax ( const F04StepMax )
delete

Member Function Documentation

◆ operator=()

F04StepMax & F04StepMax::operator= ( const F04StepMax )
delete

◆ IsApplicable()

G4bool F04StepMax::IsApplicable ( const G4ParticleDefinition particle)
override

Definition at line 48 of file F04StepMax.cc.

49{
50 return (particle.GetPDGCharge() != 0.);
51}

◆ SetStepMax()

void F04StepMax::SetStepMax ( G4double  step)

Definition at line 55 of file F04StepMax.cc.

55{ fMaxChargedStep = step ; }
G4double fMaxChargedStep
Definition F04StepMax.hh:71

◆ GetStepMax()

G4double F04StepMax::GetStepMax ( )
inline

Definition at line 56 of file F04StepMax.hh.

56{return fMaxChargedStep;};

◆ PostStepGetPhysicalInteractionLength()

G4double F04StepMax::PostStepGetPhysicalInteractionLength ( const G4Track ,
G4double  ,
G4ForceCondition *  condition 
)
override

Definition at line 59 of file F04StepMax.cc.

63{
64 // condition is set to "Not Forced"
65 *condition = NotForced;
66
67 G4double proposedStep = DBL_MAX;
68
69 if ( fMaxChargedStep > 0.) proposedStep = fMaxChargedStep ;
70
71 return proposedStep;
72}

◆ PostStepDoIt()

G4VParticleChange * F04StepMax::PostStepDoIt ( const G4Track aTrack,
const G4Step  
)
override

Definition at line 76 of file F04StepMax.cc.

78{
79 // do nothing
80 aParticleChange.Initialize(aTrack);
81 return &aParticleChange;
82}

◆ GetMeanFreePath()

G4double F04StepMax::GetMeanFreePath ( const G4Track ,
G4double  ,
G4ForceCondition *   
)
overrideprotected

Definition at line 86 of file F04StepMax.cc.

87{
88 return 0.;
89}

Member Data Documentation

◆ fMaxChargedStep

G4double F04StepMax::fMaxChargedStep = DBL_MAX
private

Definition at line 71 of file F04StepMax.hh.


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

Applications | User Support | Publications | Collaboration