Geant4 10.7.0
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
 
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

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 46 of file G4DNAMolecularIRTModel.cc.

48 std::unique_ptr<G4DNAIRTMoleculeEncounterStepper>(new G4DNAIRTMoleculeEncounterStepper()),
49 std::unique_ptr<G4DNAIRT>(new G4DNAIRT()))
50{
51}

◆ G4DNAMolecularIRTModel() [2/3]

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

Definition at line 53 of file G4DNAMolecularIRTModel.cc.

56 : G4VITStepModel(std::move(pTimeStepper),
57 std::move(pReactionProcess),
58 name)
59 , fMolecularReactionTable(reference_cast<const G4DNAMolecularReactionTable*>(fpReactionTable))
60{
61 fType1 = G4Molecule::ITType();
62 fType2 = G4Molecule::ITType();
63}
const G4DNAMolecularReactionTable *& fMolecularReactionTable
const G4ITReactionTable * fpReactionTable

◆ G4DNAMolecularIRTModel() [3/3]

G4DNAMolecularIRTModel::G4DNAMolecularIRTModel ( const G4DNAMolecularIRTModel )
delete

◆ ~G4DNAMolecularIRTModel()

G4DNAMolecularIRTModel::~G4DNAMolecularIRTModel ( )
overridedefault

Member Function Documentation

◆ GetReactionModel()

G4VDNAReactionModel * G4DNAMolecularIRTModel::GetReactionModel ( )

Definition at line 99 of file G4DNAMolecularIRTModel.cc.

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

◆ Initialize()

void G4DNAMolecularIRTModel::Initialize ( )
overridevirtual

Reimplemented from G4VITStepModel.

Definition at line 67 of file G4DNAMolecularIRTModel.cc.

68{
69 if(fpReactionTable == nullptr)
70 {
72 }
73
75 {
77 }
78
80
83
85}
void SetReactionModel(G4VDNAReactionModel *)
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 87 of file G4DNAMolecularIRTModel.cc.

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

◆ SetReactionModel()

void G4DNAMolecularIRTModel::SetReactionModel ( G4VDNAReactionModel pReactionModel)

Definition at line 94 of file G4DNAMolecularIRTModel.cc.

95{
96 fpReactionModel.reset(pReactionModel);
97}

Referenced by Initialize().

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: