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