Fixed Bug in G4VDecayChannel (with gcc3.2.3)

This commit is contained in:
paraiso 2006-03-15 13:13:32 +00:00
parent 441cec0b4e
commit 7c7655f259

View File

@ -105,7 +105,7 @@ class G4VDecayChannel
// get mass of parent
G4double GetParentMass() const;
G4double GetDaughterMass(G4int anIndex) const;
G4ThreeVector GetParentPolarization();
G4ThreeVector GetParentPolarization();
//set the parent particle (by name or by pointer)
void SetParent(const G4ParticleDefinition * particle_type);
void SetParent(const G4String &particle_name);
@ -118,7 +118,6 @@ class G4VDecayChannel
const G4ParticleDefinition * particle_type);
void SetDaughter(G4int anIndex,
const G4String &particle_name);
void SetParentPolarization(G4ThreeVector polar);
protected:
// kinematics name
G4String kinematics_name;
@ -171,6 +170,10 @@ class G4VDecayChannel
// 2: More
static const G4String noName;
public:
void SetParentPolarization(G4ThreeVector polar);
};
inline