15 #include "CLHEP/Units/GlobalSystemOfUnits.h" 17 #include <CLHEP/Geometry/Point3D.h> 18 #include <CLHEP/Geometry/Vector3D.h> 19 #include <CLHEP/Geometry/Transform3D.h> 30 #include "CLHEP/Geometry/Transform3D.h" 35 typedef HepGeom::Point3D<double>
Pt3D;
36 typedef HepGeom::Transform3D
Tf3D;
37 typedef HepGeom::ReflectZ3D
RfZ3D;
38 typedef HepGeom::Translate3D
Tl3D;
39 typedef HepGeom::Rotate3D
Ro3D;
40 typedef HepGeom::RotateZ3D
RoZ3D;
41 typedef HepGeom::RotateY3D
RoY3D;
42 typedef HepGeom::RotateX3D
RoX3D;
44 typedef CLHEP::Hep3Vector
Vec3;
45 typedef CLHEP::HepRotation
Rota;
424 void web(
unsigned int iWeb,
1141 LogDebug(
"EcalGeom") <<
"DDEcalBarrelAlgo info: Creating an instance";
1151 LogDebug(
"EcalGeom") <<
"DDEcalBarrelAlgo info: Initialize";
1178 m_SpmNPerHalf =
static_cast<unsigned int>(nArgs[
"SpmNPerHalf"]);
1229 m_NCryTypes =
static_cast<unsigned int>(nArgs[
"NCryTypes"]);
1354 m_NFawPerSupm =
static_cast<unsigned int>(nArgs[
"NFawPerSupm"]);
1509 LogDebug(
"EcalGeom") <<
"DDEcalBarrelAlgo info: end initialize";
1517 LogDebug(
"EcalGeom") <<
"******** DDEcalBarrelAlgo execute!" << std::endl;
1520 const unsigned int copyOne(1);
1521 const unsigned int copyTwo(2);
1550 const std::vector<double>& cutBoxParms(spmCutBox.
parameters());
1578 const std::vector<double>& sideParms(sideSolid.
parameters());
1583 for (
unsigned int icopy(1); icopy <= 2; ++icopy) {
1587 const Tl3D tr(tvec[0], tvec[1], tvec[2]);
1588 const RoZ3D ro(rang);
1597 const Tl3D trSide(tvec[0],
1598 tvec[1] + (1 == icopy ? 1. : -1.) * (cutBoxParms[1] + sideParms[1]) +
1601 const RoZ3D roSide(rang);
1626 const double dphi(360. * deg / (1. *
spmNPerHalf()));
1640 const unsigned int offr(4 *
iphi);
1641 const unsigned int offt(3 *
iphi);
1648 const Tf3D both(rotaExtra * rotaBase);
1654 DDTranslation myTran(both.getTranslation().x(), both.getTranslation().y(), both.getTranslation().z());
1664 for (
unsigned int ilyx(0); ilyx !=
vecIlyThick().size(); ++ilyx) {
1676 for (
unsigned int iPipeType(0); iPipeType !=
vecIlyPipeLength().size(); ++iPipeType) {
1722 for (
unsigned int ily(0); ily !=
vecIlyThick().size(); ++ily) {
1723 const double ilyRMax(ilyRMin +
vecIlyThick()[ily]);
1733 unsigned int copyNum[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
1737 unsigned int ptmCopy(0);
1738 for (
unsigned int ilyPTM(0); ilyPTM !=
vecIlyPTMZ().size(); ++ilyPTM) {
1741 const double yy(radius *
sin(phi));
1742 const double xx(radius *
cos(phi));
1748 myrot(ilyPTMLog.
name().
name() +
"_rot" + std::to_string(ptmCopy), CLHEP::HepRotationZ(phi)));
1752 unsigned int fanOutCopy(0);
1753 for (
unsigned int ilyFO(0); ilyFO !=
vecIlyFanOutZ().size(); ++ilyFO) {
1756 const double yy(radius *
sin(phi));
1757 const double xx(radius *
cos(phi));
1763 myrot(ilyFanOutLog.
name().
name() +
"_rot" + std::to_string(fanOutCopy),
1764 CLHEP::HepRotationZ(phi) * CLHEP::HepRotationY(180 * deg)));
1766 unsigned int femCopy(0);
1767 for (
unsigned int ilyFEM(0); ilyFEM !=
vecIlyFEMZ().size(); ++ilyFEM) {
1770 const double yy(radius *
sin(phi));
1771 const double xx(radius *
cos(phi));
1777 myrot(ilyFEMLog.
name().
name() +
"_rot" + std::to_string(femCopy), CLHEP::HepRotationZ(phi)));
1780 for (
unsigned int iPipe(0); iPipe !=
vecIlyPipePhi().size(); ++iPipe) {
1785 for (
unsigned int ly(0); ly != 2; ++ly) {
1788 const double yy(radius *
sin(phi));
1789 const double xx(radius *
cos(phi));
1797 :
myrot(ilyPipeLog[type].
name().
name() +
"_rot" + std::to_string(copyNum[type]),
1798 Rota(
Vec3(xx, yy, 0), 90 * deg))));
1808 std::vector<double> cri;
1809 std::vector<double> cro;
1810 std::vector<double> czz;
1842 const double beta1(atan((BNom1 - bNom1) / LNom1));
1844 const double sinbeta1(
sin(beta1));
1846 const double tana_hawR((BNom1 - bNom1) / LNom1);
1850 const double a_hawR(bNom1 + sClr1 + 2 * sWrap1 + 2 * sWall1 - sinbeta1 * (fClr1 + fWrap1 + fWall1));
1851 const double B_hawR(a_hawR + H_hawR * tana_hawR);
1852 const double b_hawR(a_hawR + h_hawR * tana_hawR);
1855 const Trap trapHAWR(a_hawR / 2.,
1870 const double al1_fawR(atan((B_hawR - a_hawR) / H_hawR) +
M_PI_2);
1873 const Trap trapFAW(a_hawR,
1891 const double hawBoxClr(1 * mm);
1896 const std::vector<double>& hawBoxParms(hawCutBox.
parameters());
1899 const Pt3D b1(hawBoxParms[0], hawBoxParms[1], hawBoxParms[2]);
1900 const Pt3D b2(-hawBoxParms[0], hawBoxParms[1], hawBoxParms[2]);
1901 const Pt3D b3(-hawBoxParms[0], hawBoxParms[1], -hawBoxParms[2]);
1905 const Tf3D hawCutForm(b1,
1910 Pt3D(vHAW[0].
x() - hawBoxClr, vHAW[0].
y(), vHAW[0].
z() - zDel));
1917 hawCutForm.getTranslation().x(), hawCutForm.getTranslation().y(), hawCutForm.getTranslation().z()),
1918 myrot(hawCutName.
name() +
"R", hawCutForm.getRotation())));
1925 const std::vector<double>& fawBoxParms(fawCutBox.
parameters());
1928 const Pt3D bb1(fawBoxParms[0], fawBoxParms[1], fawBoxParms[2]);
1929 const Pt3D bb2(-fawBoxParms[0], fawBoxParms[1], fawBoxParms[2]);
1930 const Pt3D bb3(-fawBoxParms[0], fawBoxParms[1], -fawBoxParms[2]);
1932 const Tf3D fawCutForm(bb1,
1935 vFAW[2] +
Pt3D(2 * hawBoxClr, -5 * mm, 0),
1936 vFAW[1] +
Pt3D(-2 * hawBoxClr, -5 * mm, 0),
1937 Pt3D(vFAW[1].
x() - 2 * hawBoxClr, vFAW[1].
y() - trapFAW.
h(), vFAW[1].z() - zDel));
1944 fawCutForm.getTranslation().x(), fawCutForm.getTranslation().y(), fawCutForm.getTranslation().z()),
1945 myrot(fawCutName.
name() +
"R", fawCutForm.getRotation())));
1948 const Tf3D hawRform(vHAW[3],
1952 0.5 * (vFAW[0] + vFAW[3]),
1953 0.5 * (vFAW[1] + vFAW[2]));
1958 DDTranslation(hawRform.getTranslation().x(), hawRform.getTranslation().y(), hawRform.getTranslation().z()),
1965 DDTranslation(-hawRform.getTranslation().x(), -hawRform.getTranslation().y(), -hawRform.getTranslation().z()),
1967 CLHEP::HepRotationY(180 * deg) *
1968 CLHEP::HepRep3x3(1, 0, 0, 0, 1, 0, 0, 0, -1)));
1979 for (
unsigned int iPhi(1); iPhi <=
nFawPerSupm(); ++iPhi) {
1989 DDTranslation(fawform.getTranslation().x(), fawform.getTranslation().y(), fawform.getTranslation().z()),
1990 myrot(
fawName().
name() +
"_Rot" + std::to_string(iPhi), fawform.getRotation()));
1999 const Trap trapGrid((B_hawR - h_Grid * (B_hawR - a_hawR) / H_hawR) / 2,
2000 (b_hawR - h_Grid * (B_hawR - a_hawR) / H_hawR) / 2,
2004 (L_hawR - 8 * cm) / 2.,
2015 const Tf3D gridForm(vGrid[4],
2018 vHAW[5] -
Pt3D(0, h_Grid, 0),
2027 DDTranslation(gridForm.getTranslation().x(), gridForm.getTranslation().y(), gridForm.getTranslation().z()),
2058 double theta(90 * deg);
2060 double side(0 * mm);
2061 double zeta(0 * deg);
2063 for (
unsigned int cryType(1); cryType <=
nCryTypes(); ++cryType) {
2066 LogDebug(
"EcalGeom") <<
"Crytype=" << cryType;
2073 const double alfCry(90 * deg + atan((bNom - bUnd - aNom + aUnd) / (hNom - hUnd)));
2075 const Trap trapCry((ANom - AUnd) / 2.,
2082 aNom - aUnd - ANom + AUnd,
2083 hNom - hUnd - HNom + HUnd
2091 const unsigned int copyCap(1);
2105 const unsigned int copySGL(1);
2113 unsigned int copyCER(0);
2121 const unsigned int copyBSi(1);
2129 const unsigned int copyATJ(1);
2137 const unsigned int copyAGL(1);
2145 const unsigned int copyAND(1);
2153 const unsigned int copyAPD(1);
2156 const double delta(atan((HNom - hNom) / LNom));
2158 const double sindelta(
sin(delta));
2160 const double gamma(atan((ANom - aNom) / LNom));
2162 const double singamma(
sin(gamma));
2164 const double beta(atan((BNom - bNom) / LNom));
2166 const double sinbeta(
sin(beta));
2169 const double alfClr(90 * deg + atan((bNom - aNom) / (hNom + sClr)));
2171 const Trap trapClr((ANom + sClr + rClr * singamma) / 2.,
2172 (aNom + sClr - fClr * singamma) / 2.,
2173 (bNom + sClr - fClr * sinbeta) / 2.,
2174 (HNom + sClr + rClr * sindelta) / 2.,
2175 (hNom + sClr - fClr * sindelta) / 2.,
2176 (LNom + fClr + rClr) / 2.,
2188 const double alfWrap(90 * deg + atan((bNom - aNom) / (hNom + sClr + 2 * sWrap)));
2190 const Trap trapWrap((trapClr.
A() + 2 * sWrap + rWrap * singamma) / 2,
2191 (trapClr.
a() + 2 * sWrap - fWrap * singamma) / 2,
2192 (trapClr.
b() + 2 * sWrap - fWrap * sinbeta) / 2,
2193 (trapClr.
H() + 2 * sWrap + rWrap * sindelta) / 2,
2194 (trapClr.
h() + 2 * sWrap - fWrap * sindelta) / 2,
2195 (trapClr.
L() + fWrap + rWrap) / 2.,
2197 aNom - ANom - (cryType > 9 ? 0 : 0.020 * mm),
2202 const DDSolid wrapSolid(
mytrap(wrapDDName.name(), trapWrap));
2207 const double alfWall(90 * deg + atan((bNom - aNom) / (hNom + sClr + 2 * sWrap + 2 * sWall)));
2209 const Trap trapWall((trapWrap.A() + 2 * sWall + rWall * singamma) / 2,
2210 (trapWrap.a() + 2 * sWall - fWall * singamma) / 2,
2211 (trapWrap.b() + 2 * sWall - fWall * sinbeta) / 2,
2212 (trapWrap.H() + 2 * sWall + rWall * sindelta) / 2,
2213 (trapWrap.h() + 2 * sWall - fWall * sindelta) / 2,
2214 (trapWrap.L() + fWall + rWall) / 2.,
2216 aNom - ANom - (cryType < 10 ? 0.150 * mm : 0.100 * mm),
2221 const DDSolid wallSolid(
mytrap(wallDDName.name(), trapWall));
2268 const Vec3 cryToClr(0, 0, (rClr - fClr) / 2);
2298 for (
unsigned int ijkl(0); ijkl != 2; ++ijkl) {
2315 const Vec3 clrToWrap(0, 0, (rWrap - fWrap) / 2);
2324 const Vec3 wrapToWall1(0, 0, (rWall - fWall) / 2);
2325 const Vec3 wrapToWall(
Vec3((cryType > 9 ? 0 : 0.005 * mm), 0, 0) + wrapToWall1);
2336 const double sidePrime((trapWall.a() - trapCry.
a()) / 2);
2337 const double frontPrime(fWall + fWrap + fClr + LUnd / 2);
2358 for (
unsigned int etaAlv(1); etaAlv <=
nCryPerAlvEta(); ++etaAlv) {
2359 LogDebug(
"EcalGeom") <<
"theta=" << theta / deg <<
", sidePrime=" << sidePrime <<
", frontPrime=" << frontPrime
2360 <<
", zeta=" << zeta <<
", delta=" << delta <<
", zee=" << zee;
2362 zee += 0.075 * mm + (side *
cos(zeta) + trapWall.h() - sidePrime) /
sin(theta);
2364 LogDebug(
"EcalGeom") <<
"New zee=" << zee;
2368 const Pt3D trap2(vCry[2] + cryToClr + clrToWrap + wrapToWall);
2370 const Pt3D trap3(trap2 +
Pt3D(0, -trapCry.
h(), 0));
2371 const Pt3D trap1(trap3 +
Pt3D(-trapCry.
a(), 0, 0));
2374 const Pt3D wedge2(wedge3 +
Pt3D(0, trapCry.
h() *
cos(theta), -trapCry.
h() *
sin(theta)));
2375 const Pt3D wedge1(wedge3 +
Pt3D(trapCry.
a(), 0, 0));
2377 const Tf3D tForm1(trap1, trap2, trap3, wedge1, wedge2, wedge3);
2379 const double xx(0.050 * mm);
2381 const Tf3D tForm(HepGeom::Translate3D(xx, 0, 0) * tForm1);
2386 DDTranslation(tForm.getTranslation().x(), tForm.getTranslation().y(), tForm.getTranslation().z()),
2387 myrot(wallLog.
name().
name() +
"_" + std::to_string(etaAlv), tForm.getRotation()));
2393 if (5 == cryType || 9 == cryType || 13 == cryType || 17 == cryType)
2395 const unsigned int webIndex(cryType / 4);
2440 const std::vector<double>& backPlateParms(backPlateSolid.
parameters());
2458 outtra + backPlateTra,
2493 outtra + backSideTra1,
2494 myrot(
backSideName().
name() +
"Rot8", CLHEP::HepRotationX(180 * deg) * CLHEP::HepRotationZ(90 * deg)));
2500 outtra + backSideTra2,
2518 const double manifCut(2 * mm);
2526 mBManifWaName, backCoolWidth / 2. - manifCut, 0,
mBManifInnDiam() / 2, 0 * deg, 360 * deg));
2542 const double deltaY(-5 * mm);
2548 unsigned int edgeSlotCopy(0);
2549 unsigned int midSlotCopy(0);
2562 const DDTranslation gTra(outtra + backPlateTra + grilleTra);
2565 if (0 == (iGr - 1) % 2) {
2571 cpv.
position(grMidSlotLog[(iGr - 1) / 2],
2577 cpv.
position(grMidSlotLog[(iGr - 1) / 2],
2679 offTra += 2 * backVFELyrTra;
2723 unsigned int iCVFECopy(1);
2724 unsigned int iSep(0);
2725 unsigned int iNSec(0);
2727 for (
unsigned int iMod(0); iMod != 4; ++iMod) {
2730 const double pipeZPos(
vecGrilleZOff()[2 * iMod + 1] - pipeLength / 2 - 1.5 * mm);
2735 for (
unsigned int iMisc(0); iMisc != nMisc; ++iMisc) {
2739 for (
unsigned int iMB(0); iMB !=
vecMBLyrThick().size(); ++iMB) {
2759 const double halfZTank(halfZBCool - 5 * cm);
2769 DDTranslation(-backCoolHeight / 2 + backCoolTankHeight / 2. + bottomThick,
2805 for (
unsigned int j(0);
j != nMisc; ++
j)
2821 bSumTra += 2 * bTra;
2862 -backCoolHeight / 2.0 +
mBCoolTubeOutDiam() / 2., -bHalfWidth + (
j + 1) * bHalfWidth / 5, 0),
2931 dryAirTubeTra1.z());
2944 const unsigned int numSec(static_cast<unsigned int>(
vecBackCoolNSec()[iMod]));
2945 for (
unsigned int jSec(0); jSec != numSec; ++jSec) {
2947 for (
unsigned int iBar(0); iBar !=
nMax; ++iBar) {
2952 if (jSec != numSec - 1)
2974 double patchHeight(0);
2984 const std::vector<double>& patchParms(patchSolid.
parameters());
3029 const std::vector<double>& envParms(envSolid.
parameters());
3034 const std::vector<double>& blkParms(blkSolid.parameters());
3044 const std::vector<double>& cutParms(cutSolid.
parameters());
3056 const std::vector<double>& shim2Parms(shim2Solid.
parameters());
3060 DDTranslation(+cutParms[0] - shim2Parms[0], -cutParms[1] + shim2Parms[1], 0),
3069 const std::vector<double>& shim1Parms(shim1Solid.
parameters());
3074 DDTranslation(+envParms[0] - shim1Parms[0], -envParms[1] + shim1Parms[1], -envParms[2] + shim1Parms[2]),
3111 LogDebug(
"EcalGeom") <<
"******** DDEcalBarrelAlgo test: end it...";
3118 std::make_unique<DDRotationMatrix>(r.xx(), r.xy(), r.xz(), r.yx(), r.yy(), r.yz(), r.zx(), r.zy(), r.zz()));
3124 const pair<std::string, std::string>
temp(
DDSplit(s));
3125 if (temp.second.empty()) {
3128 return DDName(temp.first, temp.second);
3134 ddname(s), t.
dz(), t.
theta(), t.
phi(), t.
h1(), t.
bl1(), t.
tl1(), t.
alp1(), t.
h2(), t.
bl2(), t.
tl2(), t.
alp2());
3142 const HepGeom::Point3D<double>&
corner,
3149 const unsigned int copyOne(1);
3153 const double BWebx(bWeb + (BWeb - bWeb) * LWebx / LWeb);
3156 const Trap trapWebClr(BWebx / 2,
3170 const Trap trapWebPl(trapWebClr.
A() / 2,
3175 trapWebClr.
L() / 2.,
3177 trapWebClr.
b() - trapWebClr.
B(),
3181 const DDSolid webPlSolid(
mytrap(webPlDDName.fullname(), trapWebPl));
3192 zee += trapWebClr.
h() /
sin(theta);
3194 const double beta(theta + delta);
3196 const double zWeb(zee - front *
cos(beta) + side *
sin(beta));
3197 const double yWeb(front *
sin(beta) + side *
cos(beta));
3199 const Pt3D wedge3(corner +
Pt3D(0, -yWeb, zWeb));
3200 const Pt3D wedge2(wedge3 +
Pt3D(0, trapWebClr.
h() *
cos(theta), -trapWebClr.
h() *
sin(theta)));
3201 const Pt3D wedge1(wedge3 +
Pt3D(trapWebClr.
a(), 0, 0));
3203 LogDebug(
"EcalGeom") <<
"trap1=" << vWeb[0] <<
", trap2=" << vWeb[2] <<
", trap3=" << vWeb[3];
3205 LogDebug(
"EcalGeom") <<
"wedge1=" << wedge1 <<
", wedge2=" << wedge2 <<
", wedge3=" << wedge3;
3207 const Tf3D tForm(vWeb[0], vWeb[2], vWeb[3], wedge1, wedge2, wedge3);
3213 DDTranslation(tForm.getTranslation().x(), tForm.getTranslation().y(), tForm.getTranslation().z()),
3214 myrot(webClrLog.
name().
name() + std::to_string(iWeb), tForm.getRotation()));
DDMaterial grEdgeSlotMat() const
double spmExpYOff() const
const std::vector< double > & vecBackCoolNPerSec() const
std::string m_BackCoolBarMat
double backCoolBarThick() const
std::vector< double > m_vecPincerEnvZOff
std::vector< double > m_vecIlyFEMZ
std::vector< double > m_vecNomCryDimCF
DDMaterial backCoolBarMat() const
HepGeom::Transform3D Tf3D
double spmSideYOffM() const
double ilyFanOutHeight() const
double m_GrEdgeSlotHeight
double spmSideHigh() const
std::vector< std::string > m_vecBackVFELyrMat
const std::string & backCoolTankName() const
DDName ilyDiffName() const
std::vector< std::string > m_vecBackCoolName
std::vector< std::string > m_vecIlyMat
const std::vector< double > & parameters(void) const
Give the parameters of the solid.
double patchPanelHere() const
HepGeom::Point3D< double > Pt3D
DDMaterial ilyBndlMat() const
const std::string & webPlName() const
std::string m_BackPlate2Mat
std::vector< double > m_vecSpmZPts
double ilyPTMHeight() const
DDName backCoolBarWaName() const
double mBManifHere() const
DDMaterial wrapMat() const
DDMaterial backCoolBarSSMat() const
DDMaterial webClrMat() const
DDMaterial ilyPTMMat() const
DDMaterial mBManifMat() const
std::vector< double > vecPincerRodAzimuth() const
const std::vector< double > & vecGrilleHeight() const
double pincerCutHeight() const
std::string m_PincerEnvMat
const std::vector< double > & vecSpmCutTP() const
DDMaterial capMat() const
std::string m_PincerShim2Name
double backPlateHere() const
double backSideYOff1() const
std::string m_BackBracketMat
const std::vector< double > & vecIlyPipeZ() const
DDMaterial backCoolBarWaMat() const
std::vector< double > m_vecSpmBTran
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
const std::string & backPipeName() const
std::string m_PincerCutName
double pincerEnvLength() const
DDMaterial pincerRodMat() const
const std::vector< std::string > & vecBackVFELyrMat() const
std::string m_BackPlate2Name
const std::vector< double > & vecGapAlvEta() const
const std::vector< double > & vecSpmCutTM() const
const std::vector< double > & vecBackCoolNSec() const
double backCoolBarHere() const
DDName pincerRodName() const
const std::vector< std::string > & vecPatchPanelMat() const
double spmSideYOffP() const
double backCoolBarSSThick() const
const std::vector< double > & vecNomCryDimAR() const
DDMaterial is used to define and access material information.
double backCoolHere() const
unsigned int nFawPerSupm() const
double grilleWidth() const
std::vector< double > m_vecBarTran
const std::vector< double > & vecBackPipeThick() const
double dryAirTubeHere() const
double mBCoolTubeInnDiam() const
std::string m_BackCoolTankMat
VertexList vertexList() const
double grEdgeSlotHeight() const
std::vector< double > m_vecBackMiscThick
std::string m_BackCoolTankName
std::vector< double > m_vecNomCryDimAR
const std::string & backBracketName() const
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)
double m_PincerShim2Width
Sin< T >::type sin(const T &t)
double mBManifInnDiam() const
std::string m_GrMidSlotMat
DDMaterial apdMat() const
DDMaterial wallMat() const
unsigned int m_MBCoolTubeNum
const std::vector< double > & vecIlyFanOutZ() const
std::vector< double > m_vecIlyFanOutZ
Geom::Theta< T > theta() const
const std::vector< std::string > & vecMBLyrMat() const
std::string m_BackCoolTankWaName
double backPlateLength() const
double backSideLength() const
const std::string & ilyPipeName() const
DDName is used to identify DDD entities uniquely.
const std::vector< double > & vecMBLyrThick() const
std::vector< double > m_vecIlyFanOutPhi
DDName pincerBlkName() const
DDSolid mytrap(const std::string &s, const Trap &t) const
const std::vector< std::string > & vecBackCoolName() const
const std::string & dryAirTubeName() const
DDName ilyBndlName() const
const std::vector< double > & vecBarRMin() const
DDMaterial bsiMat() const
std::vector< std::string > m_vecBackMiscName
double ilyFanOutWidth() const
static std::string & ns()
double backCoolVFEHere() const
std::vector< double > m_vecBackCoolSecSep
std::vector< double > vecPincerEnvZOff() const
double grEdgeSlotHere() const
std::vector< double > m_vecBarRota2
double hawYOffCry() const
DDName backPlate2Name() const
double pincerCutWidth() const
double backPlateThick() const
const std::string & grMidSlotName() const
std::string m_IlyPipeName
double m_BackCoolBarHeight
DDMaterial backBracketMat() const
std::vector< double > m_vecNomCryDimBF
std::vector< double > m_vecWebClrTh
std::string m_BackCoolBarSSName
const std::vector< double > & vecNomCryDimCR() const
Compact representation of the geometrical detector hierarchy.
double m_BackCoolBarSSThick
DDRotation myrot(const std::string &s, const CLHEP::HepRotation &r) const
Create a DDRotation from a string converted to DDName and CLHEP::HepRotation converted to DDRotationM...
DDMaterial atjMat() const
DDMaterial backVFEMat() const
double backCoolBarWidth() const
DDName grEdgeSlotName() const
std::vector< double > m_vecBarRMin
unsigned int m_NCryPerAlvEta
DDMaterial backSideMat() const
std::vector< double > m_vecIlyPipePhi
DDName patchPanelName() const
std::string m_BackPlateName
double pincerShim1Width() const
double backPlate2Thick() const
std::vector< std::string > m_vecPatchPanelMat
A DDSolid represents the shape of a part.
std::string m_BackCoolMat
std::string m_PincerRodName
const std::vector< double > & vecSpmHere() const
std::vector< std::string > m_vecPatchPanelNames
const std::vector< double > & vecSpmZPts() const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
double spmSideThick() const
Represents a uniquely identifyable rotation matrix.
DDName backSideName() const
double m_MBCoolTubeInnDiam
const std::vector< double > & vecBackMiscThick() const
double ilyDiffOff() const
std::string m_BackPipeName
std::vector< std::string > m_vecMBLyrName
std::vector< double > m_vecSpmBRota
DDName backCoolBarName() const
std::string m_BackSideMat
double ilyFEMHeight() const
double m_PincerShimHeight
std::vector< double > m_vecSpmRMax
double spmCutThick() const
const std::vector< double > & vecSpmTran() const
const std::vector< double > & vecBackCoolSecSep() const
const std::vector< double > & vecPatchPanelThick() const
const std::string & backCoolTankWaName() const
std::vector< double > m_vecPincerRodAzimuth
double ilyFEMWidth() const
const std::vector< double > & vecBackPipeDiam() const
std::string m_BackCoolTankWaMat
double m_BackCoolTankWidth
DDName spmCutName() const
std::vector< double > m_vecWebLength
std::string m_PincerShim1Name
std::string m_BackCoolBarWaMat
std::string m_BackCoolBarWaName
double mBCoolTubeOutDiam() const
DDMaterial spmSideMat() const
double mBManifOutDiam() const
std::vector< double > m_vecBarRota
const std::string & clrName() const
double backCoolTankWaWidth() const
EcalTrapezoidParameters Trap
double backCoolTankHere() const
std::vector< std::string > m_vecBackVFELyrName
DDMaterial sglMat() const
DDName spmSideName() const
std::string m_BackCoolBarName
double backCoolTankWidth() const
std::string m_BackPipeWaterMat
DDMaterial backPipeMat() const
double nomCryDimLZ() const
DDMaterial clrMat() const
DDMaterial ilyFanOutMat() const
double dryAirTubeInnDiam() const
std::string m_PincerBlkName
DDMaterial grMidSlotMat() const
DDMaterial aglMat() const
double ilyBndlOff() const
const std::vector< std::string > & vecIlyMat() const
const std::vector< std::string > & vecPatchPanelNames() const
DDName pincerEnvName() const
double m_BackCoolTankWaWidth
double ilyFEMLength() const
const std::vector< double > & vecGrMidSlotHeight() const
std::string m_PincerBlkMat
std::vector< double > m_vecNomCryDimCR
unsigned int m_NFawPerSupm
Cos< T >::type cos(const T &t)
std::string m_BackCoolVFEName
const std::vector< double > & vecWebLength() const
double backSideWidth() const
std::vector< double > m_vecNomCryDimBR
double ilyPipeHere() const
DDMaterial backPipeWaterMat() const
std::string m_DryAirTubeName
const std::vector< double > & vecIlyPipeType() const
double grilleThick() const
std::vector< std::string > m_vecBackMiscMat
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
const std::vector< double > & vecIlyFEMZ() const
std::vector< double > m_vecBackCoolNSec
double grMidSlotXOff() const
const std::vector< double > & vecBackVFELyrThick() const
DDMaterial backCoolVFEMat() const
double m_DryAirTubeInnDiam
const std::vector< double > & vecSpmRMax() const
double backPipeHere() const
const std::vector< double > & vecSpmBRota() const
double pincerRodHere() const
std::vector< double > m_vecIlyPipeType
const std::vector< std::string > & vecBackMiscName() const
static DDSolid tubs(const DDName &name, double zhalf, double rIn, double rOut, double startPhi, double deltaPhi)
const std::vector< double > & vecIlyFanOutPhi() const
DDMaterial mBCoolTubeMat() const
const std::string & mBCoolTubeName() const
const std::vector< std::string > & vecBackVFELyrName() const
DDMaterial backCoolTankWaMat() const
unsigned int nCryPerAlvEta() const
const std::vector< double > & vecIlyThick() const
DDName ilyFanOutName() const
double backCoolBarHeight() const
std::string m_BackSideName
const std::vector< double > & vecSpmRMin() const
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)
DDName pincerShim1Name() const
double m_BackBracketHeight
void execute(DDCompactView &cpv) override
std::vector< double > m_vecPatchPanelThick
std::string m_PatchPanelName
std::string m_BackPipeMat
static DDSolid box(const DDName &name, double xHalf, double yHalf, double zHalf)
Creates a box with side length 2*xHalf, 2*yHalf, 2*zHalf.
std::vector< double > m_vecSpmCutTM
DDMaterial pincerEnvMat() const
DDName ilyFEMName() const
const std::vector< std::string > & vecBackMiscMat() const
std::vector< double > m_vecBarRMax
DDMaterial pincerCutMat() const
const std::string & webClrName() const
DDMaterial backPlateMat() const
double ilyBndlLength() const
std::string m_MBManifName
const std::string & idNameSpace() const
DDName backVFEName() const
double m_BackCoolTankHere
const std::vector< double > & vecNomCryDimBF() const
std::string m_BackCoolVFEMat
std::string m_GrEdgeSlotName
unsigned int nCryTypes() const
std::vector< std::string > m_vecMBLyrMat
std::vector< double > m_vecBarRota3
double ilyPTMLength() const
std::string m_BackPlateMat
unsigned int spmNPerHalf() const
DDMaterial webPlMat() const
std::vector< double > m_vecIlyPTMPhi
std::vector< double > m_vecWebPlTh
double grilleHere() const
double m_PincerShim1Width
double backCoolBarWaThick() const
double pincerEnvHeight() const
const std::vector< double > & vecSpmBTran() const
const std::vector< double > & vecIlyPTMPhi() const
const std::string & ilyName() const
const std::vector< double > & vecIlyPTMZ() const
double grMidSlotHere() const
DDMaterial barMat() const
std::string m_idNameSpace
std::string m_PincerRodMat
DDName pincerShim2Name() const
std::vector< double > m_vecBackVFELyrThick
HepGeom::Translate3D Tl3D
const std::vector< double > & vecNomCryDimCF() const
DDMaterial pincerShimMat() const
double ilyPTMWidth() const
double ilyFanOutLength() const
double grilleZSpace() const
double backSideHeight() const
DDMaterial grilleMat() const
DDName backCoolVFEName() const
double backSideAngle() const
std::vector< double > m_vecGrMidSlotHeight
double pincerEnvWidth() const
std::vector< double > m_vecBackPipeDiam
HepGeom::ReflectZ3D RfZ3D
DDMaterial ilyFEMMat() const
std::vector< double > m_vecSpmTran
DDMaterial backCoolMat() const
static DDSolid subtraction(const DDName &name, const DDSolid &a, const DDSolid &b, const DDTranslation &t, const DDRotation &r)
double m_BackCoolBarWidth
DDMaterial spmMat() const
double m_BackCoolTankThick
double m_MBCoolTubeOutDiam
void web(unsigned int iWeb, double bWeb, double BWeb, double LWeb, double theta, const Pt3D &corner, const DDLogicalPart &logPar, double &zee, double side, double front, double delta, DDCompactView &cpv)
std::vector< double > m_vecGrilleHeight
double ilyPTMHere() const
DDMaterial ilyPipeMat() const
double backSideYOff2() const
DDMaterial cerMat() const
std::vector< double > m_vecGapAlvEta
DDMaterial andMat() const
DDName backPlateName() const
DDMaterial cryMat() const
~DDEcalBarrelNewAlgo() override
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=0)
double dryAirTubeOutDiam() const
DDMaterial gridMat() const
const std::vector< double > & vecBarRMax() const
const std::vector< double > & vecSpmRota() const
DDMaterial backPlate2Mat() const
DDMaterial dryAirTubeMat() const
const std::vector< double > & vecBarRota2() const
std::vector< double > m_vecMBLyrThick
const std::vector< double > & vecIlyFEMPhi() const
std::vector< double > m_vecIlyPipeZ
double grEdgeSlotWidth() const
std::vector< double > m_vecIlyThick
double pincerShimHeight() const
std::vector< double > m_vecGrilleZOff
DDName pincerCutName() const
double mBCoolTubeNum() const
std::string m_SpmSideName
const std::string & grilleName() const
std::string m_GrMidSlotName
DDMaterial pincerBlkMat() const
std::string m_IlyDiffName
unsigned int m_SpmNPerHalf
std::vector< double > m_vecIlyPTMZ
double grMidSlotWidth() const
double spmExpThick() const
double spmExpWide() const
double backMiscHere() const
double backCoolTankThick() const
DDMaterial backCoolTankMat() const
std::vector< double > m_vecBarZPts
double mBCoolTubeHere() const
double m_DryAirTubeOutDiam
std::string m_PincerEnvName
const std::vector< double > & vecNomCryDimBR() const
double ilyFanOutHere() const
std::string m_MBCoolTubeMat
const std::vector< double > & vecWebPlTh() const
#define DEFINE_EDM_PLUGIN(factory, type, name)
const std::vector< double > & vecIlyPipePhi() const
double m_BackCoolBarThick
std::vector< double > m_vecSpmRota
double hawRCutDelY() const
double backSideHere() const
double backCBStdSep() const
double ilyDiffLength() const
DDMaterial ddmat(const std::string &s) const
const std::vector< double > & vecWebClrTh() const
const std::vector< std::string > & vecMBLyrName() const
DDName ddname(const std::string &s) const
const std::vector< double > & vecBarRota() const
DDName backCoolBarSSName() const
std::string m_IlyFanOutMat
std::string m_IlyBndlName
const std::vector< double > & vecBarZPts() const
std::string m_PincerCutMat
std::vector< double > m_vecSpmCutTP
double pincerBlkLength() const
double backPlateWidth() const
std::string m_BackBracketName
const std::vector< double > & vecBarRota3() const
std::string m_BackVFEName
std::string m_PincerShimMat
const std::vector< double > & vecBarTran() const
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
ROOT::Math::Rotation3D DDRotation
std::string m_GrEdgeSlotMat
double pincerShim2Width() const
std::vector< double > m_vecIlyPipeLength
double backBracketHeight() const
std::string m_IlyFanOutName
CaloCellGeometry::Pt3DVec VertexList
const std::string & name() const
Returns the name.
std::vector< double > m_vecSpmRMin
std::vector< double > m_vecBackPipeThick
std::string m_BackCoolBarSSMat
const std::string & cryName() const
std::string m_DryAirTubeMat
const std::vector< double > & vecGrilleZOff() const
double m_BackCoolBarWaThick
std::string m_MBCoolTubeName
std::vector< double > m_vecIlyFEMPhi
DDName ilyPTMName() const
const std::string & wallName() const
std::vector< double > m_vecSpmHere
double nomCryDimAF() const
std::vector< double > m_vecBackCoolNPerSec
const std::string & wrapName() const
DDMaterial ilyDiffMat() const
const std::vector< double > & vecIlyPipeLength() const
DDName mBManifName() const