G4VITReactionProcess Class Reference

#include <G4VITReactionProcess.hh>

Inheritance diagram for G4VITReactionProcess:

G4DNAMolecularReaction

Public Member Functions

 G4VITReactionProcess ()
virtual ~G4VITReactionProcess ()
 G4VITReactionProcess (const G4VITReactionProcess &other)
G4VITReactionProcessoperator= (const G4VITReactionProcess &other)
virtual void Initialize ()
virtual G4bool IsApplicable (G4ITType, G4ITType) const
virtual G4bool TestReactibility (const G4Track &, const G4Track &, const double, const double, bool)=0
virtual G4ITReactionChangeMakeReaction (const G4Track &, const G4Track &)=0
void SetReactionTable (const G4ITReactionTable *)
void ResetChanges ()

Protected Attributes

const G4ITReactionTablefpReactionTable
G4ITReactionChangefpChanges
G4String fName

Detailed Description

G4VITReactionProcess defines the reaction between two G4IT. It should be stored in a G4VITModel.

Definition at line 53 of file G4VITReactionProcess.hh.


Constructor & Destructor Documentation

G4VITReactionProcess::G4VITReactionProcess (  ) 

Default constructor

Definition at line 38 of file G4VITReactionProcess.cc.

00038                                            : fpReactionTable(0), fpChanges(0)
00039 {
00040     //ctor
00041 }

G4VITReactionProcess::~G4VITReactionProcess (  )  [virtual]

Default destructor

Definition at line 43 of file G4VITReactionProcess.cc.

00044 {
00045     //dtor
00046 }

G4VITReactionProcess::G4VITReactionProcess ( const G4VITReactionProcess other  ) 

Copy constructor

Parameters:
other Object to copy from

Definition at line 48 of file G4VITReactionProcess.cc.

References fpChanges, and fpReactionTable.

00049 {
00050     //copy ctor
00051     fpChanges = 0;
00052     fpReactionTable = 0;
00053 }


Member Function Documentation

virtual void G4VITReactionProcess::Initialize (  )  [inline, virtual]

First initialization (done once for all at the begin of the run) eg. check if the reaction table is given ...

Definition at line 83 of file G4VITReactionProcess.hh.

Referenced by G4VITModel::Initialize().

00083 {;}

virtual G4bool G4VITReactionProcess::IsApplicable ( G4ITType  ,
G4ITType   
) const [inline, virtual]

Definition at line 85 of file G4VITReactionProcess.hh.

00085 {return true;}

virtual G4ITReactionChange* G4VITReactionProcess::MakeReaction ( const G4Track ,
const G4Track  
) [pure virtual]

Implemented in G4DNAMolecularReaction.

Referenced by G4ITModelProcessor::FindReaction().

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

Assignment operator

Parameters:
other Object to assign from
Returns:
A reference to this

Definition at line 55 of file G4VITReactionProcess.cc.

References fName.

00056 {
00057     //assignment operator
00058     if (this == &rhs) return *this; // handle self assignment
00059 //    fApplicableType1 = rhs.fApplicableType1;
00060 //    fApplicableType2 = rhs.fApplicableType2;
00061 
00062     fName       = rhs.fName;
00063     return *this;
00064 }

void G4VITReactionProcess::ResetChanges (  )  [inline]

Definition at line 114 of file G4VITReactionProcess.hh.

References fpChanges.

Referenced by G4ITModelProcessor::FindReaction().

00115 {
00116     fpChanges = 0;
00117 }

void G4VITReactionProcess::SetReactionTable ( const G4ITReactionTable  )  [inline]

Definition at line 109 of file G4VITReactionProcess.hh.

References fpReactionTable.

Referenced by G4VITModel::Initialize().

00110 {
00111     fpReactionTable = table;
00112 }

virtual G4bool G4VITReactionProcess::TestReactibility ( const G4Track ,
const G4Track ,
const   double,
const   double,
bool   
) [pure virtual]

Implemented in G4DNAMolecularReaction.


Field Documentation

G4String G4VITReactionProcess::fName [protected]

Definition at line 106 of file G4VITReactionProcess.hh.

Referenced by operator=().

G4ITReactionChange* G4VITReactionProcess::fpChanges [protected]

Definition at line 105 of file G4VITReactionProcess.hh.

Referenced by G4VITReactionProcess(), G4DNAMolecularReaction::MakeReaction(), ResetChanges(), and G4DNAMolecularReaction::~G4DNAMolecularReaction().

const G4ITReactionTable* G4VITReactionProcess::fpReactionTable [protected]

Definition at line 104 of file G4VITReactionProcess.hh.

Referenced by G4VITReactionProcess(), and SetReactionTable().


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:50 2013 for Geant4 by  doxygen 1.4.7