Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4VITReactionProcess Class Referenceabstract

#include <G4VITReactionProcess.hh>

Inheritance diagram for G4VITReactionProcess:
Collaboration diagram for G4VITReactionProcess:

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

Constructor & Destructor Documentation

G4VITReactionProcess::G4VITReactionProcess ( )

Default constructor

Definition at line 38 of file G4VITReactionProcess.cc.

38  : fpReactionTable(0), fpChanges(0)
39 {
40  //ctor
41 }
const G4ITReactionTable * fpReactionTable
G4ITReactionChange * fpChanges
G4VITReactionProcess::~G4VITReactionProcess ( )
virtual

Default destructor

Definition at line 43 of file G4VITReactionProcess.cc.

44 {
45  //dtor
46 }
G4VITReactionProcess::G4VITReactionProcess ( const G4VITReactionProcess other)

Copy constructor

Parameters
otherObject to copy from

Definition at line 48 of file G4VITReactionProcess.cc.

49 {
50  //copy ctor
51  fpChanges = 0;
52  fpReactionTable = 0;
53 }
const G4ITReactionTable * fpReactionTable
G4ITReactionChange * fpChanges

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.

92 {;}

Here is the caller graph for this function:

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

Definition at line 94 of file G4VITReactionProcess.hh.

94 {return true;}
virtual G4ITReactionChange* G4VITReactionProcess::MakeReaction ( const G4Track ,
const G4Track  
)
pure virtual

Implemented in G4DNAMolecularReaction.

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.

56 {
57  //assignment operator
58  if (this == &rhs) return *this; // handle self assignment
59 // fApplicableType1 = rhs.fApplicableType1;
60 // fApplicableType2 = rhs.fApplicableType2;
61 
62  fName = rhs.fName;
63  return *this;
64 }
void G4VITReactionProcess::ResetChanges ( )
inline

Definition at line 123 of file G4VITReactionProcess.hh.

124 {
125  fpChanges = 0;
126 }
G4ITReactionChange * fpChanges

Here is the caller graph for this function:

void G4VITReactionProcess::SetReactionTable ( const G4ITReactionTable table)
inline

Definition at line 118 of file G4VITReactionProcess.hh.

119 {
120  fpReactionTable = table;
121 }
const G4ITReactionTable * fpReactionTable

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.

Here is the caller graph for this function:

Member Data Documentation

G4String G4VITReactionProcess::fName
protected

Definition at line 115 of file G4VITReactionProcess.hh.

G4ITReactionChange* G4VITReactionProcess::fpChanges
protected

Definition at line 114 of file G4VITReactionProcess.hh.

const G4ITReactionTable* G4VITReactionProcess::fpReactionTable
protected

Definition at line 113 of file G4VITReactionProcess.hh.


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