Import Geant4 2.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:42:07 +02:00
parent 103bda00c8
commit e7d7193284
3106 changed files with 171117 additions and 90550 deletions
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4DalitzDecayChannel.hh,v 1.2.4.1 1999/12/07 20:49:49 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4DalitzDecayChannel.hh,v 1.3 1999/12/15 14:51:10 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4DecayProducts.hh,v 1.4.4.1 1999/12/07 20:49:49 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4DecayProducts.hh,v 1.5 1999/12/15 14:51:10 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4DecayTable.hh,v 1.3.2.1 1999/12/07 20:49:49 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4DecayTable.hh,v 1.5 2000/02/25 07:36:14 kurasige Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -16,22 +16,30 @@
// CERN, CN Division, ASD group
// History: first implementation, based on object model of
// 7 July 1996 H.Kurashige
// 14 June 1997 H.Kurashige
//
// ----------------------------------------
// implementation for STL 14 Feb. 2000 H.Kurashige
//
// ------------------------------------------------------------
#ifndef G4DecayTable_h
#define G4DecayTable_h 1
#include "G4ios.hh"
#include "g4rw/tpsrtvec.h"
#include "g4std/vector"
#include "globals.hh"
#include "G4ParticleDefinition.hh"
#include "G4VDecayChannel.hh"
class G4DecayTable
{
// Class Description
// G4DecayTable is the table of pointer to G4VDecayChannel.
// Decay channels inside is sorted by using decay branching ratio
//
public:
typedef G4RWTPtrSortedVector<G4VDecayChannel> G4VDecayChannelVector;
typedef G4std::vector<G4VDecayChannel*> G4VDecayChannelVector;
//constructors
public:
@@ -49,14 +57,22 @@ class G4DecayTable
G4int operator==(const G4DecayTable &right) const {return (this == &right);};
G4int operator!=(const G4DecayTable &right) const {return (this != &right);};
public:
public: // With Description
void Insert( G4VDecayChannel* aChannel);
G4int entries() const;
// Insert a decay channel at proper position
// (i.e. sorted by using branching ratio )
public:
G4int entries() const;
// Returns number of decay channels inside
public: // With Description
G4VDecayChannel* SelectADecayChannel();
// A decay channel is selected at random according to the branching ratio
G4VDecayChannel* GetDecayChannel(G4int index) const;
G4VDecayChannel* operator[](G4int index);
// Get index-th Decay channel
void DumpInfo() const;
private:
@@ -67,21 +83,22 @@ class G4DecayTable
inline
G4int G4DecayTable::entries() const
{
return channels->entries();
return channels->size();
}
inline
G4VDecayChannel* G4DecayTable::operator[](G4int index)
{
return (*channels)(index);
return (*channels)[index];
}
inline
G4VDecayChannel* G4DecayTable::GetDecayChannel(G4int index) const
{
G4VDecayChannel* selectedChannel = 0;
if ( (index>=0) && (index<channels->entries()) ){
selectedChannel = (*channels)(index);
if ( (index>=0) && (index<channels->size()) ){
selectedChannel = (*channels)[index];
}
return selectedChannel;
}
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4DecayTableMessenger.hh,v 1.3.4.1 1999/12/07 20:49:49 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4DecayTableMessenger.hh,v 1.4 1999/12/15 14:51:10 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
//---------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4DynamicParticle.hh,v 1.5.4.1 1999/12/07 20:49:49 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4DynamicParticle.hh,v 1.6 1999/12/15 14:51:10 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4DynamicParticle.icc,v 1.2.4.1 1999/12/07 20:49:50 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4DynamicParticle.icc,v 1.3 1999/12/15 14:51:10 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4DynamicParticleFastVector.hh,v 1.1.10.1 1999/12/07 20:49:50 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4DynamicParticleFastVector.hh,v 1.2 1999/12/15 14:51:10 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ElectronOccupancy.hh,v 1.3.4.1 1999/12/07 20:49:50 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4ElectronOccupancy.hh,v 1.4 1999/12/15 14:51:10 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4IonTable.hh,v 1.13.2.1 1999/12/07 20:49:50 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4IonTable.hh,v 1.15 2000/02/25 07:36:14 kurasige Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -31,11 +31,7 @@
#include "globals.hh"
#include "G4ParticleDefinition.hh"
#ifdef G4USE_STL
#include "g4std/vector"
#else
#include "g4rw/tpordvec.h"
#endif
class G4ParticleTable;
class G4VIsotopeTable;
@@ -49,13 +45,8 @@ class G4IonTable
//
public:
#ifdef G4USE_STL
// Use STL Vector as list of ions
typedef G4std::vector<G4ParticleDefinition*> G4IonList;
#else
// Use G4RWTPtrOrderedVector as list of ions
typedef G4RWTPtrOrderedVector<G4ParticleDefinition> G4IonList;
#endif
public:
// constructor
@@ -169,24 +160,16 @@ class G4IonTable
inline G4bool G4IonTable::Contains(const G4ParticleDefinition* particle) const
{
#ifdef G4USE_STL
G4IonList::iterator i;
for (i = fIonList->begin(); i!= fIonList->end(); ++i) {
if (**i==*particle) return true;
}
return false;
#else
return fIonList->contains(particle);
#endif
}
inline G4int G4IonTable::Entries() const
{
#ifdef G4USE_STL
return fIonList->size();
#else
return fIonList->entries();
#endif
}
inline G4ParticleDefinition* G4IonTable::GetParticle(G4int index) const
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Ions.hh,v 1.5.4.1 1999/12/07 20:49:50 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4Ions.hh,v 1.6 1999/12/15 14:51:10 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4IsotopeProperty.hh,v 1.2 1999/10/28 23:24:10 kurasige Exp $
// GEANT4 tag $Name: geant4-01-01 $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4KL3DecayChannel.hh,v 1.2.4.1 1999/12/07 20:49:50 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4KL3DecayChannel.hh,v 1.3 1999/12/15 14:51:10 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4MuonDecayChannel.hh,v 1.2.4.1 1999/12/07 20:49:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4MuonDecayChannel.hh,v 1.4 2000/02/25 07:36:15 kurasige Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -26,6 +26,13 @@
class G4MuonDecayChannel :public G4VDecayChannel
{
// Class Decription
// This class describes muon decay kinemtics.
// This version neglects muon polarization
// assumes the pure V-A coupling
// gives incorrect energy spectrum for neutrinos
//
public: // With Description
//Constructors
G4MuonDecayChannel(const G4String& theParentName,
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NucleiProperties.hh,v 1.8.4.1.2.1 1999/12/08 17:34:08 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4NucleiProperties.hh,v 1.10 2000/02/04 03:05:09 kurasige Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -32,18 +32,19 @@
class G4NucleiProperties
{
private:
// Class Description
// G4NucleiProperties is an utility class to provide mass formula of nuclei
// (i.e. it has static member function only)
// Default constructor (singleton)
G4NucleiProperties();
static G4NucleiProperties theInstance;
public:
public:
// Destructor
~G4NucleiProperties() { };
// Default constructor ()
G4NucleiProperties(){};
public: // With Description
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NucleiPropertiesTable.hh,v 1.7.4.1 1999/12/07 20:49:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4NucleiPropertiesTable.hh,v 1.8 1999/12/15 14:51:11 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1997
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4PDGCodeChecker.hh,v 1.4.4.1 1999/12/07 20:49:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4PDGCodeChecker.hh,v 1.5 1999/12/15 14:51:11 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ParticleDefinition.hh,v 1.5.4.1.2.1 1999/12/08 17:34:08 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4ParticleDefinition.hh,v 1.7 2000/02/25 07:36:15 kurasige Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -28,6 +28,7 @@
// added GetEnergyThreshold H.Kurashige 08 June 1998
// added ShortLived flag and ApplyCuts flag H.Kurashige 27 June 1998
// fixed some improper codings H.Kurashige 08 Apr. 1999
// added sub-type H.Kurashige 15 Feb. 2000
// ------------------------------------------------------------
#ifndef G4ParticleDefinition_h
@@ -116,7 +117,8 @@ class G4ParticleDefinition
G4int GetPDGiIsospin3() const { return thePDGiIsospin3; }
G4int GetPDGiGParity() const { return thePDGiGParity; }
G4String GetParticleType() const { return theParticleType; }
const G4String& GetParticleType() const { return theParticleType; }
const G4String& GetParticleSubType() const { return theParticleSubType; }
G4int GetLeptonNumber() const { return theLeptonNumber; }
G4int GetBaryonNumber() const { return theBaryonNumber; }
@@ -166,6 +168,8 @@ class G4ParticleDefinition
// It means error if the return value is deffernt from
// this->thePDGEncoding.
void SetParticleSubType(const G4String& subtype);
public:
void SetVerboseLevel(G4int value);
G4int GetVerboseLevel() const;
@@ -242,6 +246,10 @@ class G4ParticleDefinition
G4String theParticleType;
// More general textual type description of the particle.
G4String theParticleSubType;
// Textual type description of the particle
// eg. pion, lamda etc.
G4int thePDGEncoding;
// The Particle Data Group integer identifier of this particle
@@ -373,6 +381,11 @@ G4int G4ParticleDefinition::GetAntiQuarkContent(G4int flavor) const
}
}
inline void G4ParticleDefinition::SetParticleSubType(const G4String& subtype)
{
theParticleSubType = subtype;
}
inline void G4ParticleDefinition::ResetCuts(){}
inline void G4ParticleDefinition::SetCuts(G4double ){}
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ParticleMessenger.hh,v 1.3.4.1 1999/12/07 20:49:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4ParticleMessenger.hh,v 1.4 1999/12/15 14:51:11 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
//---------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ParticleMomentum.hh,v 1.3.4.1 1999/12/07 20:49:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4ParticleMomentum.hh,v 1.4 1999/12/15 14:51:11 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ParticlePropertyMessenger.hh,v 1.3.4.1 1999/12/07 20:49:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4ParticlePropertyMessenger.hh,v 1.4 1999/12/15 14:51:11 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
//---------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ParticleTable.hh,v 1.12.2.1 1999/12/07 20:49:52 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4ParticleTable.hh,v 1.14 2000/02/25 07:36:15 kurasige Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -35,12 +35,9 @@
#include "globals.hh"
#include "G4ParticleDefinition.hh"
#ifdef G4USE_STL
#include "g4std/map"
#include "G4ParticleTableIterator.hh"
#else
#include "g4rw/tphdict.h"
#endif
class G4UImessenger;
class G4ParticleMessenger;
@@ -58,17 +55,11 @@ class G4ParticleTable
//
public:
#ifdef G4USE_STL
typedef G4ParticleTableIterator<G4String, G4ParticleDefinition*>::Map G4PTblDictionary;
typedef G4ParticleTableIterator<G4String, G4ParticleDefinition*> G4PTblDicIterator;
typedef G4ParticleTableIterator<G4int, G4ParticleDefinition*>::Map G4PTblEncodingDictionary;
typedef G4ParticleTableIterator<G4int, G4ParticleDefinition*> G4PTblEncodingDicIterator;
#else
typedef G4RWTPtrHashDictionary<G4String,G4ParticleDefinition> G4PTblDictionary;
typedef G4RWTPtrHashDictionaryIterator<G4String,G4ParticleDefinition> G4PTblDicIterator;
typedef G4RWTPtrHashDictionary<G4int,G4ParticleDefinition> G4PTblEncodingDictionary;
typedef G4RWTPtrHashDictionaryIterator<G4int,G4ParticleDefinition> G4PTblEncodingDicIterator;
#endif
protected:
G4ParticleTable();
@@ -174,13 +165,6 @@ class G4ParticleTable
// remove all particles from G4ParticleTable and
// delete them if they were created dynamically (i.e. not static objects)
#ifndef G4USE_STL
protected:
static unsigned HashFun(const G4String& particle_name);
static unsigned EncodingHashFun(const G4int& aEndcoding);
// hash functions
#endif
private:
G4int verboseLevel;
// controle flag for output message
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ParticleTable.icc,v 1.5.4.1 1999/12/07 20:49:52 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4ParticleTable.icc,v 1.7 2000/02/25 07:36:15 kurasige Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -64,16 +64,12 @@ inline
inline
G4ParticleDefinition* G4ParticleTable::FindParticle(const G4String &particle_name)
{
#ifdef G4USE_STL
G4PTblDictionary::iterator it = fDictionary->find(particle_name);
if (it != fDictionary->end()) {
return (*it).second;
}else {
return 0;
}
#else
return fDictionary -> findValue(&particle_name);
#endif
}
@@ -100,12 +96,8 @@ inline
inline
G4bool G4ParticleTable::contains(const G4String& particle_name)
{
#ifdef G4USE_STL
G4PTblDictionary::iterator it = fDictionary->find(particle_name);
return (it != fDictionary->end());
#else
return fDictionary -> contains(&particle_name);
#endif
}
inline
@@ -128,35 +120,12 @@ inline
inline
G4int G4ParticleTable::entries() const
{
#ifdef G4USE_STL
return fDictionary->size();
#else
return fDictionary -> entries();
#endif
}
inline
G4int G4ParticleTable::size() const
{
#ifdef G4USE_STL
return fDictionary->size();
#else
return fDictionary -> entries();
#endif
}
#ifndef G4USE_STL
inline unsigned G4ParticleTable::HashFun(const G4String& particle_name)
{
return particle_name.hash();
}
inline
unsigned G4ParticleTable::EncodingHashFun(const G4int& aEncoding)
{
G4int temp = aEncoding;
if (aEncoding <0) temp *= -1;
G4int value = ( temp & 0x0FFF)*( temp & 0x0FFF)/2;
return value;
}
#endif
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ParticleTableIterator.hh,v 1.2.4.1.2.1 1999/12/09 10:28:49 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4ParticleTableIterator.hh,v 1.3 1999/12/15 14:51:11 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ParticleWithCuts.hh,v 1.4.4.1.2.1 1999/12/08 17:34:08 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4ParticleWithCuts.hh,v 1.5 1999/12/15 14:51:11 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4PhaseSpaceDecayChannel.hh,v 1.2.4.1 1999/12/07 20:49:52 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4PhaseSpaceDecayChannel.hh,v 1.3 1999/12/15 14:51:11 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ShortLivedTable.hh,v 1.7.2.1 1999/12/07 20:49:52 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4ShortLivedTable.hh,v 1.9 2000/02/25 07:36:15 kurasige Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -26,12 +26,7 @@
#include "globals.hh"
#include "G4ParticleDefinition.hh"
#ifdef G4USE_STL
#include "g4std/vector"
#else
#include "g4rw/tpordvec.h"
#endif
class G4ParticleTable;
@@ -43,13 +38,8 @@ class G4ShortLivedTable
//
public:
#ifdef G4USE_STL
// Use STL Vector as list of shortlives
typedef G4std::vector<G4ParticleDefinition*> G4ShortLivedList;
#else
// Use G4RWTPtrOrderedVector as list of shortlives
typedef G4RWTPtrOrderedVector<G4ParticleDefinition> G4ShortLivedList;
#endif
public:
G4ShortLivedTable();
@@ -57,7 +47,7 @@ class G4ShortLivedTable
protected:
G4ShortLivedTable(const G4ShortLivedTable &right);
public:
public: // With Description
virtual ~G4ShortLivedTable();
G4bool IsShortLived(G4ParticleDefinition*) const;
@@ -82,28 +72,21 @@ class G4ShortLivedTable
inline G4bool G4ShortLivedTable::Contains(const G4ParticleDefinition* particle) const
{
#ifdef G4USE_STL
G4ShortLivedList::iterator i;
for (i = fShortLivedList->begin(); i!= fShortLivedList->end(); ++i) {
if (**i==*particle) return true;
}
return false;
#else
return fShortLivedList->contains(particle);
#endif
}
inline G4int G4ShortLivedTable::Entries() const
{
#ifdef G4USE_STL
return fShortLivedList->size();
#else
return fShortLivedList->entries();
#endif
}
inline G4ParticleDefinition* G4ShortLivedTable::GetParticle(G4int index) const
inline
G4ParticleDefinition* G4ShortLivedTable::GetParticle(G4int index) const
{
if ( (index >=0 ) && (index < Entries()) ) {
return (*fShortLivedList)[index];
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VDecayChannel.hh,v 1.5.4.1.2.1 1999/12/08 17:34:08 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4VDecayChannel.hh,v 1.7 2000/03/23 16:43:41 hweber Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -17,6 +17,7 @@
// History: first implementation, based on object model of
// 27 July 1996 H.Kurashige
// 30 May 1997 H.Kurashige
// 23 Mar. 2000 H.Weber : add GetAngularMomentum()
// ------------------------------------------------------------
#ifndef G4VDecayChannel_h
#define G4VDecayChannel_h 1
@@ -78,6 +79,8 @@ class G4VDecayChannel
//get the pointer to a daughter particle
G4ParticleDefinition * GetDaughter(G4int anIndex);
//get the angular momentum of the decay
G4int GetAngularMomentum();
//get the name of the parent particle
const G4String& GetParentName() const;
//get the name of a daughter particle
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VIsotopeTable.hh,v 1.2 1999/10/28 23:24:14 kurasige Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4VIsotopeTable.hh,v 1.3 2000/01/26 10:52:04 kurasige Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
@@ -40,6 +40,7 @@ class G4VIsotopeTable
public: // With Description
// pure virtual method
virtual G4bool FindIsotope(G4IsotopeProperty* property) = 0;
virtual G4IsotopeProperty* GetIsotope(G4int Z, G4int A, G4double E) = 0;
// Search the isotope in the G4VIsotopeTable.
// The isotope is desingated by
// G4int Z: number of proton (Atomic number)