117 double dphi = CLHEP::twopi /
number;
124 <<
genMat <<
" from 0 to " << CLHEP::twopi / CLHEP::deg <<
" with Rin " << rtmi <<
" Rout "
125 << rtmx <<
" ZHalf " << 0.5 *
layerDz;
133 LogDebug(
"PixelGeom") <<
"DDPixBarLayerUpgradeAlgo test: " << solid.
name() <<
" Tubs made of " <<
tubeMat
134 <<
" from 0 to " << CLHEP::twopi / CLHEP::deg <<
" with Rout " <<
coolRadius <<
" ZHalf "
143 <<
" from 0 to " << CLHEP::twopi / CLHEP::deg <<
" with Rout " <<
coolRadius <<
" ZHalf "
151 LogDebug(
"PixelGeom") <<
"DDPixBarLayerUpgradeAlgo test: " << solid.
name() <<
" Tubs made of " <<
tubeMat
153 <<
" ZHalf " << 0.5 *
coolDz;
157 LogDebug(
"PixelGeom") <<
"DDPixBarLayerUpgradeAlgo test: " << cool.name() <<
" number 1 positioned in "
158 << coolTube.name() <<
" at (0,0,0) with no rotation";
165 <<
" ZHalf " << 0.5 *
coolDz;
169 LogDebug(
"PixelGeom") <<
"DDPixBarLayerUpgradeAlgo test: " << cool.name() <<
" number 1 positioned in "
170 << coolTube.name() <<
" at (0,0,0) with no rotation";
174 int copyoffset =
number + 2;
177 double phix, phiy, rrr, rrroffset;
183 if ((
i == 1) || (
i ==
number / 2 + 1)) {
196 phix =
phi - 90 * CLHEP::deg;
198 phix =
phi + 90 * CLHEP::deg;
199 phiy = phix + 90. * CLHEP::deg;
200 LogDebug(
"PixelGeom") <<
"DDPixBarLayerUpgradeAlgo test: Creating a new "
201 <<
"rotation: " << rots <<
"\t90., " << phix / CLHEP::deg <<
", 90.," << phiy / CLHEP::deg
205 LogDebug(
"PixelGeom") <<
"DDPixBarLayerUpgradeAlgo test: " << ladderFull <<
" number " <<
copy <<
" positioned in "
206 << layer.name() <<
" at " << tran <<
" with " <<
rot;
209 rots =
idName + to_string(
i + 100);
210 phix =
phi + 90. * CLHEP::deg;
213 phiy = phix + 90. * CLHEP::deg;
214 LogDebug(
"PixelGeom") <<
"DDPixBarLayerUpgradeAlgo test: Creating a new "
215 <<
"rotation: " << rots <<
"\t90., " << phix / CLHEP::deg <<
", 90.," << phiy / CLHEP::deg
220 if ((
i == 1) || (
i ==
number / 2 + 1)) {
231 LogDebug(
"PixelGeom") <<
"DDPixBarLayerUpgradeAlgo test: " << coolTube.name() <<
" number " <<
i + 1
232 <<
" positioned in " << layer.name() <<
" at " << tran <<
" with " <<
rot;