Files
geant4/source/processes/hadronic/util/include/G4IsoResult.hh
T
2016-06-08 15:55:53 +02:00

37 lines
720 B
C++

#ifndef G4IsoResult_h
#define G4IsoResult_h
#include "globals.hh"
#include "G4Nucleus.hh"
// Class Description
// Communication class for isotope production;
// Only interesting, if you want to implement your own isotope production model.
// Class Description - End
class G4IsoResult
{
public:
G4IsoResult(const G4String & anIso, const G4Nucleus & aMother)
{
theIsoName = anIso;
theMotherNucleus = aMother;
}
G4String GetIsotope() { return theIsoName; }
G4Nucleus GetMotherNucleus() { return theMotherNucleus; }
private:
G4IsoResult() {}
G4IsoResult & operator = (const G4IsoResult & aResult) { return *this;}
private:
G4String theIsoName;
G4Nucleus theMotherNucleus;
};
#endif