Geant4  10.01.p02
G4VITReactionProcess Class Referenceabstract

G4VITReactionProcess defines the reaction between two G4IT. More...

#include <G4VITReactionProcess.hh>

+ Inheritance diagram for G4VITReactionProcess:
+ Collaboration diagram for G4VITReactionProcess:

Public Member Functions

 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
 
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 62 of file G4VITReactionProcess.hh.

Constructor & Destructor Documentation

G4VITReactionProcess::G4VITReactionProcess ( )

Default constructor.

Definition at line 38 of file G4VITReactionProcess.cc.

G4VITReactionProcess::~G4VITReactionProcess ( )
virtual

Default destructor.

Definition at line 43 of file G4VITReactionProcess.cc.

G4VITReactionProcess::G4VITReactionProcess ( const G4VITReactionProcess other)

Copy constructor.

Parameters
otherObject to copy from

Definition at line 48 of file G4VITReactionProcess.cc.

References fpChanges, and fpReactionTable.

Member Function Documentation

virtual void G4VITReactionProcess::Initialize ( )
inlinevirtual

First initialization (done once for all at the begin of the run) eg.

check if the reaction table is given ...

Definition at line 92 of file G4VITReactionProcess.hh.

Referenced by G4VITStepModel::Initialize().

+ Here is the caller graph for this function:

virtual G4bool G4VITReactionProcess::IsApplicable ( G4ITType  ,
G4ITType   
) const
inlinevirtual

Definition at line 94 of file G4VITReactionProcess.hh.

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

Implemented in G4DNAMolecularReaction.

Referenced by G4ITModelProcessor::FindReaction().

+ Here is the caller graph for this function:

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

Will Clone the reaction process i.e.

new reaction process will be created with same features as the parent one. Use preprocessor macro : AddCloneReactionProcess the copy constructor of the derived class must be implemented. This macro is defined in AddClone_defAssignment operator

Parameters
otherObject to assign from
Returns
A reference to this

Definition at line 55 of file G4VITReactionProcess.cc.

References fName.

void G4VITReactionProcess::ResetChanges ( )
inline

Definition at line 123 of file G4VITReactionProcess.hh.

References fpChanges.

Referenced by G4ITModelProcessor::FindReaction().

+ Here is the caller graph for this function:

void G4VITReactionProcess::SetReactionTable ( const G4ITReactionTable table)
inline

Definition at line 118 of file G4VITReactionProcess.hh.

References fpReactionTable.

Referenced by G4VITStepModel::Initialize().

+ Here is the caller graph for this function:

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

Implemented in G4DNAMolecularReaction.

Referenced by G4ITModelProcessor::FindReaction().

+ Here is the caller graph for this function:

Member Data Documentation

G4String G4VITReactionProcess::fName
protected

Definition at line 115 of file G4VITReactionProcess.hh.

Referenced by operator=().

const G4ITReactionTable* G4VITReactionProcess::fpReactionTable
protected

Definition at line 113 of file G4VITReactionProcess.hh.

Referenced by G4VITReactionProcess(), and SetReactionTable().


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