Dear all,
Recently,I have simualted the LaBr detector measurements of the ground state decay of 152Eu.
Throughout the decay process, the lifetimes of certain energy levels can be detected by LaBr. The spectrum of simulation is fine, but for some levels with lifetimes, their timestamps were wrong (e.g., a 1.4 ns life-time is from:~/Software/Geant4/geant4_install/share/Geant410.6.0/ data/PhotonEvaporation5.5, but it was instantaneous in the simulation), so I can not get the halflife of energy level by using the ion
This is my particleGun and Physicslist
void PrimaryGeneratorAction::GeneratePrimaries(G4Event* event)
{
G4int IonZ = 63;
G4int IonA = 152;
G4double IonEstart = 0*keV;
G4int EnergyLevel = 0;
G4double IonCharge = 0.0;
G4ParticleDefinition* ion = G4IonTable::GetIonTable()->GetIon(IonZ, IonA, IonEstart, EnergyLevel);
particleGun->SetParticleDefinition(ion);
particleGun->SetParticleCharge(IonCharge* eplus);
particleGun->SetParticleEnergy(0.0*MeV);
particleGun->SetParticlePosition(G4ThreeVector(0, 0, 0));
G4double theta= acos((G4UniformRand()-0.5)*2);
G4double phi = G4UniformRand()*2.0*pi;
G4double cosPX = sin(theta)*cos(phi);
G4double cosPY = sin(theta)*sin(phi);
G4double cosPZ = cos(theta);
G4ThreeVector directPri(cosPX, cosPY, cosPZ);
particleGun->SetParticleMomentumDirection(directPri);
particleGun->GeneratePrimaryVertex(event);
}
PhysicsList::PhysicsList()
: G4VModularPhysicsList()
{
RegisterPhysics(new G4EmLivermorePhysics());
// RegisterPhysics(new G4EmPenelopePhysics());
RegisterPhysics(new G4DecayPhysics());
RegisterPhysics(new G4RadioactiveDecayPhysics());
RegisterPhysics(new G4IonPhysics());
}
At first, I thought the issue was with my code for extracting event information, I then conducted tests, defining two gamma rays: the first emitted instantaneously, while the second decayed exponentially over a specified lifetime. Analysis of the data revealed that the corresponding lifetime could be obtained. This left me puzzled: “Why do gamma rays emitted by ions appear instantaneous rather than decaying over a lifetime?”.