Import Geant4 11.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2024-06-28 13:08:51 +02:00
parent f7b23877ed
commit e58e650b32
5232 changed files with 239416 additions and 244360 deletions
@@ -101,6 +101,8 @@ class G4Box : public G4CSGSolid
G4GeometryType GetEntityType() const override;
G4ThreeVector GetPointOnSurface() const override;
G4bool IsFaceted() const override;
G4VSolid* Clone() const override;
std::ostream& StreamInfo(std::ostream& os) const override;
@@ -30,11 +30,11 @@
// An abstract class inherited from G4VSolid for Constructed Solids.
// Used primarily to structure inheritance tree.
// 27.03.98 J.Apostolakis - Created first version.
// 27.03.98 J.Apostolakis (CERN) - Created first version.
// --------------------------------------------------------------------
#ifndef G4CSGSOLID_HH
#define G4CSGSOLID_HH
#define G4CSGSOLID_HH 1
#include "G4VSolid.hh"
@@ -43,7 +43,7 @@ class G4CSGSolid : public G4VSolid
public:
G4CSGSolid(const G4String& pName);
virtual ~G4CSGSolid();
~G4CSGSolid() override;
std::ostream& StreamInfo(std::ostream& os) const override;
@@ -147,6 +147,8 @@ class G4Para : public G4CSGSolid
G4ThreeVector GetPointOnSurface() const override;
G4bool IsFaceted() const override;
G4VSolid* Clone() const override;
std::ostream& StreamInfo(std::ostream& os) const override;
@@ -230,6 +230,8 @@ class G4Trap : public G4CSGSolid
G4ThreeVector GetPointOnSurface() const override;
G4bool IsFaceted() const override;
G4VSolid* Clone() const override;
std::ostream& StreamInfo( std::ostream& os ) const override;
@@ -131,6 +131,8 @@ class G4Trd : public G4CSGSolid
G4ThreeVector GetPointOnSurface() const override;
G4bool IsFaceted() const override;
G4VSolid* Clone() const override;
std::ostream& StreamInfo( std::ostream& os ) const override;
@@ -70,6 +70,8 @@ class G4UBox : public G4UAdapter<vecgeom::UnplacedBox>
inline G4GeometryType GetEntityType() const override;
inline G4bool IsFaceted() const override;
void BoundingLimits(G4ThreeVector& pMin, G4ThreeVector& pMax) const override;
G4bool CalculateExtent(const EAxis pAxis,
@@ -100,6 +102,11 @@ inline G4GeometryType G4UBox::GetEntityType() const
return "G4Box";
}
inline G4bool G4UBox::IsFaceted() const
{
return true;
}
#endif // G4GEOM_USE_USOLIDS
#endif
@@ -89,6 +89,8 @@ class G4UPara : public G4UAdapter<vecgeom::UnplacedParallelepiped>
inline G4GeometryType GetEntityType() const override;
inline G4bool IsFaceted() const override;
void BoundingLimits(G4ThreeVector& pMin, G4ThreeVector& pMax) const override;
G4bool CalculateExtent(const EAxis pAxis,
@@ -134,6 +136,11 @@ inline G4GeometryType G4UPara::GetEntityType() const
return "G4Para";
}
inline G4bool G4UPara::IsFaceted() const
{
return true;
}
#endif // G4GEOM_USE_USOLIDS
#endif
@@ -132,6 +132,8 @@ class G4UTrap : public G4UAdapter<vecgeom::UnplacedTrapezoid>
inline G4GeometryType GetEntityType() const override;
inline G4bool IsFaceted() const override;
void BoundingLimits(G4ThreeVector& pMin, G4ThreeVector& pMax) const override;
G4bool CalculateExtent(const EAxis pAxis,
@@ -176,6 +178,11 @@ inline G4GeometryType G4UTrap::GetEntityType() const
return "G4Trap";
}
inline G4bool G4UTrap::IsFaceted() const
{
return true;
}
#endif // G4GEOM_USE_USOLIDS
#endif
@@ -80,6 +80,8 @@ class G4UTrd : public G4UAdapter<vecgeom::GenericUnplacedTrd>
inline G4GeometryType GetEntityType() const override;
inline G4bool IsFaceted() const override;
void BoundingLimits(G4ThreeVector& pMin, G4ThreeVector& pMax) const override;
G4bool CalculateExtent(const EAxis pAxis,
@@ -110,6 +112,11 @@ inline G4GeometryType G4UTrd::GetEntityType() const
return "G4Trd";
}
inline G4bool G4UTrd::IsFaceted() const
{
return true;
}
#endif // G4GEOM_USE_USOLIDS
#endif