Import Geant4 10.1.0 source tree
This commit is contained in:
@@ -23,18 +23,27 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4DNAMolecularReactionTable.hh 70171 2013-05-24 13:34:18Z gcosmo $
|
||||
// $Id: G4DNAMolecularReactionTable.hh 85244 2014-10-27 08:24:13Z gcosmo $
|
||||
//
|
||||
// Author: Mathieu Karamitros (kara (AT) cenbg . in2p3 . fr)
|
||||
// Author: Mathieu Karamitros, kara@cenbg.in2p3.fr
|
||||
|
||||
// The code is developed in the framework of the ESA AO7146
|
||||
//
|
||||
// WARNING : This class is released as a prototype.
|
||||
// It might strongly evolve or even disapear in the next releases.
|
||||
// We would be very happy hearing from you, send us your feedback! :)
|
||||
//
|
||||
// History:
|
||||
// -----------
|
||||
// 10 Oct 2011 M.Karamitros created
|
||||
// In order for Geant4-DNA to be maintained and still open-source,
|
||||
// article citations are crucial.
|
||||
// If you use Geant4-DNA chemistry and you publish papers about your software,
|
||||
// in addition to the general paper on Geant4-DNA:
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// Int. J. Model. Simul. Sci. Comput. 1 (2010) 157–178
|
||||
//
|
||||
// we would be very happy if you could please also cite the following
|
||||
// reference papers on chemistry:
|
||||
//
|
||||
// J. Comput. Phys. 274 (2014) 841-882
|
||||
// Prog. Nucl. Sci. Tec. 2 (2011) 503-508
|
||||
|
||||
|
||||
#ifndef G4MolecularReactionTable_h
|
||||
#define G4MolecularReactionTable_h 1
|
||||
@@ -59,10 +68,14 @@ public :
|
||||
G4DNAMolecularReactionData(G4double reactionRate,
|
||||
const G4Molecule* reactive1,
|
||||
const G4Molecule* reactive2);
|
||||
|
||||
G4DNAMolecularReactionData(G4double reactionRate,
|
||||
const G4String& reactive1,
|
||||
const G4String& reactive2);
|
||||
~G4DNAMolecularReactionData();
|
||||
|
||||
const G4Molecule* GetReactive1() const { return fReactive1.get(); }
|
||||
const G4Molecule* GetReactive2() const { return fReactive2.get(); }
|
||||
const G4Molecule* GetReactive1() const { return fReactive1; }
|
||||
const G4Molecule* GetReactive2() const { return fReactive2; }
|
||||
|
||||
G4double GetReactionRate() const {return fReactionRate;}
|
||||
G4double GetReducedReactionRadius() const {return fReducedReactionRadius;}
|
||||
@@ -73,6 +86,11 @@ public :
|
||||
void SetReactive(const G4Molecule* reactive1, const G4Molecule* reactive2);
|
||||
void AddProduct(const G4Molecule* molecule);
|
||||
|
||||
void SetReactive1(const G4String& reactive) ;
|
||||
void SetReactive2(const G4String& reactive) ;
|
||||
void SetReactive(const G4String& reactive1, const G4String& reactive2);
|
||||
void AddProduct(const G4String& molecule);
|
||||
|
||||
G4int GetNbProducts() const
|
||||
{
|
||||
if(fProducts) return fProducts->size();
|
||||
@@ -81,18 +99,18 @@ public :
|
||||
|
||||
const G4Molecule* GetProduct(G4int i) const
|
||||
{
|
||||
if(fProducts) return (*fProducts)[i].get();
|
||||
if(fProducts) return (*fProducts)[i];
|
||||
return 0;
|
||||
}
|
||||
|
||||
protected :
|
||||
G4DNAMolecularReactionData();
|
||||
G4MoleculeHandle fReactive1;
|
||||
G4MoleculeHandle fReactive2;
|
||||
const G4Molecule* fReactive1;
|
||||
const G4Molecule* fReactive2;
|
||||
G4double fReactionRate;
|
||||
G4double fReducedReactionRadius;
|
||||
|
||||
std::vector<G4MoleculeHandle>* fProducts;
|
||||
std::vector<const G4Molecule*>* fProducts;
|
||||
};
|
||||
|
||||
struct compMoleculeP
|
||||
|
||||
Reference in New Issue
Block a user