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

#include <G4DNAMolecularIRTModel.hh>

+ Inheritance diagram for G4DNAMolecularIRTModel:

Public Member Functions

 G4DNAMolecularIRTModel (const G4String &name="DNAMolecularIRTModel")
 
 G4DNAMolecularIRTModel (const G4String &name, std::unique_ptr< G4VITTimeStepComputer > pTimeStepper, std::unique_ptr< G4VITReactionProcess > pReactionProcess)
 
G4DNAMolecularIRTModeloperator= (const G4DNAMolecularIRTModel &)=delete
 
 G4DNAMolecularIRTModel (const G4DNAMolecularIRTModel &)=delete
 
 ~G4DNAMolecularIRTModel () override
 
void PrintInfo () override
 
void Initialize () override
 
void SetReactionModel (G4VDNAReactionModel *)
 
G4VDNAReactionModelGetReactionModel ()
 
- Public Member Functions inherited from G4VITStepModel
 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
 
void PrepareNewTimeStep ()
 
void GetApplicable (G4ITType &type1, G4ITType &type2)
 
G4VITTimeStepComputerGetTimeStepper ()
 
const G4StringGetName ()
 
G4VITReactionProcessGetReactionProcess ()
 
void SetReactionTable (G4ITReactionTable *)
 
const G4ITReactionTableGetReactionTable ()
 

Protected Attributes

const G4DNAMolecularReactionTable *& fMolecularReactionTable
 
std::unique_ptr< G4VDNAReactionModelfpReactionModel
 
- Protected Attributes inherited from G4VITStepModel
G4String fName
 
std::unique_ptr< G4VITTimeStepComputerfpTimeStepper
 
std::unique_ptr< G4VITReactionProcessfpReactionProcess
 
const G4ITReactionTablefpReactionTable
 
G4ITType fType1
 
G4ITType fType2
 

Detailed Description

Definition at line 43 of file G4DNAMolecularIRTModel.hh.

Constructor & Destructor Documentation

◆ G4DNAMolecularIRTModel() [1/3]

G4DNAMolecularIRTModel::G4DNAMolecularIRTModel ( const G4String & name = "DNAMolecularIRTModel")

Definition at line 48 of file G4DNAMolecularIRTModel.cc.

50 std::make_unique<G4DNAIRTMoleculeEncounterStepper>(),
51 std::make_unique<G4DNAIRT>())
52{
53}
G4DNAMolecularIRTModel(const G4String &name="DNAMolecularIRTModel")

◆ G4DNAMolecularIRTModel() [2/3]

G4DNAMolecularIRTModel::G4DNAMolecularIRTModel ( const G4String & name,
std::unique_ptr< G4VITTimeStepComputer > pTimeStepper,
std::unique_ptr< G4VITReactionProcess > pReactionProcess )

Definition at line 55 of file G4DNAMolecularIRTModel.cc.

58 : G4VITStepModel(std::move(pTimeStepper),
59 std::move(pReactionProcess),
60 name)
62{
63 fType1 = G4Molecule::ITType();
64 fType2 = G4Molecule::ITType();
65}
ReturnType & reference_cast(OriginalType &source)
const G4DNAMolecularReactionTable *& fMolecularReactionTable
const G4ITReactionTable * fpReactionTable
G4VITStepModel(const G4String &aName="NoName")

◆ G4DNAMolecularIRTModel() [3/3]

G4DNAMolecularIRTModel::G4DNAMolecularIRTModel ( const G4DNAMolecularIRTModel & )
delete

◆ ~G4DNAMolecularIRTModel()

G4DNAMolecularIRTModel::~G4DNAMolecularIRTModel ( )
overridedefault

Member Function Documentation

◆ GetReactionModel()

G4VDNAReactionModel * G4DNAMolecularIRTModel::GetReactionModel ( )

Definition at line 101 of file G4DNAMolecularIRTModel.cc.

102{
103 return fpReactionModel.get();
104}
std::unique_ptr< G4VDNAReactionModel > fpReactionModel

◆ Initialize()

void G4DNAMolecularIRTModel::Initialize ( )
overridevirtual

Reimplemented from G4VITStepModel.

Definition at line 69 of file G4DNAMolecularIRTModel.cc.

70{
71 if(fpReactionTable == nullptr)
72 {
74 }
75
77 {
78 fpReactionModel = std::make_unique<G4DNASmoluchowskiReactionModel>();
79 }
80
82
83 ((G4DNAIRT*) fpReactionProcess.get())->SetReactionModel(fpReactionModel.get());
84 ((G4DNAIRTMoleculeEncounterStepper*) fpTimeStepper.get())->SetReactionModel(fpReactionModel.get());
85
87}
static G4DNAMolecularReactionTable * GetReactionTable()
void SetReactionTable(G4ITReactionTable *)
std::unique_ptr< G4VITTimeStepComputer > fpTimeStepper
virtual void Initialize()
std::unique_ptr< G4VITReactionProcess > fpReactionProcess

◆ operator=()

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

◆ PrintInfo()

void G4DNAMolecularIRTModel::PrintInfo ( )
overridevirtual

Reimplemented from G4VITStepModel.

Definition at line 89 of file G4DNAMolecularIRTModel.cc.

90{
91#ifdef G4VERBOSE
92 G4cout << fName << " will be used" << G4endl;
93#endif
94}
#define G4endl
Definition G4ios.hh:67
G4GLOB_DLL std::ostream G4cout

◆ SetReactionModel()

void G4DNAMolecularIRTModel::SetReactionModel ( G4VDNAReactionModel * pReactionModel)

Definition at line 96 of file G4DNAMolecularIRTModel.cc.

97{
98 fpReactionModel.reset(pReactionModel);
99}

Member Data Documentation

◆ fMolecularReactionTable

const G4DNAMolecularReactionTable*& G4DNAMolecularIRTModel::fMolecularReactionTable
protected

Definition at line 61 of file G4DNAMolecularIRTModel.hh.

◆ fpReactionModel

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

Definition at line 62 of file G4DNAMolecularIRTModel.hh.

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


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