Import Geant4 11.1.2 source tree

This commit is contained in:
Gabriele Cosmo
2023-06-19 17:17:14 +02:00
parent 84a556a9dc
commit aef78ca386
309 changed files with 35572 additions and 34678 deletions
+7 -1
View File
@@ -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();
}