Geant4  10.00.p01
G4DNAMolecularReaction Class Reference

G4DNAMolecularReaction is the reaction process used in G4DNAMolecularStepByStepModel between two molecules. More...

#include <G4DNAMolecularReaction.hh>

+ Inheritance diagram for G4DNAMolecularReaction:
+ Collaboration diagram for G4DNAMolecularReaction:

Public Member Functions

 G4DNAMolecularReaction ()
 Default constructor. More...
 
virtual ~G4DNAMolecularReaction ()
 Default destructor. More...
 
 G4DNAMolecularReaction (const G4DNAMolecularReaction &other)
 Copy constructor. More...
 
G4DNAMolecularReactionoperator= (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 G4ITReactionChangeMakeReaction (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...
 
G4VITReactionProcessoperator= (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
 
G4VDNAReactionModelfReactionModel
 
G4int fVerbose
 
G4double fReactionRadius
 
G4double fDistance
 
- Protected Attributes inherited from G4VITReactionProcess
const G4ITReactionTablefpReactionTable
 
G4ITReactionChangefpChanges
 
G4String fName
 

Detailed Description

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 55 of file G4DNAMolecularReaction.hh.

Constructor & Destructor Documentation

G4DNAMolecularReaction::G4DNAMolecularReaction ( )

Default constructor.

Definition at line 47 of file G4DNAMolecularReaction.cc.

References fDistance, fReactionModel, fReactionRadius, and fVerbose.

G4DNAMolecularReaction::~G4DNAMolecularReaction ( )
virtual

Default destructor.

Definition at line 57 of file G4DNAMolecularReaction.cc.

References G4VITReactionProcess::fpChanges.

G4DNAMolecularReaction::G4DNAMolecularReaction ( const G4DNAMolecularReaction other)

Copy constructor.

Parameters
otherObject to copy from

Definition at line 63 of file G4DNAMolecularReaction.cc.

References fDistance, fMolReactionTable, fReactionModel, fReactionRadius, and fVerbose.

Member Function Documentation

G4DNAMolecularReaction & G4DNAMolecularReaction::operator= ( const G4DNAMolecularReaction other)

Assignment operator.

Parameters
otherObject to assign from
Returns
A reference to this

Definition at line 74 of file G4DNAMolecularReaction.cc.

References fDistance, fMolReactionTable, fReactionRadius, and fVerbose.

void G4DNAMolecularReaction::SetReactionModel ( G4VDNAReactionModel model)
inline

Definition at line 102 of file G4DNAMolecularReaction.hh.

References fReactionModel.

void G4DNAMolecularReaction::SetReactionTable ( const G4DNAMolecularReactionTable )
inline
void G4DNAMolecularReaction::SetVerbose ( int  verb)
inline

Definition at line 107 of file G4DNAMolecularReaction.hh.

References fVerbose.

G4bool G4DNAMolecularReaction::TestReactibility ( const G4Track trackA,
const G4Track trackB,
const double  currentStepTime,
const double  previousStepTime,
bool  userStepTimeLimit 
)
virtual

Given two tracks, it tells you whether they can react.

Implements G4VITReactionProcess.

Definition at line 87 of file G4DNAMolecularReaction.cc.

References FatalErrorInArgument, fDistance, G4VDNAReactionModel::FindReaction(), fMolReactionTable, fReactionModel, fReactionRadius, fVerbose, G4BestUnit, G4cout, G4endl, G4Exception(), GetMolecule(), G4Molecule::GetName(), G4Track::GetPosition(), and G4Track::GetTrackID().

+ Here is the call graph for this function:

Member Data Documentation

G4double G4DNAMolecularReaction::fDistance
protected
const G4DNAMolecularReactionTable*& G4DNAMolecularReaction::fMolReactionTable
protected
G4VDNAReactionModel* G4DNAMolecularReaction::fReactionModel
protected
G4double G4DNAMolecularReaction::fReactionRadius
protected
G4int G4DNAMolecularReaction::fVerbose
protected

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