Geant4
10.01.p02
|
G4DNAMolecularReaction is the reaction process used in G4DNAMolecularStepByStepModel between two molecules. More...
#include <G4DNAMolecularReaction.hh>
Public Member Functions | |
G4DNAMolecularReaction () | |
Default constructor. More... | |
virtual | ~G4DNAMolecularReaction () |
Default destructor. More... | |
G4DNAMolecularReaction (const G4DNAMolecularReaction &other) | |
Copy constructor. More... | |
G4DNAMolecularReaction & | operator= (const G4DNAMolecularReaction &other) |
Assignment operator. More... | |
virtual G4bool | TestReactibility (const G4Track &, const G4Track &, const double currentStepTime, const double previousStepTime, bool userStepTimeLimit) |
Given two tracks, it tells you whether they can react. More... | |
virtual G4ITReactionChange * | MakeReaction (const G4Track &, const G4Track &) |
Will generate the products of the two given tracks. More... | |
void | SetReactionModel (G4VDNAReactionModel *) |
void | SetReactionTable (const G4DNAMolecularReactionTable *) |
void | SetVerbose (int) |
Public Member Functions inherited from G4VITReactionProcess | |
G4VITReactionProcess () | |
Default constructor. More... | |
virtual | ~G4VITReactionProcess () |
Default destructor. More... | |
G4VITReactionProcess (const G4VITReactionProcess &other) | |
Copy constructor. More... | |
G4VITReactionProcess & | operator= (const G4VITReactionProcess &other) |
Will Clone the reaction process i.e. More... | |
virtual void | Initialize () |
First initialization (done once for all at the begin of the run) eg. More... | |
virtual G4bool | IsApplicable (G4ITType, G4ITType) const |
void | SetReactionTable (const G4ITReactionTable *) |
void | ResetChanges () |
Protected Attributes | |
const G4DNAMolecularReactionTable *& | fMolReactionTable |
G4VDNAReactionModel * | fReactionModel |
G4int | fVerbose |
G4double | fReactionRadius |
G4double | fDistance |
Protected Attributes inherited from G4VITReactionProcess | |
const G4ITReactionTable * | fpReactionTable |
G4ITReactionChange * | fpChanges |
G4String | fName |
G4DNAMolecularReaction is the reaction process used in G4DNAMolecularStepByStepModel between two molecules.
After the global track steps, it test whether the molecules can react. If so, the reaction is made.
Definition at line 64 of file G4DNAMolecularReaction.hh.
G4DNAMolecularReaction::G4DNAMolecularReaction | ( | ) |
Default constructor.
Definition at line 47 of file G4DNAMolecularReaction.cc.
References fDistance, fReactionModel, fReactionRadius, and fVerbose.
|
virtual |
Default destructor.
Definition at line 59 of file G4DNAMolecularReaction.cc.
References G4VITReactionProcess::fpChanges.
G4DNAMolecularReaction::G4DNAMolecularReaction | ( | const G4DNAMolecularReaction & | other | ) |
Copy constructor.
other | Object to copy from |
Definition at line 65 of file G4DNAMolecularReaction.cc.
References fDistance, fMolReactionTable, fReactionModel, fReactionRadius, and fVerbose.
|
virtual |
Will generate the products of the two given tracks.
Implements G4VITReactionProcess.
Definition at line 157 of file G4DNAMolecularReaction.cc.
References G4ITReactionChange::AddSecondary(), G4Molecule::BuildTrack(), fAlive, fDistance, fMolReactionTable, G4VITReactionProcess::fpChanges, fReactionRadius, fVerbose, G4BestUnit, G4cout, G4endl, G4Molecule::GetDiffusionCoefficient(), G4Track::GetGlobalTime(), GetMolecule(), G4DNAMolecularReactionData::GetNbProducts(), G4Track::GetPosition(), G4DNAMolecularReactionData::GetProduct(), G4DNAMolecularReactionTable::GetReactionData(), G4Track::GetTrackID(), G4ITReactionChange::Initialize(), G4ITFinder< T >::Instance(), G4ITReactionChange::KillParents(), G4ITFinder< T >::Push(), and G4Track::SetTrackStatus().
G4DNAMolecularReaction & G4DNAMolecularReaction::operator= | ( | const G4DNAMolecularReaction & | other | ) |
Assignment operator.
other | Object to assign from |
Definition at line 78 of file G4DNAMolecularReaction.cc.
References fDistance, fMolReactionTable, fReactionRadius, and fVerbose.
|
inline |
Definition at line 111 of file G4DNAMolecularReaction.hh.
References fReactionModel.
|
inline |
|
inline |
Definition at line 116 of file G4DNAMolecularReaction.hh.
References fVerbose.
|
virtual |
Given two tracks, it tells you whether they can react.
Implements G4VITReactionProcess.
Definition at line 91 of file G4DNAMolecularReaction.cc.
References FatalErrorInArgument, fDistance, G4VDNAReactionModel::FindReaction(), fMolReactionTable, fReactionModel, fReactionRadius, fVerbose, G4BestUnit, G4cout, G4endl, G4Exception(), GetMolecule(), G4Molecule::GetName(), G4Track::GetPosition(), G4VDNAReactionModel::GetReactionRadius(), and G4Track::GetTrackID().
|
protected |
Definition at line 107 of file G4DNAMolecularReaction.hh.
Referenced by G4DNAMolecularReaction(), MakeReaction(), operator=(), and TestReactibility().
|
protected |
Definition at line 103 of file G4DNAMolecularReaction.hh.
Referenced by G4DNAMolecularReaction(), MakeReaction(), operator=(), and TestReactibility().
|
protected |
Definition at line 104 of file G4DNAMolecularReaction.hh.
Referenced by G4DNAMolecularReaction(), SetReactionModel(), and TestReactibility().
|
protected |
Definition at line 106 of file G4DNAMolecularReaction.hh.
Referenced by G4DNAMolecularReaction(), MakeReaction(), operator=(), and TestReactibility().
|
protected |
Definition at line 105 of file G4DNAMolecularReaction.hh.
Referenced by G4DNAMolecularReaction(), MakeReaction(), operator=(), SetVerbose(), and TestReactibility().