70 fBiasedParticles.push_back(particleName);
71 std::vector< G4String > dummy;
72 fBiasedProcesses.push_back(dummy);
73 fBiasAllProcesses.push_back(
true);
80 fBiasedParticles.push_back(particleName);
81 fBiasedProcesses.push_back(processNames);
82 fBiasAllProcesses.push_back(
false);
89 fNonPhysBiasedParticles.push_back(particleName);
126 if ( std::find(fNonPhysBiasedParticles.begin(),
127 fNonPhysBiasedParticles.end(),
128 particleName ) != fNonPhysBiasedParticles.end() )
135 if ( std::find(fBiasedParticles.begin(),
136 fBiasedParticles.end(),
137 particleName ) == fBiasedParticles.end() )
continue;
143 while ( restartLoop )
145 for (
G4int ip = 0 ; ip < vprocess->
size() ; ip++)
150 if ( restartLoop )
break;
virtual void ConstructParticle()
virtual void ConstructProcess()
void PhysicsBias(const G4String &particleName)
static void ActivateNonPhysicsBiasing(G4ProcessManager *pmanager, G4String nonPhysicsProcessName="")
G4ProcessManager * GetProcessManager() const
const G4String & GetParticleName() const
virtual ~G4GenericBiasingPhysics()
G4GenericBiasingPhysics(const G4String &name="BiasingP")
#define aParticleIterator
static G4bool ActivatePhysicsBiasing(G4ProcessManager *pmanager, G4String physicsProcessToBias, G4String wrappedName="")
const G4String & GetProcessName() const
void NonPhysicsBias(const G4String &particleName)
G4ProcessVector * GetProcessList() const
#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor)
void Bias(const G4String &particleName)