Files
geant4/source/processes/hadronic/models/radiative_decay/src/G4RadioactiveDecayRate.cc
T
2016-06-08 15:42:07 +02:00

65 lines
1.2 KiB
C++

// G4RadioactiveDecayRate.cc
#include "G4ParticleDefinition.hh"
#include "G4ParticleTable.hh"
#include "G4DecayTable.hh"
#include "G4DecayProducts.hh"
#include "G4RadioactiveDecayRate.hh"
G4RadioactiveDecayRate::G4RadioactiveDecayRate()
{
;
//do nothing at the momment
}
G4RadioactiveDecayRate::G4RadioactiveDecayRate(const G4RadioactiveDecayRate &right)
{
Z = right.Z;
A = right.A;
E = right.E;
generation = right.generation;
decayRateC = right.decayRateC;
taos = right.taos;
// verboseLevel = right.verboseLevel;
}
G4RadioactiveDecayRate & G4RadioactiveDecayRate::operator=(const G4RadioactiveDecayRate &right)
{
if (this != &right) {
Z = right.Z;
A = right.A;
E = right.E;
generation = right.generation;
decayRateC = right.decayRateC;
taos = right.taos;
// verboseLevel = right.verboseLevel;
}
return *this;
}
G4RadioactiveDecayRate::~G4RadioactiveDecayRate()
{ ;}
void G4RadioactiveDecayRate::DumpInfo()
{
G4cout << " Z: " << Z << " A: " << A << " E: " << E <<G4endl;
G4cout << " Generation: " << generation << G4endl;
// G4cout << " Coefficiency: " << decayRateC << endl;
// G4cout << " Tao: " << tao << endl;
// need to overload << for decayRAteC and tao first!
G4cout << G4endl;
}