From 7c7655f259573986e8c0641225033cdd190a1a4b Mon Sep 17 00:00:00 2001 From: paraiso Date: Wed, 15 Mar 2006 13:13:32 +0000 Subject: [PATCH] Fixed Bug in G4VDecayChannel (with gcc3.2.3) --- geant4/LEMuSR/G4Modified/G4VDecayChannel.hh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/geant4/LEMuSR/G4Modified/G4VDecayChannel.hh b/geant4/LEMuSR/G4Modified/G4VDecayChannel.hh index 01e18c2..663ce87 100644 --- a/geant4/LEMuSR/G4Modified/G4VDecayChannel.hh +++ b/geant4/LEMuSR/G4Modified/G4VDecayChannel.hh @@ -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