Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VITStepModel Class Reference

#include <G4VITStepModel.hh>

+ Inheritance diagram for G4VITStepModel:

Public Member Functions

 G4VITStepModel (const G4String &aName="NoName")
 
 G4VITStepModel (std::unique_ptr< G4VITTimeStepComputer > pTimeStepper, std::unique_ptr< G4VITReactionProcess > pReactionProcess, const G4String &aName="NoName")
 
 G4VITStepModel (const G4VITStepModel &other)=delete
 
G4VITStepModeloperator= (const G4VITStepModel &other)=delete
 
virtual ~G4VITStepModel ()=default
 
virtual void Initialize ()
 
void PrepareNewTimeStep ()
 
void GetApplicable (G4ITType &type1, G4ITType &type2)
 
virtual void PrintInfo ()
 
G4VITTimeStepComputerGetTimeStepper ()
 
const G4StringGetName ()
 
G4VITReactionProcessGetReactionProcess ()
 
void SetReactionTable (G4ITReactionTable *)
 
const G4ITReactionTableGetReactionTable ()
 

Protected Attributes

G4String fName
 
std::unique_ptr< G4VITTimeStepComputerfpTimeStepper
 
std::unique_ptr< G4VITReactionProcessfpReactionProcess
 
const G4ITReactionTablefpReactionTable
 
G4ITType fType1
 
G4ITType fType2
 

Detailed Description

Define actions before and after stepping. The concrete implementation of G4VITModel defines the interaction between two G4IT types. The types can be equal like : Molecule + Molecule, or different : Molecule + Atom.

Definition at line 61 of file G4VITStepModel.hh.

Constructor & Destructor Documentation

◆ G4VITStepModel() [1/3]

G4VITStepModel::G4VITStepModel ( const G4String & aName = "NoName")

Definition at line 37 of file G4VITStepModel.cc.

38 : G4VITStepModel(nullptr, nullptr, aName)
39{
40}
G4VITStepModel(const G4String &aName="NoName")

◆ G4VITStepModel() [2/3]

G4VITStepModel::G4VITStepModel ( std::unique_ptr< G4VITTimeStepComputer > pTimeStepper,
std::unique_ptr< G4VITReactionProcess > pReactionProcess,
const G4String & aName = "NoName" )

Definition at line 42 of file G4VITStepModel.cc.

45 : fName(aName)
46 , fpTimeStepper(std::move(pTimeStepper))
47 , fpReactionProcess(std::move(pReactionProcess))
48 , fpReactionTable(nullptr)
49 , fType1(-1)
50 , fType2(-1)
51{
52}
const G4ITReactionTable * fpReactionTable
std::unique_ptr< G4VITTimeStepComputer > fpTimeStepper
std::unique_ptr< G4VITReactionProcess > fpReactionProcess

◆ G4VITStepModel() [3/3]

G4VITStepModel::G4VITStepModel ( const G4VITStepModel & other)
delete

◆ ~G4VITStepModel()

virtual G4VITStepModel::~G4VITStepModel ( )
virtualdefault

Member Function Documentation

◆ GetApplicable()

void G4VITStepModel::GetApplicable ( G4ITType & type1,
G4ITType & type2 )

Definition at line 54 of file G4VITStepModel.cc.

55{
56 type1 = fType1;
57 type2 = fType2;
58 PrintInfo();
59}
virtual void PrintInfo()

Referenced by G4ITModelHandler::RegisterModel().

◆ GetName()

const G4String & G4VITStepModel::GetName ( )

Definition at line 94 of file G4VITStepModel.cc.

95{
96 return fName;
97}

◆ GetReactionProcess()

G4VITReactionProcess * G4VITStepModel::GetReactionProcess ( )

◆ GetReactionTable()

const G4ITReactionTable * G4VITStepModel::GetReactionTable ( )

Definition at line 79 of file G4VITStepModel.cc.

80{
81 return fpReactionTable ;
82}

◆ GetTimeStepper()

G4VITTimeStepComputer * G4VITStepModel::GetTimeStepper ( )

Definition at line 84 of file G4VITStepModel.cc.

85{
86 return fpTimeStepper.get();
87}

Referenced by G4ITModelHandler::RegisterModel().

◆ Initialize()

void G4VITStepModel::Initialize ( )
virtual

◆ operator=()

G4VITStepModel & G4VITStepModel::operator= ( const G4VITStepModel & other)
delete

◆ PrepareNewTimeStep()

void G4VITStepModel::PrepareNewTimeStep ( )

Definition at line 69 of file G4VITStepModel.cc.

70{
71 fpTimeStepper->Prepare();
72}

◆ PrintInfo()

virtual void G4VITStepModel::PrintInfo ( )
inlinevirtual

◆ SetReactionTable()

void G4VITStepModel::SetReactionTable ( G4ITReactionTable * pReactionTable)

Member Data Documentation

◆ fName

◆ fpReactionProcess

◆ fpReactionTable

◆ fpTimeStepper

◆ fType1

◆ fType2


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