Import Geant4 10.5.1 source tree
This commit is contained in:
@@ -67,8 +67,8 @@ class G4ProcTblElement
|
||||
G4ProcTblElement & operator=(const G4ProcTblElement &right);
|
||||
// Assignment operator
|
||||
|
||||
G4int operator==(const G4ProcTblElement &right) const;
|
||||
G4int operator!=(const G4ProcTblElement &right) const;
|
||||
G4bool operator==(const G4ProcTblElement &right) const;
|
||||
G4bool operator!=(const G4ProcTblElement &right) const;
|
||||
// equal / unequal operator
|
||||
|
||||
protected:
|
||||
|
||||
@@ -65,8 +65,8 @@ class G4ProcessAttribute
|
||||
G4ProcessAttribute & operator=(const G4ProcessAttribute &right);
|
||||
// Assignment operator
|
||||
|
||||
G4int operator==(const G4ProcessAttribute &right) const;
|
||||
G4int operator!=(const G4ProcessAttribute &right) const;
|
||||
G4bool operator==(const G4ProcessAttribute &right) const;
|
||||
G4bool operator!=(const G4ProcessAttribute &right) const;
|
||||
// equal / unequal operator
|
||||
|
||||
|
||||
@@ -101,13 +101,13 @@ inline
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ProcessAttribute::operator==(const G4ProcessAttribute &right) const
|
||||
G4bool G4ProcessAttribute::operator==(const G4ProcessAttribute &right) const
|
||||
{
|
||||
return this->pProcess == right.pProcess;
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ProcessAttribute::operator!=(const G4ProcessAttribute &right) const
|
||||
G4bool G4ProcessAttribute::operator!=(const G4ProcessAttribute &right) const
|
||||
{
|
||||
return this->pProcess != right.pProcess;
|
||||
}
|
||||
|
||||
@@ -43,13 +43,13 @@
|
||||
// two vectors for processes with PostStepGetPhysicalInteractionLength
|
||||
// and PostStepDoIt
|
||||
// The tracking will message three types of GetPhysicalInteractionLength
|
||||
// in order to limit the Step and select the occurence of processes.
|
||||
// in order to limit the Step and select the occurrence of processes.
|
||||
// It will message the corresponding DoIt() to apply the selected
|
||||
// processes. In addition, the Tracking will limit the Step
|
||||
// and select the occurence of the processes according to
|
||||
// and select the occurrence of the processes according to
|
||||
// the shortest physical interaction length computed (except for
|
||||
// processes at rest, for which the Tracking will select the
|
||||
// occurence of the process which returns the shortest mean
|
||||
// occurrence of the process which returns the shortest mean
|
||||
// life-time from the GetPhysicalInteractionLength()).
|
||||
//
|
||||
// History:
|
||||
@@ -122,8 +122,8 @@ class G4ProcessManager
|
||||
~G4ProcessManager();
|
||||
// Destructor
|
||||
|
||||
G4int operator==(const G4ProcessManager &right) const;
|
||||
G4int operator!=(const G4ProcessManager &right) const;
|
||||
G4bool operator==(const G4ProcessManager &right) const;
|
||||
G4bool operator!=(const G4ProcessManager &right) const;
|
||||
|
||||
public: // with description
|
||||
G4ProcessVector* GetProcessList() const;
|
||||
|
||||
@@ -68,8 +68,8 @@ class G4ProcessTable
|
||||
G4ProcessTable(const G4ProcessTable &right);
|
||||
G4ProcessTable & operator=(const G4ProcessTable &right);
|
||||
// Assignment operator
|
||||
G4int operator==(const G4ProcessTable &right) const;
|
||||
G4int operator!=(const G4ProcessTable &right) const;
|
||||
G4bool operator==(const G4ProcessTable &right) const;
|
||||
G4bool operator!=(const G4ProcessTable &right) const;
|
||||
// equal / unequal operator
|
||||
|
||||
|
||||
|
||||
@@ -97,8 +97,8 @@ class G4VProcess
|
||||
virtual ~G4VProcess();
|
||||
|
||||
// equal opperators
|
||||
G4int operator==(const G4VProcess &right) const;
|
||||
G4int operator!=(const G4VProcess &right) const;
|
||||
G4bool operator==(const G4VProcess &right) const;
|
||||
G4bool operator!=(const G4VProcess &right) const;
|
||||
|
||||
public: // with description
|
||||
////////////////////////////
|
||||
|
||||
@@ -102,10 +102,10 @@ class G4VRestContinuousDiscreteProcess : public G4VProcess
|
||||
protected: // with description
|
||||
virtual G4double GetMeanLifeTime(const G4Track& aTrack,G4ForceCondition* condition)=0;
|
||||
// Calculates the mean life-time (i.e. for decays) of the
|
||||
// particle at rest due to the occurence of the given process,
|
||||
// particle at rest due to the occurrence of the given process,
|
||||
// or converts the probability of interaction (i.e. for
|
||||
// annihilation) into the life-time of the particle for the
|
||||
// occurence of the given process.
|
||||
// occurrence of the given process.
|
||||
|
||||
virtual G4double GetContinuousStepLimit(const G4Track& aTrack,
|
||||
G4double previousStepSize,
|
||||
|
||||
@@ -127,10 +127,10 @@ class G4VRestContinuousProcess : public G4VProcess
|
||||
|
||||
virtual G4double GetMeanLifeTime(const G4Track& aTrack,G4ForceCondition* condition)=0;
|
||||
// Calculates the mean life-time (i.e. for decays) of the
|
||||
// particle at rest due to the occurence of the given process,
|
||||
// particle at rest due to the occurrence of the given process,
|
||||
// or converts the probability of interaction (i.e. for
|
||||
// annihilation) into the life-time of the particle for the
|
||||
// occurence of the given process.
|
||||
// occurrence of the given process.
|
||||
|
||||
private:
|
||||
// hide default constructor and assignment operator as private
|
||||
|
||||
@@ -110,10 +110,10 @@ class G4VRestDiscreteProcess : public G4VProcess
|
||||
|
||||
virtual G4double GetMeanLifeTime(const G4Track& aTrack,G4ForceCondition* condition)=0;
|
||||
// Calculates the mean life-time (i.e. for decays) of the
|
||||
// particle at rest due to the occurence of the given process,
|
||||
// particle at rest due to the occurrence of the given process,
|
||||
// or converts the probability of interaction (i.e. for
|
||||
// annihilation) into the life-time of the particle for the
|
||||
// occurence of the given process.
|
||||
// occurrence of the given process.
|
||||
|
||||
private:
|
||||
// hide default constructor and assignment operator as private
|
||||
|
||||
@@ -109,10 +109,10 @@ class G4VRestProcess : public G4VProcess
|
||||
|
||||
virtual G4double GetMeanLifeTime(const G4Track& aTrack,G4ForceCondition* condition)=0;
|
||||
// Calculates the mean life-time (i.e. for decays) of the
|
||||
// particle at rest due to the occurence of the given process,
|
||||
// particle at rest due to the occurrence of the given process,
|
||||
// or converts the probability of interaction (i.e. for
|
||||
// annihilation) into the life-time of the particle for the
|
||||
// occurence of the given process.
|
||||
// occurrence of the given process.
|
||||
|
||||
private:
|
||||
// hide default constructor and assignment operator as private
|
||||
|
||||
@@ -67,8 +67,8 @@ class G4WrapperProcess : public G4VProcess
|
||||
virtual ~G4WrapperProcess();
|
||||
|
||||
// equality opperators
|
||||
inline G4int operator==(const G4WrapperProcess &right) const;
|
||||
inline G4int operator!=(const G4WrapperProcess &right) const;
|
||||
inline G4bool operator==(const G4WrapperProcess &right) const;
|
||||
inline G4bool operator!=(const G4WrapperProcess &right) const;
|
||||
|
||||
public: // with description
|
||||
virtual void RegisterProcess(G4VProcess*);
|
||||
@@ -190,13 +190,13 @@ inline
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4WrapperProcess::operator==(const G4WrapperProcess &right) const
|
||||
G4bool G4WrapperProcess::operator==(const G4WrapperProcess &right) const
|
||||
{
|
||||
return (this == &right);
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4WrapperProcess::operator!=(const G4WrapperProcess &right) const
|
||||
G4bool G4WrapperProcess::operator!=(const G4WrapperProcess &right) const
|
||||
{
|
||||
return (this != &right);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user