Import Geant4 10.6.0.beta source tree
This commit is contained in:
@@ -49,8 +49,8 @@ public:
|
||||
~G4DecayStrongResonances();
|
||||
|
||||
private:
|
||||
G4int operator==(G4DecayStrongResonances& right) {return (this == &right);}
|
||||
G4int operator!=(G4DecayStrongResonances& right) {return (this != &right);}
|
||||
G4bool operator==(G4DecayStrongResonances& right) {return (this == &right);}
|
||||
G4bool operator!=(G4DecayStrongResonances& right) {return (this != &right);}
|
||||
|
||||
public:
|
||||
G4ReactionProductVector* Propagate(G4KineticTrackVector* theSecondaries,
|
||||
|
||||
@@ -70,8 +70,8 @@ private:
|
||||
G4ExcitedString& operator= (const G4ExcitedString &right);
|
||||
|
||||
public:
|
||||
int operator==(const G4ExcitedString &right) const;
|
||||
int operator!=(const G4ExcitedString &right) const;
|
||||
G4bool operator==(const G4ExcitedString &right) const;
|
||||
G4bool operator!=(const G4ExcitedString &right) const;
|
||||
|
||||
public:
|
||||
G4double GetTimeOfCreation() const;
|
||||
@@ -122,13 +122,13 @@ public:
|
||||
};
|
||||
|
||||
inline
|
||||
int G4ExcitedString::operator==(const G4ExcitedString &right) const
|
||||
G4bool G4ExcitedString::operator==(const G4ExcitedString &right) const
|
||||
{
|
||||
return this == &right;
|
||||
}
|
||||
|
||||
inline
|
||||
int G4ExcitedString::operator!=(const G4ExcitedString &right) const
|
||||
G4bool G4ExcitedString::operator!=(const G4ExcitedString &right) const
|
||||
{
|
||||
return this != &right;
|
||||
}
|
||||
|
||||
@@ -61,8 +61,8 @@ class G4Fancy3DNucleus : public G4V3DNucleus
|
||||
private:
|
||||
G4Fancy3DNucleus(const G4Fancy3DNucleus &right);
|
||||
const G4Fancy3DNucleus & operator=(const G4Fancy3DNucleus &right);
|
||||
int operator==(const G4Fancy3DNucleus &right) const;
|
||||
int operator!=(const G4Fancy3DNucleus &right) const;
|
||||
G4bool operator==(const G4Fancy3DNucleus &right) const;
|
||||
G4bool operator!=(const G4Fancy3DNucleus &right) const;
|
||||
|
||||
|
||||
// Implementation
|
||||
|
||||
@@ -59,13 +59,13 @@ public:
|
||||
}
|
||||
|
||||
// Equality only true for same object (tests by address)
|
||||
bool operator==(const G4Fancy3DNucleusHelper &right) const
|
||||
G4bool operator==(const G4Fancy3DNucleusHelper &right) const
|
||||
{
|
||||
return (this == &right);
|
||||
}
|
||||
|
||||
// Sorting on size value
|
||||
bool operator<(const G4Fancy3DNucleusHelper &right) const
|
||||
G4bool operator<(const G4Fancy3DNucleusHelper &right) const
|
||||
{
|
||||
return (Size < right.Size);
|
||||
}
|
||||
|
||||
@@ -73,9 +73,9 @@ class G4KineticTrack : public G4VKineticNucleon
|
||||
|
||||
G4KineticTrack& operator=(const G4KineticTrack& right);
|
||||
|
||||
G4int operator==(const G4KineticTrack& right) const;
|
||||
G4bool operator==(const G4KineticTrack& right) const;
|
||||
|
||||
G4int operator!=(const G4KineticTrack& right) const;
|
||||
G4bool operator!=(const G4KineticTrack& right) const;
|
||||
/*
|
||||
inline void *operator new(size_t);
|
||||
inline void operator delete(void *aTrack);
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// Geant4 header G4NuclearRadii
|
||||
//
|
||||
// Author V.Ivanchenko 27.05.2019
|
||||
//
|
||||
// Collection of parameterisations of nuclear radii selected from
|
||||
// different classes in cross section and model sub-libraries
|
||||
//
|
||||
|
||||
#ifndef G4NuclearRadii_h
|
||||
#define G4NuclearRadii_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
|
||||
class G4NuclearRadii
|
||||
{
|
||||
public:
|
||||
|
||||
// explicit radii for light nuclei
|
||||
static G4double ExplicitRadius(G4int Z, G4int A);
|
||||
|
||||
// algorithm from diffuse-elastic parameterisation (V.Grichine)
|
||||
static G4double Radius(G4int Z, G4int A);
|
||||
|
||||
// algorithm from e-A scattering data (V.Grichine)
|
||||
static G4double RadiusRMS(G4int Z, G4int A);
|
||||
|
||||
// algorithm from Glauber-Gribov nucluear-nuclear model (V.Grichine)
|
||||
static G4double RadiusNNGG(G4int Z, G4int A);
|
||||
|
||||
// algorithm from Glauber-Gribov hadron-nuclear model (V.Grichine)
|
||||
static G4double RadiusHNGG(G4int A);
|
||||
|
||||
// algorithm from Glauber-Gribov kaon-nuclear model (V.Grichine)
|
||||
static G4double RadiusKNGG(G4int A);
|
||||
|
||||
// algorithm from nuclear de-excitation module
|
||||
static G4double RadiusND(G4int A);
|
||||
|
||||
// algorithm from computation of Coulomb barrier in the nuclear
|
||||
// de-excitation module
|
||||
static G4double RadiusCB(G4int Z, G4int A);
|
||||
|
||||
static const G4double r0[93];
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -58,8 +58,8 @@ class G4Nucleon : public G4VKineticNucleon
|
||||
G4Nucleon();
|
||||
~G4Nucleon();
|
||||
|
||||
inline int operator==(const G4Nucleon &right) const;
|
||||
inline int operator!=(const G4Nucleon &right) const;
|
||||
inline G4bool operator==(const G4Nucleon &right) const;
|
||||
inline G4bool operator!=(const G4Nucleon &right) const;
|
||||
G4Nucleon& operator=(const G4Nucleon& right);
|
||||
|
||||
public:
|
||||
@@ -108,11 +108,11 @@ class G4Nucleon : public G4VKineticNucleon
|
||||
|
||||
std::ostream & operator << (std::ostream &, const G4Nucleon&);
|
||||
|
||||
inline int G4Nucleon::operator==(const G4Nucleon &right) const
|
||||
inline G4bool G4Nucleon::operator==(const G4Nucleon &right) const
|
||||
{
|
||||
return this==&right;
|
||||
}
|
||||
inline int G4Nucleon::operator!=(const G4Nucleon &right) const
|
||||
inline G4bool G4Nucleon::operator!=(const G4Nucleon &right) const
|
||||
{
|
||||
return this!=&right;
|
||||
}
|
||||
|
||||
@@ -65,9 +65,9 @@ class G4Parton
|
||||
|
||||
G4Parton & operator=(const G4Parton &right);
|
||||
|
||||
int operator==(const G4Parton &right) const;
|
||||
G4bool operator==(const G4Parton &right) const;
|
||||
|
||||
int operator!=(const G4Parton &right) const;
|
||||
G4bool operator!=(const G4Parton &right) const;
|
||||
|
||||
G4int GetPDGcode() const;
|
||||
|
||||
@@ -114,12 +114,12 @@ class G4Parton
|
||||
|
||||
};
|
||||
|
||||
inline int G4Parton::operator==(const G4Parton &right) const
|
||||
inline G4bool G4Parton::operator==(const G4Parton &right) const
|
||||
{
|
||||
return this==&right;
|
||||
}
|
||||
|
||||
inline int G4Parton::operator!=(const G4Parton &right) const
|
||||
inline G4bool G4Parton::operator!=(const G4Parton &right) const
|
||||
{
|
||||
return this!=&right;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user