Go to the source code of this file.
◆ algorithm()
Definition at line 11 of file DDTotemAngular.cc.
References writedatasetfile::args, angle_units::operators::convertRadToDeg(), funct::cos(), MillePedeFileConverter_cfg::e, cuy::ii, cms::makeRotation3D(), dqmiodumpmetadata::n, class-composition::parent, PixelTestBeamValidation_cfi::Position, cms::DDNamespace::prepend(), idealTransformation::rotation, funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, and cms::DDNamespace::volume().
14 double startAngle =
args.value<
double>(
"startAngle");
15 double stepAngle =
args.value<
double>(
"stepAngle");
16 double zoffset =
args.value<
double>(
"zoffset");
17 double roffset =
args.value<
double>(
"roffset");
18 int n =
args.value<
int>(
"n");
19 int startCopyNo =
args.value<
int>(
"startCopyNo");
20 int incrCopyNo =
args.value<
int>(
"incrCopyNo");
22 edm::LogVerbatim(
"ForwardGeom") <<
"DDTotemAngular: Parameters for positioning-- " <<
n <<
" copies in steps of " 24 <<
" \tZoffset " << zoffset <<
" \tRoffset " << roffset
25 <<
"\tStart and inremental copy nos " << startCopyNo <<
", " << incrCopyNo;
34 double phi = startAngle;
35 int copyNo = startCopyNo;
37 for (
int ii = 0;
ii <
n;
ii++) {
40 edm::LogVerbatim(
"ForwardGeom") <<
"DDTotemAngular: Creating a new rotation \t90, " 48 edm::LogVerbatim(
"ForwardGeom") <<
"DDTotemAngular: " <<
child.name() <<
" number " << copyNo <<
" positioned in " Log< level::Info, true > LogVerbatim
constexpr NumType convertRadToDeg(NumType radians)
Sin< T >::type sin(const T &t)
DDRotationMatrix makeRotation3D(double thetaX, double phiX, double thetaY, double phiY, double thetaZ, double phiZ)
Cos< T >::type cos(const T &t)
◆ DD4HEP_OPEN_PLUGIN()
DD4HEP_OPEN_PLUGIN |
( |
dd4hep |
, |
|
|
ddcms_det_element_DDCMS_forward_DDTotemAngular |
|
|
) |
| |