Import Geant4 11.1.2 source tree
This commit is contained in:
@@ -6,6 +6,9 @@ It must **not** be used as a substitute for writing good git commit messages!
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
## 2023-03-23 Jonas Hahnfeld (geom-csg-V11-00-03)
|
||||
- G4UTrap: Fixed constructor for Right Angular Wedge with VecGeom
|
||||
|
||||
## 2022-11-10 Gabriele Cosmo (geom-csg-V11-00-02)
|
||||
- Fixed compilation warnings for implicit type conversions on macOS/XCode 14.1.
|
||||
|
||||
|
||||
@@ -97,11 +97,17 @@ G4UTrap::G4UTrap( const G4String& pName,
|
||||
CheckPlanarity(pt);
|
||||
}
|
||||
|
||||
// Constructor for Right Angular Wedge from STEP; this is different from
|
||||
// the UnplacedTrapezoid constructor taking four double's and constructing
|
||||
// a Trd1.
|
||||
G4UTrap::G4UTrap( const G4String& pName,
|
||||
G4double pZ,
|
||||
G4double pY,
|
||||
G4double pX, G4double pLTX )
|
||||
: Base_t(pName, pZ, pY, pX, pLTX)
|
||||
: Base_t(pName, 0.5*pZ, /*theta=*/0, /*phi=*/0, /*dy1=*/0.5*pY,
|
||||
/*dx1=*/0.5*pX, /*dx2=*/0.5*pLTX, /*Alpha1=*/0.5*(pLTX - pX)/pY,
|
||||
/*dy2=*/0.5*pY, /*dx3=*/0.5*pX, /*dx4=*/0.5*pLTX,
|
||||
/*Alpha2=*/0.5*(pLTX - pX)/pY)
|
||||
{
|
||||
CheckParameters();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user