Import Geant4 10.5.1 source tree
This commit is contained in:
@@ -52,19 +52,19 @@ G3MatTableEntry& G3MatTableEntry::operator=(const G3MatTableEntry& right)
|
||||
return *this;
|
||||
}
|
||||
|
||||
G4int G3MatTableEntry::operator==(const G3MatTableEntry& right) const
|
||||
G4bool G3MatTableEntry::operator==(const G3MatTableEntry& right) const
|
||||
{
|
||||
if (fID == right.GetID())
|
||||
return 1;
|
||||
return true;
|
||||
else
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
G4int G3MatTableEntry::operator!=(const G3MatTableEntry& right) const
|
||||
G4bool G3MatTableEntry::operator!=(const G3MatTableEntry& right) const
|
||||
{
|
||||
if (*this == right)
|
||||
return 0;
|
||||
return false;
|
||||
else
|
||||
return 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -64,19 +64,19 @@ G3MedTableEntry& G3MedTableEntry::operator=(const G3MedTableEntry& right)
|
||||
return *this;
|
||||
}
|
||||
|
||||
G4int G3MedTableEntry::operator==(const G3MedTableEntry& right) const
|
||||
G4bool G3MedTableEntry::operator==(const G3MedTableEntry& right) const
|
||||
{
|
||||
if (fID == right.GetID())
|
||||
return 1;
|
||||
return true;
|
||||
else
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
G4int G3MedTableEntry::operator!=(const G3MedTableEntry& right) const
|
||||
G4bool G3MedTableEntry::operator!=(const G3MedTableEntry& right) const
|
||||
{
|
||||
if (*this == right)
|
||||
return 0;
|
||||
return false;
|
||||
else
|
||||
return 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -52,19 +52,19 @@ G3RotTableEntry& G3RotTableEntry::operator=(const G3RotTableEntry& right)
|
||||
return *this;
|
||||
}
|
||||
|
||||
G4int G3RotTableEntry::operator==(const G3RotTableEntry& right) const
|
||||
G4bool G3RotTableEntry::operator==(const G3RotTableEntry& right) const
|
||||
{
|
||||
if (fID == right.GetID())
|
||||
return 1;
|
||||
return true;
|
||||
else
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
G4int G3RotTableEntry::operator!=(const G3RotTableEntry& right) const
|
||||
G4bool G3RotTableEntry::operator!=(const G3RotTableEntry& right) const
|
||||
{
|
||||
if (*this == right)
|
||||
return 0;
|
||||
return false;
|
||||
else
|
||||
return 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
// modified by I.Hrivnacova, V.Berejnoi 27 Sep 99
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4SystemOfUnits.hh"
|
||||
#include "G4Box.hh"
|
||||
#include "G4Tubs.hh"
|
||||
#include "G4Trd.hh"
|
||||
@@ -42,7 +41,8 @@
|
||||
#include "G4Hype.hh"
|
||||
#include "G4EllipticalTube.hh"
|
||||
#include "G3toG4MakeSolid.hh"
|
||||
|
||||
#include "G4SystemOfUnits.hh"
|
||||
|
||||
G4VSolid* G3toG4MakeSolid(const G4String& vname, const G4String& shape,
|
||||
const G4double* rpar, const G4int npar,
|
||||
G4bool& NegVolPars, G4bool& Deferred,
|
||||
|
||||
Reference in New Issue
Block a user