48 current_zone(-1), current_path(-1.), movingIn(
false),
49 reflectionCounter(0), reflected(
false), generation(-1), historyId(-1) {
51 G4cout <<
" >>> G4CascadParticle::G4CascadParticle" <<
G4endl;
60 theParticle(particle),
position(pos),
61 current_zone(izone), current_path(cpath), movingIn(
true),
62 reflectionCounter(0), reflected(
false), generation(gen), historyId(-1) {
64 G4cout <<
" >>> G4CascadParticle::G4CascadParticle "
111 G4cout <<
" >>> G4CascadParticle::getPathToTheNextZone rz_in " << rz_in
112 <<
" rz_out " << rz_out <<
G4endl;
136 <<
" rp " << rp <<
" pp " << pp <<
" ra " << ra <<
G4endl;
140 d2 = rz_out * rz_out - ra;
145 d2 = rz_in * rz_in - ra;
150 d2 = rz_in * rz_in - ra;
155 d2 = rz_out * rz_out - ra;
163 if (d2 < 0.0 && d2 > -1
e-6) d2 = 0.;
165 if (d2 > 0.0) path = ds * std::sqrt(d2) - rp /
pp;
172 G4cout <<
" >>> G4CascadParticle::propagateAlongThePath" <<
G4endl;