Problem 156 - Bug in G4MagHelicalStepper.cc ??
Summary: Bug in G4MagHelicalStepper.cc ??
Status: RESOLVED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: geometry/magneticfield (show other problems)
Version: 1.0
Hardware: PC Linux
: P2 normal
Assignee: Vladimir.Grichine
URL:
Depends on:
Blocks:
 
Reported: 2000-09-27 09:18 CEST by seidl
Modified: 2000-10-04 05:02 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description seidl 2000-09-27 09:18:30 CEST
If I understand the code of G4MagHelicalStepper.cc right,
I would replace the line CosT = 1.0 - 2.0 * SinT * SinT;
by CosT = 1.0 - 4.0 * SinT * SintT;
Comment 1 Gabriele Cosmo 2000-09-28 02:25:59 CEST
Please, note this is still referring to Geant4 1.0 !
Comment 2 Gabriele Cosmo 2000-10-04 02:08:59 CEST
Problem now under investigation.
Comment 3 Gabriele Cosmo 2000-10-04 05:02:59 CEST
Report from V.Grichine analysis of the problem:
 G4MagHelicalStepper has been checked and did not find error.
 The formula below:
    cos(2*theta) = cos^2(theta) - sin^2(theta) = 1 - 2*sin^2(theta)
 is correctly represented.