76 if (
this == &rhs)
return *
this;
89 const double currentStepTime,
91 bool userStepTimeLimit)
98 G4ExceptionDescription exceptionDescription (
"You have to give a reaction model to the molecular reaction process");
99 G4Exception(
"G4DNAMolecularReaction::TestReactibility",
"MolecularReaction001",
105 G4ExceptionDescription exceptionDescription (
"You have to give a reaction table to the molecular reaction process");
106 G4Exception(
"G4DNAMolecularReaction::TestReactibility",
"MolecularReaction002",
117 if(currentStepTime == 0.)
119 userStepTimeLimit =
false;
128 G4cout <<
"\033[1;39;36m" <<
"G4MolecularReaction "<<
G4endl;
132 <<
" calculated distance by model (= -1 if real distance > reaction radius and the user limitation step is not reached) : "
138 <<
" | MolA " << moleculeA->
GetName()
139 <<
", MolB " << moleculeB->
GetName()
142 G4cout <<
"--------------------------------------------" <<
G4endl;
161 G4cout <<
"G4DNAMolecularReaction::MakeReaction" <<
G4endl;
173 G4cout <<
"--------------------------------------------" <<
G4endl;
191 for (
G4int j=0 ; j < nbProducts; j++)
G4Molecule * GetMolecule(const G4Track &track)
ReturnType & reference_cast(OriginalType &source)
G4DLLIMPORT std::ostream G4cout
const G4Molecule * GetProduct(G4int i) const
G4int GetNbProducts() const
const G4DNAMolecularReactionData * GetReactionData(const G4Molecule *, const G4Molecule *) const
virtual ~G4DNAMolecularReaction()
const G4DNAMolecularReactionTable *& fMolReactionTable
G4DNAMolecularReaction & operator=(const G4DNAMolecularReaction &other)
virtual G4bool TestReactibility(const G4Track &, const G4Track &, const double currentStepTime, const double previousStepTime, bool userStepTimeLimit)
G4VDNAReactionModel * fReactionModel
virtual G4ITReactionChange * MakeReaction(const G4Track &, const G4Track &)
static G4ITManager< T > * Instance()
void AddSecondary(G4Track *aSecondary)
void Initialize(const G4Track &, const G4Track &, G4VParticleChange *particleChangeA=0, G4VParticleChange *particleChangeB=0)
const G4String & GetName() const
G4Track * BuildTrack(G4double globalTime, const G4ThreeVector &Position)
G4double GetDiffusionCoefficient() const
void SetTrackStatus(const G4TrackStatus aTrackStatus)
const G4ThreeVector & GetPosition() const
G4double GetGlobalTime() const
virtual G4bool FindReaction(const G4Track &, const G4Track &, const G4double, G4double &, const G4bool)=0
G4ITReactionChange * fpChanges
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
std::ostringstream G4ExceptionDescription