Geant4-11
Public Member Functions | Protected Attributes
G4DNAMolecularStepByStepModel Class Reference

#include <G4DNAMolecularStepByStepModel.hh>

Inheritance diagram for G4DNAMolecularStepByStepModel:
G4VITStepModel

Public Member Functions

 G4DNAMolecularStepByStepModel (const G4DNAMolecularStepByStepModel &)=delete
 
 G4DNAMolecularStepByStepModel (const G4String &name, std::unique_ptr< G4VITTimeStepComputer > pTimeStepper, std::unique_ptr< G4VITReactionProcess > pReactionProcess)
 
 G4DNAMolecularStepByStepModel (const G4String &name="DNAMolecularStepByStepModel")
 
void GetApplicable (G4ITType &type1, G4ITType &type2)
 
const G4StringGetName ()
 
G4VDNAReactionModelGetReactionModel ()
 
G4VITReactionProcessGetReactionProcess ()
 
const G4ITReactionTableGetReactionTable ()
 
G4VITTimeStepComputerGetTimeStepper ()
 
void Initialize () override
 
G4DNAMolecularStepByStepModeloperator= (const G4DNAMolecularStepByStepModel &)=delete
 
void PrepareNewTimeStep ()
 
void PrintInfo () override
 
void SetReactionModel (G4VDNAReactionModel *)
 
void SetReactionTable (G4ITReactionTable *)
 
 ~G4DNAMolecularStepByStepModel () override
 

Protected Attributes

const G4DNAMolecularReactionTable *& fMolecularReactionTable
 
G4String fName
 
std::unique_ptr< G4VDNAReactionModelfpReactionModel
 
std::unique_ptr< G4VITReactionProcessfpReactionProcess
 
const G4ITReactionTablefpReactionTable
 
std::unique_ptr< G4VITTimeStepComputerfpTimeStepper
 
G4ITType fType1
 
G4ITType fType2
 

Detailed Description

G4DNAMolecularStepByStepModel :

Definition at line 63 of file G4DNAMolecularStepByStepModel.hh.

Constructor & Destructor Documentation

◆ G4DNAMolecularStepByStepModel() [1/3]

G4DNAMolecularStepByStepModel::G4DNAMolecularStepByStepModel ( const G4String name = "DNAMolecularStepByStepModel")

Definition at line 39 of file G4DNAMolecularStepByStepModel.cc.

41 std::unique_ptr<G4DNAMoleculeEncounterStepper>(new G4DNAMoleculeEncounterStepper()),
42 std::unique_ptr<G4DNAMolecularReaction>(new G4DNAMolecularReaction()))
43{
44}
G4DNAMolecularStepByStepModel(const G4String &name="DNAMolecularStepByStepModel")
const char * name(G4int ptype)

◆ G4DNAMolecularStepByStepModel() [2/3]

G4DNAMolecularStepByStepModel::G4DNAMolecularStepByStepModel ( const G4String name,
std::unique_ptr< G4VITTimeStepComputer pTimeStepper,
std::unique_ptr< G4VITReactionProcess pReactionProcess 
)

Definition at line 46 of file G4DNAMolecularStepByStepModel.cc.

49 : G4VITStepModel(std::move(pTimeStepper),
50 std::move(pReactionProcess),
51 name)
52 , fMolecularReactionTable(reference_cast<const G4DNAMolecularReactionTable*>(fpReactionTable))
53{
54 fType1 = G4Molecule::ITType();
55 fType2 = G4Molecule::ITType();
56}
const G4DNAMolecularReactionTable *& fMolecularReactionTable
const G4ITReactionTable * fpReactionTable
G4VITStepModel(const G4String &aName="NoName")

References G4VITStepModel::fType1, and G4VITStepModel::fType2.

◆ G4DNAMolecularStepByStepModel() [3/3]

G4DNAMolecularStepByStepModel::G4DNAMolecularStepByStepModel ( const G4DNAMolecularStepByStepModel )
delete

◆ ~G4DNAMolecularStepByStepModel()

G4DNAMolecularStepByStepModel::~G4DNAMolecularStepByStepModel ( )
overridedefault

Member Function Documentation

◆ GetApplicable()

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

Definition at line 54 of file G4VITStepModel.cc.

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

References G4VITStepModel::fType1, G4VITStepModel::fType2, and G4VITStepModel::PrintInfo().

Referenced by G4ITModelHandler::RegisterModel().

◆ GetName()

