Import Geant4 10.5.1 source tree
This commit is contained in:
@@ -71,8 +71,8 @@ class G4VShortLivedParticle : public G4ParticleDefinition
|
||||
|
||||
virtual ~G4VShortLivedParticle();
|
||||
|
||||
G4int operator==(const G4VShortLivedParticle &right) const;
|
||||
G4int operator!=(const G4VShortLivedParticle &right) const;
|
||||
G4bool operator==(const G4VShortLivedParticle &right) const;
|
||||
G4bool operator!=(const G4VShortLivedParticle &right) const;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -61,12 +61,12 @@ G4VShortLivedParticle::G4VShortLivedParticle(const G4String& aName,
|
||||
|
||||
G4VShortLivedParticle::~G4VShortLivedParticle() {}
|
||||
|
||||
G4int G4VShortLivedParticle::operator==(const G4VShortLivedParticle &right) const
|
||||
G4bool G4VShortLivedParticle::operator==(const G4VShortLivedParticle &right) const
|
||||
{
|
||||
return (this->GetParticleName() == right.GetParticleName());
|
||||
}
|
||||
|
||||
G4int G4VShortLivedParticle::operator!=(const G4VShortLivedParticle &right) const
|
||||
G4bool G4VShortLivedParticle::operator!=(const G4VShortLivedParticle &right) const
|
||||
{
|
||||
return (this->GetParticleName() != right.GetParticleName());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user