51 G4SynchrotronRadiation* synchrotron =
new G4SynchrotronRadiation();
52 G4AutoDelete::Register(synchrotron);
54 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
56#if G4VERSION_NUMBER > 1029
57 auto aParticleIterator = GetParticleIterator();
59 aParticleIterator->reset();
60 while( (*aParticleIterator)() )
62 G4ParticleDefinition* particle = aParticleIterator->value();
64 if (particle->GetPDGCharge() != 0)
65 {ph->RegisterProcess(synchrotron, particle);}