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