const G4String & G4VITStepModel::GetName ( )
inherited

Definition at line 94 of file G4VITStepModel.cc.

95{
96 return fName;
97}

References G4VITStepModel::fName.

◆ GetReactionModel()

G4VDNAReactionModel * G4DNAMolecularStepByStepModel::GetReactionModel ( )

Definition at line 92 of file G4DNAMolecularStepByStepModel.cc.

93{
94 return fpReactionModel.get();
95}
std::unique_ptr< G4VDNAReactionModel > fpReactionModel

References fpReactionModel.

◆ GetReactionProcess()

G4VITReactionProcess * G4VITStepModel::GetReactionProcess ( )
inherited

Definition at line 89 of file G4VITStepModel.cc.

90{
91 return fpReactionProcess.get();
92}
std::unique_ptr< G4VITReactionProcess > fpReactionProcess

References G4VITStepModel::fpReactionProcess.

Referenced by G4ITModelProcessor::CalculateMinTimeStep(), G4ITModelProcessor::ComputeTrackReaction(), and G4ITModelHandler::RegisterModel().

◆ GetReactionTable()

const G4ITReactionTable * G4VITStepModel::GetReactionTable ( )
inherited

Definition at line 79 of file G4VITStepModel.cc.

80{
81 return fpReactionTable ;
82}

References G4VITStepModel::fpReactionTable.

◆ GetTimeStepper()

G4VITTimeStepComputer * G4VITStepModel::GetTimeStepper ( )
inherited

Definition at line 84 of file G4VITStepModel.cc.

85{
86 return fpTimeStepper.get();
87}
std::unique_ptr< G4VITTimeStepComputer > fpTimeStepper

References G4VITStepModel::fpTimeStepper.

Referenced by G4ITModelHandler::RegisterModel().

◆ Initialize()

void G4DNAMolecularStepByStepModel::Initialize ( )
overridevirtual

Reimplemented from G4VITStepModel.

Definition at line 60 of file G4DNAMolecularStepByStepModel.cc.

References fpReactionModel, G4VITStepModel::fpReactionProcess, G4VITStepModel::fpReactionTable, G4VITStepModel::fpTimeStepper, G4DNAMolecularReactionTable::GetReactionTable(), G4VITStepModel::Initialize(), SetReactionModel(), and G4VITStepModel::SetReactionTable().

◆ operator=()

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

◆ PrepareNewTimeStep()

void G4VITStepModel::PrepareNewTimeStep ( )
inherited

Definition at line 69 of file G4VITStepModel.cc.

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

References G4VITStepModel::fpTimeStepper.

◆ PrintInfo()

void G4DNAMolecularStepByStepModel::PrintInfo ( )
overridevirtual

Reimplemented from G4VITStepModel.

Definition at line 80 of file G4DNAMolecularStepByStepModel.cc.

81{
82#ifdef G4VERBOSE
83 G4cout << fName << " will be used" << G4endl;
84#endif
85}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout

References G4VITStepModel::fName, G4cout, and G4endl.

◆ SetReactionModel()

void G4DNAMolecularStepByStepModel::SetReactionModel ( G4VDNAReactionModel pReactionModel)

◆ SetReactionTable()

void G4VITStepModel::SetReactionTable ( G4ITReactionTable pReactionTable)
inherited

Field Documentation

◆ fMolecularReactionTable

const G4DNAMolecularReactionTable*& G4DNAMolecularStepByStepModel::fMolecularReactionTable
protected

Definition at line 81 of file G4DNAMolecularStepByStepModel.hh.

◆ fName

G4String G4VITStepModel::fName
protectedinherited

◆ fpReactionModel

std::unique_ptr<G4VDNAReactionModel> G4DNAMolecularStepByStepModel::fpReactionModel
protected

Definition at line 82 of file G4DNAMolecularStepByStepModel.hh.

Referenced by GetReactionModel(), Initialize(), and SetReactionModel().

◆ fpReactionProcess

std::unique_ptr<G4VITReactionProcess> G4VITStepModel::fpReactionProcess
protectedinherited

◆ fpReactionTable

const G4ITReactionTable* G4VITStepModel::fpReactionTable
protectedinherited

◆ fpTimeStepper

std::unique_ptr<G4VITTimeStepComputer> G4VITStepModel::fpTimeStepper
protectedinherited

◆ fType1

G4ITType G4VITStepModel::fType1
protectedinherited

◆ fType2

G4ITType G4VITStepModel::fType2
protectedinherited

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