#include <DDSolid.h>
Static Public Member Functions | |
static DDSolid | box (const DDName &name, double xHalf, double yHalf, double zHalf) |
Creates a box with side length 2*xHalf, 2*yHalf, 2*zHalf. More... | |
static DDSolid | cons (const DDName &name, double zhalf, double rInMinusZ, double rOutMinusZ, double rInPlusZ, double rOutPlusZ, double phiFrom, double deltaPhi) |
static DDSolid | ellipsoid (const DDName &name, double xSemiAxis, double ySemiAxis, double zSemiAxis, double zBottomCut=0., double zTopCut=0.) |
static DDSolid | ellipticalTube (const DDName &name, double xSemiAxis, double ySemiAxis, double zHeight) |
static DDSolid | intersection (const DDName &name, const DDSolid &a, const DDSolid &b, const DDTranslation &t, const DDRotation &r) |
static DDSolid | orb (const DDName &name, double radius) |
static DDSolid | parallelepiped (const DDName &name, double xHalf, double yHalf, double zHalf, double alpha, double theta, double phi) |
static DDSolid | polycone (const DDName &name, double startPhi, double deltaPhi, const std::vector< double > &z, const std::vector< double > &rmin, const std::vector< double > &rmax) |
Creates a polycone (refere to Geant3 or Geant4 documentation) More... | |
static DDSolid | polycone (const DDName &name, double startPhi, double deltaPhi, const std::vector< double > &z, const std::vector< double > &r) |
Creates a polycone (refere to Geant4 documentation) More... | |
static DDSolid | polyhedra (const DDName &name, int sides, double startPhi, double deltaPhi, const std::vector< double > &z, const std::vector< double > &rmin, const std::vector< double > &rmax) |
Creates a polyhedra (refere to Geant3 or Geant4 documentation) More... | |
static DDSolid | polyhedra (const DDName &name, int sides, double startPhi, double deltaPhi, const std::vector< double > &z, const std::vector< double > &r) |
Creates a polyhedra (refere to Geant4 documentation) More... | |
static DDSolid | pseudoTrap (const DDName &name, double pDx1, double pDx2, double pDy1, double pDy2, double pDz, double radius, bool atMinusZ) |
static DDSolid | reflection (const DDName &name, const DDSolid &s) |
static DDSolid | shapeless (const DDName &name) |
static DDSolid | sphere (const DDName &name, double innerRadius, double outerRadius, double startPhi, double deltaPhi, double startTheta, double deltaTheta) |
static DDSolid | subtraction (const DDName &name, const DDSolid &a, const DDSolid &b, const DDTranslation &t, const DDRotation &r) |
static DDSolid | torus (const DDName &name, double rMin, double rMax, double rTorus, double startPhi, double deltaPhi) |
static DDSolid | trap (const DDName &name, double pDz, double pTheta, double pPhi, double pDy1, double pDx1, double pDx2, double pAlp1, double pDy2, double pDx3, double pDx4, double pAlp2) |
static DDSolid | truncTubs (const DDName &name, double zHalf, double rIn, double rOut, double startPhi, double deltaPhi, double cutAtStart, double cutAtDelta, bool cutInside) |
static DDSolid | tubs (const DDName &name, double zhalf, double rIn, double rOut, double startPhi, double deltaPhi) |
static DDSolid | unionSolid (const DDName &name, const DDSolid &a, const DDSolid &b, const DDTranslation &t, const DDRotation &r) |
|
static |
Creates a box with side length 2*xHalf, 2*yHalf, 2*zHalf.
name
unique name identifying the box xHalf
half length in x yHalf
half length in y zHalf
helf length in z The center of the box (for positioning) is the center of gravity. Definition at line 519 of file DDSolid.cc.
Referenced by DDHCalBarrelAlgo::constructInsideDetectors(), DDHCalBarrelAlgo::constructInsideLayers(), DDEcalPreshowerAlgo::doLadders(), DDEcalPreshowerAlgoTB::doLayers(), DDEcalPreshowerAlgo::doLayers(), DDTIBLayerAlgo_MTCC::execute(), DDHCalForwardAlgo::execute(), DDHCalTBCableAlgo::execute(), DDTIDModuleAlgo::execute(), DDTECModuleAlgo::execute(), DDEcalAPDAlgo::execute(), DDTBH4Algo::execute(), DDEcalBarrelNewAlgo::execute(), DDEcalBarrelAlgo::execute(), DDEcalEndcapAlgo::execute(), DDDividedBoxX::makeDDLogicalPart(), DDDividedBoxY::makeDDLogicalPart(), DDDividedBoxZ::makeDDLogicalPart(), DDLBox::processElement(), regressionTest_first(), and regressionTest_setup().
|
static |
Definition at line 763 of file DDSolid.cc.
Referenced by DDHCalFibreBundle::execute(), DDDividedConsRho::makeDDLogicalPart(), DDDividedConsPhi::makeDDLogicalPart(), DDDividedConsZ::makeDDLogicalPart(), DDDividedPolyconeZ::makeDDLogicalPart(), and DDLCone::processElement().
|
static |
Definition at line 821 of file DDSolid.cc.
Referenced by DDLEllipsoid::processElement().
|
static |
Definition at line 815 of file DDSolid.cc.
Referenced by DDLEllipticalTube::processElement().
|
static |
Definition at line 714 of file DDSolid.cc.
Referenced by DDLBooleanSolid::processElement(), and DDStreamer::solids_read().
|
static |
Definition at line 838 of file DDSolid.cc.
Referenced by DDLParallelepiped::processElement().
|
static |
Creates a polycone (refere to Geant3 or Geant4 documentation)
The center of the polycone (for positioning) is the center of coordinates of the polycone definition (x=y=z=0)
Definition at line 656 of file DDSolid.cc.
Referenced by DDTIBRadCableAlgo_MTCC::execute(), DDTOBRadCableAlgo::execute(), DDTIDAxialCableAlgo::execute(), DDTECAxialCableAlgo::execute(), DDEcalBarrelNewAlgo::execute(), DDEcalBarrelAlgo::execute(), DDDividedPolyconeRho::makeDDLogicalPart(), DDDividedPolyconePhi::makeDDLogicalPart(), and DDLPolyGenerator::processElement().
|
static |
Creates a polycone (refere to Geant4 documentation)
The center of the polycone (for positioning) is the center of coordinates of the polycone definition (x=y=z=0)
Definition at line 665 of file DDSolid.cc.
|
static |
Creates a polyhedra (refere to Geant3 or Geant4 documentation)
The center of the polyhedra (for positioning) is the center of coordinates of the polyhedra definition (x=y=z=0)
Definition at line 673 of file DDSolid.cc.
Referenced by DDHCalBarrelAlgo::constructGeneralVolume(), DDHCalEndcapAlgo::constructGeneralVolume(), DDHCalBarrelAlgo::constructInsideSector(), DDHCalEndcapAlgo::constructInsideSector(), DDHCalBarrelAlgo::constructMidLayer(), DDHCalBarrelAlgo::constructSideLayer(), DDHCalTBCableAlgo::execute(), DDDividedPolyhedraRho::makeDDLogicalPart(), DDDividedPolyhedraPhi::makeDDLogicalPart(), DDDividedPolyhedraZ::makeDDLogicalPart(), and DDLPolyGenerator::processElement().
|
static |
Creates a polyhedra (refere to Geant4 documentation)
The center of the polyhedra (for positioning) is the center of coordinates of the polyhedra definition (x=y=z=0)
Definition at line 685 of file DDSolid.cc.
|
static |
if true, the cut-out or rounding is applied at -dz, else at +dz
pDx1 | Half-length along x at the surface positioned at -dz |
pDx2 | Half-length along x at the surface positioned at +dz |
pDy1 | Half-length along y at the surface positioned at -dz |
pDy2 | Half-length along y at the surface positioned at +dz |
pDz | Half of the height of the pseudo trapezoid along z |
radius | radius of the cut-out (negative sign) or rounding (pos. sign) |
atMinusZ | if true, the cut-out or rounding is applied at -dz, else at +dz |
Definition at line 737 of file DDSolid.cc.
Referenced by DDLPseudoTrap::processElement().
Definition at line 852 of file DDSolid.cc.
Referenced by DDLReflectionSolid::processElement(), and DDStreamer::solids_read().
Definition at line 846 of file DDSolid.cc.
Referenced by DDLShapelessSolid::processElement(), and regressionTest_setup().
|
static |
Definition at line 797 of file DDSolid.cc.
Referenced by DDLSphere::processElement().
|
static |
Definition at line 705 of file DDSolid.cc.
Referenced by DDEcalPreshowerAlgo::doLayers(), DDEcalEndcapAlgo::EECreateSC(), DDTIDModuleAlgo::execute(), DDEcalBarrelNewAlgo::execute(), DDEcalBarrelAlgo::execute(), DDLBooleanSolid::processElement(), and DDStreamer::solids_read().
|
static |
Definition at line 778 of file DDSolid.cc.
Referenced by DDTOBRadCableAlgo::execute(), and DDLTorus::processElement().
|
static |
Definition at line 723 of file DDSolid.cc.
Referenced by DDHCalEndcapModuleAlgo::constructInsideModule(), DDHCalEndcapAlgo::constructInsideModule(), DDHCalEndcapModuleAlgo::constructInsideModule0(), DDHCalEndcapAlgo::constructInsideModule0(), DDHGCalEEAlgo::constructLayers(), DDHGCalHEAlgo::constructLayers(), DDHCalEndcapModuleAlgo::constructScintLayer(), DDHCalEndcapAlgo::constructScintLayer(), DDEcalPreshowerAlgo::doLadders(), DDEcalEndcapAlgo::EECreateCR(), DDEcalEndcapAlgo::EECreateSC(), DDHCalTBCableAlgo::execute(), DDPixBarLayerUpgradeAlgoCoverage::execute(), DDTIDModuleAlgo::execute(), DDPixBarLayerAlgo::execute(), DDPixBarTPGStackLayerAlgo::execute(), DDPixBarStackLayerAlgo::execute(), DDTECModuleAlgo::execute(), DDDividedTrdX::makeDDLogicalPart(), DDDividedTrdY::makeDDLogicalPart(), DDDividedTrdZ::makeDDLogicalPart(), DDEcalBarrelNewAlgo::mytrap(), DDEcalBarrelAlgo::mytrap(), and DDLTrapezoid::processElement().
|
static |
zHalf | half-length of the z-axis |
rIn | inner radius of the tube-section |
rOut | outer radius of the tube-section |
startPhi | starting angle of the tube-section |
deltaPhi | spanning angle of the tube-section |
cutAtStart | tructation |
cutAtDelta | truncation at deltaPhi side |
Definition at line 750 of file DDSolid.cc.
Referenced by DDLTubs::processElement().
|
static |
Definition at line 788 of file DDSolid.cc.
Referenced by DDEcalPreshowerAlgo::doLayers(), DDTIBLayerAlgo_MTCC::execute(), DDPixBarStackTrigLayerAlgo::execute(), DDTOBRadCableAlgo::execute(), DDPixBarLayerUpgradeAlgoCoverage::execute(), DDPixBarStackLayerAlgo::execute(), DDTIBRadCableAlgo_MTCC::execute(), DDPixBarTPGStackLayerAlgo::execute(), DDPixBarLayerAlgo::execute(), DDPixBarLayerUpgradeAlgo::execute(), DDTIBLayerAlgo::execute(), DDTOBAxCableAlgo::execute(), DDTIDAxialCableAlgo::execute(), DDTBH4Algo::execute(), DDEcalBarrelAlgo::execute(), DDEcalBarrelNewAlgo::execute(), DDDividedTubsRho::makeDDLogicalPart(), DDDividedTubsPhi::makeDDLogicalPart(), DDDividedTubsZ::makeDDLogicalPart(), and DDLTubs::processElement().
|
static |
Definition at line 696 of file DDSolid.cc.
Referenced by DDEcalPreshowerAlgo::doLadders(), DDLBooleanSolid::processElement(), and DDStreamer::solids_read().