Fixed Bug in G4VDecayChannel (with gcc3.2.3)
This commit is contained in:
parent
441cec0b4e
commit
7c7655f259
@ -105,7 +105,7 @@ class G4VDecayChannel
|
|||||||
// get mass of parent
|
// get mass of parent
|
||||||
G4double GetParentMass() const;
|
G4double GetParentMass() const;
|
||||||
G4double GetDaughterMass(G4int anIndex) const;
|
G4double GetDaughterMass(G4int anIndex) const;
|
||||||
G4ThreeVector GetParentPolarization();
|
G4ThreeVector GetParentPolarization();
|
||||||
//set the parent particle (by name or by pointer)
|
//set the parent particle (by name or by pointer)
|
||||||
void SetParent(const G4ParticleDefinition * particle_type);
|
void SetParent(const G4ParticleDefinition * particle_type);
|
||||||
void SetParent(const G4String &particle_name);
|
void SetParent(const G4String &particle_name);
|
||||||
@ -118,7 +118,6 @@ class G4VDecayChannel
|
|||||||
const G4ParticleDefinition * particle_type);
|
const G4ParticleDefinition * particle_type);
|
||||||
void SetDaughter(G4int anIndex,
|
void SetDaughter(G4int anIndex,
|
||||||
const G4String &particle_name);
|
const G4String &particle_name);
|
||||||
void SetParentPolarization(G4ThreeVector polar);
|
|
||||||
protected:
|
protected:
|
||||||
// kinematics name
|
// kinematics name
|
||||||
G4String kinematics_name;
|
G4String kinematics_name;
|
||||||
@ -171,6 +170,10 @@ class G4VDecayChannel
|
|||||||
// 2: More
|
// 2: More
|
||||||
|
|
||||||
static const G4String noName;
|
static const G4String noName;
|
||||||
|
|
||||||
|
public:
|
||||||
|
void SetParentPolarization(G4ThreeVector polar);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inline
|
inline
|
||||||
|
Loading…
x
Reference in New Issue
Block a user