Import Geant4 10.7.0 source tree

This commit is contained in:
Gabriele Cosmo
2020-12-04 12:30:43 +01:00
parent 67ba86d073
commit dab42d2018
3770 changed files with 226369 additions and 286486 deletions
@@ -54,8 +54,16 @@ class G4ErrorFreeTrajParam
G4ErrorFreeTrajParam( const G4Point3D& pos, const G4Vector3D& mom );
// build parameters from position and momentum
G4ErrorFreeTrajParam(const G4ErrorFreeTrajParam&) = default;
G4ErrorFreeTrajParam(G4ErrorFreeTrajParam&&) = default;
// The copy and move constructors
virtual ~G4ErrorFreeTrajParam(){}
G4ErrorFreeTrajParam& operator = (const G4ErrorFreeTrajParam&) = default;
G4ErrorFreeTrajParam& operator = (G4ErrorFreeTrajParam&&) = default;
// The copy and move assignment operators
void Update( const G4Track* aTrack );
// update parameters from G4Track
+4 -2
View File
@@ -61,7 +61,8 @@ class G4ErrorMatrix
// are set to 1.0.
G4ErrorMatrix(const G4ErrorMatrix &m1);
// Copy constructor.
G4ErrorMatrix(G4ErrorMatrix &&) = default;
// Copy and move constructor.
G4ErrorMatrix(const G4ErrorSymMatrix &m1);
// Constructors from G4ErrorSymG4ErrorMatrix, DiagG4ErrorMatrix and Vector.
@@ -95,7 +96,8 @@ class G4ErrorMatrix
G4ErrorMatrix & operator = ( const G4ErrorMatrix &m2);
G4ErrorMatrix & operator = ( const G4ErrorSymMatrix &m2);
// Assignment operators.
G4ErrorMatrix & operator = (G4ErrorMatrix &&) = default;
// Assignment and move operators.
G4ErrorMatrix operator- () const;
// unary minus, ie. flip the sign of each element.
@@ -58,8 +58,17 @@ class G4ErrorSurfaceTrajParam
const G4Vector3D& vecV, const G4Vector3D& vecW );
G4ErrorSurfaceTrajParam( const G4Point3D& pos, const G4Vector3D& mom,
const G4Plane3D& plane );
G4ErrorSurfaceTrajParam(const G4ErrorSurfaceTrajParam&) = default;
G4ErrorSurfaceTrajParam(G4ErrorSurfaceTrajParam&&) = default;
// The copy and move constructors
virtual ~G4ErrorSurfaceTrajParam(){}
G4ErrorSurfaceTrajParam& operator = (const G4ErrorSurfaceTrajParam&) = default;
G4ErrorSurfaceTrajParam& operator = (G4ErrorSurfaceTrajParam&&) = default;
// The copy and move assignment operators
friend
std::ostream& operator<<(std::ostream&, const G4ErrorSurfaceTrajParam& ts);
+5 -2
View File
@@ -55,7 +55,8 @@ class G4ErrorSymMatrix
// matrix, 1 means the identity matrix.
G4ErrorSymMatrix(const G4ErrorSymMatrix &m1);
// Copy constructor.
G4ErrorSymMatrix(G4ErrorSymMatrix &&) = default;
// Copy and move constructor.
// Constructor from DiagMatrix
@@ -94,7 +95,9 @@ class G4ErrorSymMatrix
// Add or subtract a G4ErrorSymMatrix.
G4ErrorSymMatrix & operator=( const G4ErrorSymMatrix &m2);
// Assignment operators. Notice that there is no G4ErrorSymMatrix = Matrix.
G4ErrorSymMatrix & operator=(G4ErrorSymMatrix &&) = default;
// Assignment and move operators.
// Notice that there is no G4ErrorSymMatrix = Matrix.
G4ErrorSymMatrix operator- () const;
// unary minus, ie. flip the sign of each element.
View File
@@ -56,8 +56,16 @@ class G4ErrorTrajState
const G4ErrorTrajErr& errmat = G4ErrorTrajErr(5,0) );
// Constructor by providing particle, position and momentum
G4ErrorTrajState(const G4ErrorTrajState&);
G4ErrorTrajState(G4ErrorTrajState&&);
// The copy and move constructors
virtual ~G4ErrorTrajState(){}
G4ErrorTrajState& operator = (const G4ErrorTrajState&);
G4ErrorTrajState& operator = (G4ErrorTrajState&&);
// The copy and move assignment operators
void SetData( const G4String& partType, const G4Point3D& pos,
const G4Vector3D& mom );
// Set particle, position and momentum
@@ -123,14 +131,14 @@ class G4ErrorTrajState
G4String fParticleType;
G4Point3D fPosition;
G4Vector3D fMomentum;
G4double fCharge;
G4double fCharge = 0.;
G4ErrorTrajErr fError;
G4eTSType theTSType;
G4Track* theG4Track;
G4Track* theG4Track = nullptr;
G4int iverbose;
G4int iverbose = 0;
};
#endif