Geant4  10.04.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
G4VITReactionProcess Class Referenceabstract
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.

Constructor & Destructor Documentation

Default constructor

virtual ~G4VITReactionProcess ( )
virtual

Default destructor

Copy constructor

Parameters
otherObject to copy from

Member Function Documentation

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
virtual void Initialize ( )
virtual

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

virtual G4bool IsApplicable ( G4ITType  ,
G4ITType   
) const
virtual
virtual G4bool TestReactibility ( const G4Track ,
const G4Track ,
const double  ,
const double  ,
bool   
)
pure virtual

Implemented in G4DNAMolecularReaction.

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

Implemented in G4DNAMolecularReaction.

void SetReactionTable ( const G4ITReactionTable table)

References fpReactionTable.

void ResetChanges ( )

References fpChanges.

Member Data Documentation

const G4ITReactionTable* fpReactionTable
protected

Referenced by SetReactionTable().

G4ITReactionChange* fpChanges
protected

Referenced by ResetChanges().

G4String fName
protected