Problem 67 - Rho- is wrongly initialized
Summary: Rho- is wrongly initialized
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: particles (show other problems)
Version: 1.0
Hardware: HP HP-UX
: P1 critical
Assignee: kurasige
URL:
Depends on:
Blocks:
 
Reported: 2000-03-16 09:48 CET by Isidro.Gonzalez
Modified: 2000-03-16 17:30 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Isidro.Gonzalez 2000-03-16 09:48:01 CET
Rho- registers itself as rho0
Rho- decay channel is wrongly set as starting with a rho+
The problem shows specially with shared libraries and makes the program crash.

cvs diff G4RhoMinus.cc
Index: G4RhoMinus.cc
===================================================================
RCS file:
/afs/cern.ch/sw/geant4/cvs/geant4/source/particles/hadrons/mesons/src/Attic/G4RhoMinus.cc,v
retrieving revision 1.1.10.1.2.2
diff -r1.1.10.1.2.2 G4RhoMinus.cc
9c9
< // GEANT4 tag $Name:  $
---
> // GEANT4 tag $Name: geant4-01-01 $
59c59
<   mode[0] = new G4PhaseSpaceDecayChannel("rho+",1.000,2,"pi-","pi0");
---
>   mode[0] = new G4PhaseSpaceDecayChannel("rho-",1.000,2,"pi-","pi0");
80c80
<              "rho0",      0.7685*GeV,     150.7*MeV,    -1.0*eplus,
---
>              "rho-",      0.7685*GeV,     150.7*MeV,    -1.0*eplus,
Comment 1 kurasige 2000-03-16 17:30:59 CET
Fixed version has been committed as 1.1.10.1.2.2.2.1 (under the
branch tag of hadrons-V00-01-01-patch1)

In the latest tag of hadrons-V01-00-01 (main trunk of development),
G4RhoMinus ( and G4RhoZero, G4RhoPlus) has been removed and definitions of rho
mesons have been moved into G4ShortLivedConstructor.