Definition at line 77 of file DDHGCalWafer8.cc.
82 static const double sqrt3 =
std::sqrt(3.0);
84 double RM2 = rM / sqrt3;
86 double r = 0.5 *
R * sqrt3;
89 std::vector<double> xM = {rM, 0, -rM, -rM, 0, rM};
90 std::vector<double> yM = {RM2, 2 * RM2, RM2, -RM2, -2 * RM2, -RM2};
92 std::vector<double> zx(2, 0), zy(2, 0),
scale(2, 1.0);
99 edm::LogVerbatim(
"HGCalGeom") <<
"DDHGCalWafer8: " << solid.
name() <<
" extruded polygon made of " << matName
100 <<
" z|x|y|s (0) " <<
zw[0] <<
":" << zx[0] <<
":" << zy[0] <<
":" <<
scale[0]
101 <<
" z|x|y|s (1) " <<
zw[1] <<
":" << zx[1] <<
":" << zy[1] <<
":" <<
scale[1]
102 <<
" and " << xM.size() <<
" edges";
103 for (
unsigned int k = 0;
k < xM.size(); ++
k)
108 for (
int u = 0; u < 2 *
nCells_; ++u) {
112 double yp = (u - 0.5 *
v - n2) * 2 *
r;
113 double xp = (1.5 * (
v -
nCells_) + 1.0) *
R;
115 if ((u == 0) && (
v == 0))
117 else if ((u == 0) && (
v ==
nCells_ - 1))
125 else if ((u ==
nCells_) && (
v == 0))
133 else if (u == (2 *
nCells_ - 1))
144 << glog.
name() <<
" at " << tran <<
" with " <<
rot;
References cellNames_, cellType_, filterCSVwithJSON::copy, DDBase< N, C >::ddname(), DDSplit(), DDSolidFactory::extrudedpolygon(), dqmdumpme::first, dqmdumpme::k, material_, DDBase< N, C >::name(), nCells_, HGCalTypes::packCellTypeUV(), class-composition::parent, DDCompactView::position(), dttmaxenums::R, alignCSCRings::r, makeMuonMisalignmentScenario::rot, L1EGammaCrystalsEmulatorProducer_cfi::scale, edm::second(), mathSSE::sqrt(), findQualityFiles::v, waferSepar_, waferSize_, waferT_, and zw().