Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4DNAMolecularStepByStepModel Class Reference

#include <G4DNAMolecularStepByStepModel.hh>

Inheritance diagram for G4DNAMolecularStepByStepModel:
Collaboration diagram for G4DNAMolecularStepByStepModel:

Public Member Functions

 G4DNAMolecularStepByStepModel (const G4String &name="DNAMolecularStepByStepModel")
 
virtual ~G4DNAMolecularStepByStepModel ()
 
 G4DNAMolecularStepByStepModel (const G4DNAMolecularStepByStepModel &)
 
virtual void PrintInfo ()
 
virtual void Initialize ()
 
void SetReactionModel (G4VDNAReactionModel *)
 
G4VDNAReactionModelGetReactionModel ()
 
- Public Member Functions inherited from G4VITStepModel
 G4VITStepModel (const G4String &aName="NoName")
 
virtual ~G4VITStepModel ()
 
void IsApplicable (G4ITType &type1, G4ITType &type2)
 
void SetTimeStepper (G4VITTimeStepComputer *timeStepper)
 
void SetReactionProcess (G4VITReactionProcess *reactionProcess)
 
G4VITTimeStepComputerGetTimeStepper ()
 
const G4StringGetName ()
 
G4VITReactionProcessGetReactionProcess ()
 
void SetReactionTable (G4ITReactionTable *)
 
const G4ITReactionTableGetReactionTable ()
 

Protected Attributes

const
G4DNAMolecularReactionTable *& 
fMolecularReactionTable
 
G4VDNAReactionModelfReactionModel
 
- Protected Attributes inherited from G4VITStepModel
G4String fName
 
G4VITTimeStepComputerfpTimeStepper
 
G4VITReactionProcessfpReactionProcess
 
const G4ITReactionTablefpReactionTable
 
G4ITType fType1
 
G4ITType fType2
 

Additional Inherited Members

- Protected Member Functions inherited from G4VITStepModel
 G4VITStepModel (const G4VITStepModel &other)
 
G4VITStepModeloperator= (const G4VITStepModel &other)
 

Detailed Description

G4DNAMolecularStepByStepModel :

  • TimeStepper : G4DNAMolecularEncounterStepper
  • ReactionProcess : G4DNAMolecularReaction Before each step, the next minimum encounter time is calculated for each pair of molecule. The minimum time step is selected. All the molecules are stepped within this time step. Then, only the relevant pair of molecules are checked for reaction.

Definition at line 69 of file G4DNAMolecularStepByStepModel.hh.

Constructor & Destructor Documentation

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

Default constructor

Definition at line 40 of file G4DNAMolecularStepByStepModel.cc.

40  :
41  G4VITStepModel(name),
42  fMolecularReactionTable(reference_cast<const G4DNAMolecularReactionTable*>(fpReactionTable))
43 {
46 
47  fType1 = G4Molecule::ITType();
48  fType2 = G4Molecule::ITType();
49  fReactionModel = 0;
50 }
G4VITTimeStepComputer * fpTimeStepper
const G4DNAMolecularReactionTable *& fMolecularReactionTable
G4VITReactionProcess * fpReactionProcess
G4VITStepModel(const G4String &aName="NoName")
const G4ITReactionTable * fpReactionTable
G4DNAMolecularStepByStepModel::~G4DNAMolecularStepByStepModel ( )
virtual

Default destructor

Definition at line 52 of file G4DNAMolecularStepByStepModel.cc.

53 {
54  if(fReactionModel) delete fReactionModel;
55 }
G4DNAMolecularStepByStepModel::G4DNAMolecularStepByStepModel ( const G4DNAMolecularStepByStepModel right)

Definition at line 69 of file G4DNAMolecularStepByStepModel.cc.

69  :
70  G4VITStepModel(right),
71  fMolecularReactionTable(reference_cast<const G4DNAMolecularReactionTable*>(fpReactionTable))
72 {
74  if(right.fReactionModel)
75  {
76  fReactionModel = right.fReactionModel->Clone();
79  }
80  else fReactionModel = 0;
81 }
G4VITTimeStepComputer * fpTimeStepper
const G4DNAMolecularReactionTable *& fMolecularReactionTable
G4VITReactionProcess * fpReactionProcess
G4VITStepModel(const G4String &aName="NoName")
const G4ITReactionTable * fpReactionTable

Member Function Documentation

G4VDNAReactionModel * G4DNAMolecularStepByStepModel::GetReactionModel ( )
inline

Definition at line 104 of file G4DNAMolecularStepByStepModel.hh.

105 {
106  return fReactionModel;
107 }
void G4DNAMolecularStepByStepModel::Initialize ( )
virtual

Reimplemented from G4VITStepModel.

Definition at line 83 of file G4DNAMolecularStepByStepModel.cc.

84 {
85  if(fpReactionTable == 0)
86  {
88  }
89 
90  if(fReactionModel == 0)
91  {
93  }
94 
96 
99 
101 }
virtual void Initialize()
G4VITTimeStepComputer * fpTimeStepper
void SetReactionTable(G4ITReactionTable *)
static G4DNAMolecularReactionTable * GetReactionTable()
void SetReactionTable(const G4DNAMolecularReactionTable *)
G4VITReactionProcess * fpReactionProcess
const G4ITReactionTable * fpReactionTable

Here is the call graph for this function:

void G4DNAMolecularStepByStepModel::PrintInfo ( )
virtual

Reimplemented from G4VITStepModel.

Definition at line 103 of file G4DNAMolecularStepByStepModel.cc.

104 {
105 #ifdef G4VERBOSE
106  G4cout << "DNAMolecularStepByStepModel will be used" << G4endl;
107 #endif
108 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
void G4DNAMolecularStepByStepModel::SetReactionModel ( G4VDNAReactionModel reactionModel)
inline

Definition at line 99 of file G4DNAMolecularStepByStepModel.hh.

100 {
101  fReactionModel = reactionModel;
102 }

Here is the caller graph for this function:

Member Data Documentation

const G4DNAMolecularReactionTable*& G4DNAMolecularStepByStepModel::fMolecularReactionTable
protected

Definition at line 88 of file G4DNAMolecularStepByStepModel.hh.

G4VDNAReactionModel* G4DNAMolecularStepByStepModel::fReactionModel
protected

Definition at line 89 of file G4DNAMolecularStepByStepModel.hh.


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