Thank you for your reply!
In the meantime, I have combined the GB03 example with the importance store from B01. I used parts of the Geant4 standard G4ImportanceProcess and G4ImportanceAlgorithm to make this work. With that I can have individual importances for every volume.
I didn’t know you could just give the particle name to the same G4GenericBiasingPhysics one after the other, so I did this more complicated like this:
PhysicsList* phys = new PhysicsList;
G4GenericBiasingPhysics* biasingPhysics = new G4GenericBiasingPhysics();
biasingPhysics->NonPhysicsBias(“neutron”);
phys->RegisterPhysics(biasingPhysics);
G4GenericBiasingPhysics* biasingPhysics2 = new G4GenericBiasingPhysics();
biasingPhysics2->NonPhysicsBias(“gamma”);
phys->RegisterPhysics(biasingPhysics2);
So I will change this to your version.