73{
74
75
76
77
78
79
80
82 {
85 G4BiasingProcessInterface::GetSharedData( processManager );
86 if ( sharedData )
87 {
89 {
90 G4bool processFound(false);
91 for ( size_t j = 0 ;
92 j < (sharedData->GetPhysicsBiasingProcessInterfaces()).size();
93 j++ )
94 {
96 (sharedData->GetPhysicsBiasingProcessInterfaces())[j];
98 wrapperProcess->GetWrappedProcess()->GetProcessName() )
99 {
100 fProcesses.push_back( wrapperProcess->GetWrappedProcess() );
101 processFound = true;
102 break;
103 }
104 }
105 if ( !processFound )
106 {
107 G4String particleName =
"(unknown)";
109 {
111 }
112 G4ExceptionDescription ed;
114 << "' not found for particle `" << particleName << "'"
115 << G4endl;
116 G4Exception("GB05BOptrSplitAndKillByCrossSection::StartRun(...)",
117 "exGB05.02",
118 JustWarning,
119 ed);
120 }
121 }
122 }
124 }
125
127 {
128 G4ExceptionDescription ed;
129 ed << "No processes to counterbalance for defined or found ! "
130 << "Biasing will do nothing."
131 << G4endl;
132 G4Exception("GB05BOptrSplitAndKillByCrossSection::StartRun(...)",
133 "exGB05.03",
134 JustWarning,
135 ed);
136 }
137
138}
std::vector< G4String > fProcessesToEquipoise
std::vector< const G4VProcess * > fProcesses