Import Geant4 10.6.2 source tree
This commit is contained in:
@@ -39,14 +39,7 @@ class G4ParticleHPDataPoint
|
||||
G4ParticleHPDataPoint(){energy = 0; xSec = 0;}
|
||||
G4ParticleHPDataPoint(G4double e, G4double x){ energy = e; xSec = x;}
|
||||
|
||||
void operator= (const G4ParticleHPDataPoint & aSet)
|
||||
{
|
||||
if(&aSet!=this)
|
||||
{
|
||||
energy = aSet.GetEnergy();
|
||||
xSec = aSet.GetXsection();
|
||||
}
|
||||
}
|
||||
G4ParticleHPDataPoint & operator= (const G4ParticleHPDataPoint & aSet) = default;
|
||||
|
||||
// ~G4ParticleHPDataPoint(){}
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@ public:
|
||||
if(0 == theData.size()%10 && 0!=theData.size())
|
||||
{
|
||||
if(0 == theUpper) theUpper = new G4ParticleHPHash();
|
||||
theUpper->SetData(theData.size()-1, x, y);
|
||||
theUpper->SetData( static_cast<G4int>(theData.size())-1, x, y);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -100,7 +100,8 @@ public:
|
||||
delete [] energy;
|
||||
delete [] theYield;
|
||||
delete [] thePartialXsec;
|
||||
delete [] theReactionXsec;
|
||||
// delete [] theReactionXsec;
|
||||
// DHW: not created in this class
|
||||
delete [] isPrimary;
|
||||
delete [] theShells;
|
||||
delete [] theGammas;
|
||||
|
||||
Reference in New Issue
Block a user