Import Geant4 11.4.0.beta source tree
This commit is contained in:
@@ -50,6 +50,10 @@ class G4HadronicParameters {
|
||||
static G4HadronicParameters* Instance();
|
||||
~G4HadronicParameters();
|
||||
|
||||
// printing
|
||||
void StreamInfo(std::ostream& os) const;
|
||||
void Dump() const;
|
||||
|
||||
inline G4double GetMaxEnergy() const;
|
||||
void SetMaxEnergy( const G4double val );
|
||||
// Getter/Setter for the upper limit for Geant4 hadronic physics, for any application.
|
||||
@@ -412,4 +416,10 @@ inline G4bool G4HadronicParameters::IsBertiniNucleiModelAs11_2() const {
|
||||
return fBertiniNucleiModelAs11_2;
|
||||
}
|
||||
|
||||
inline std::ostream& operator<<(std::ostream& os, const G4HadronicParameters& p)
|
||||
{
|
||||
p.StreamInfo(os);
|
||||
return os;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -55,6 +55,7 @@ class G4HadronicParametersMessenger : public G4UImessenger {
|
||||
G4UIcmdWithAnInteger* theVerboseCmd;
|
||||
G4UIcmdWithADoubleAndUnit* theMaxEnergyCmd;
|
||||
G4UIcmdWithABool* theCRCoalescenceCmd;
|
||||
G4UIcommand* theDumpCmd;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -59,31 +59,10 @@ class G4Nucleus
|
||||
|
||||
~G4Nucleus();
|
||||
|
||||
inline G4Nucleus( const G4Nucleus &right )
|
||||
{ *this = right; }
|
||||
|
||||
inline G4Nucleus& operator = (const G4Nucleus& right)
|
||||
{
|
||||
if (this != &right) {
|
||||
theA=right.theA;
|
||||
theZ=right.theZ;
|
||||
theL=right.theL;
|
||||
aEff=right.aEff;
|
||||
zEff=right.zEff;
|
||||
fIsotope = right.fIsotope;
|
||||
pnBlackTrackEnergy=right.pnBlackTrackEnergy;
|
||||
dtaBlackTrackEnergy=right.dtaBlackTrackEnergy;
|
||||
pnBlackTrackEnergyfromAnnihilation =
|
||||
right.pnBlackTrackEnergyfromAnnihilation;
|
||||
dtaBlackTrackEnergyfromAnnihilation =
|
||||
right.dtaBlackTrackEnergyfromAnnihilation;
|
||||
theTemp = right.theTemp;
|
||||
excitationEnergy = right.excitationEnergy;
|
||||
momentum = right.momentum;
|
||||
fermiMomentum = right.fermiMomentum;
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
G4Nucleus(const G4Nucleus&) = default;
|
||||
G4Nucleus(G4Nucleus&&) = default;
|
||||
G4Nucleus& operator = (const G4Nucleus&) = default;
|
||||
G4Nucleus& operator = (G4Nucleus&&) = default;
|
||||
|
||||
inline G4bool operator==( const G4Nucleus &right ) const
|
||||
{ return ( this == (G4Nucleus *) &right ); }
|
||||
|
||||
Reference in New Issue
Block a user