Go to the source code of this file.
|
using | DD3Vector = ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > |
|
◆ DD3Vector
using DD3Vector = ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<double> > |
◆ algorithm()
Definition at line 16 of file DDMTDLinear.cc.
20 int n =
args.value<
int>(
"N");
21 int startCopyNo =
args.find(
"StartCopyNo") ?
args.value<
int>(
"StartCopyNo") : 1;
22 int incrCopyNo =
args.find(
"IncrCopyNo") ?
args.value<
int>(
"IncrCopyNo") : 1;
23 double theta =
args.find(
"Theta") ?
args.value<
double>(
"Theta") : 0.;
24 double phi =
args.find(
"Phi") ?
args.value<
double>(
"Phi") : 0.;
25 double theta_obj =
args.find(
"Theta_obj") ?
args.value<
double>(
"Theta_obj") : 0.;
26 double phi_obj =
args.find(
"Phi_obj") ?
args.value<
double>(
"Phi_obj") : 0.;
27 double delta =
args.find(
"Delta") ?
args.value<
double>(
"Delta") : 0.;
28 vector<double>
base =
args.value<vector<double> >(
"Base");
31 int copy = startCopyNo;
33 LogDebug(
"DDAlgorithm") <<
"DDMTDLinear: Parameters for positioning:: n " <<
n <<
" Direction Theta, Phi, Delta "
38 LogDebug(
"DDAlgorithm") <<
"DDMTDLinear: Parent " << mother.name() <<
"\tChild " <<
child.name() <<
" NameSpace "
46 double thetaZ = theta_obj - 0.5_pi;
47 double phiZ = phi_obj;
50 double phiX = phi_obj;
51 double phiY = phi_obj + 0.5_pi;
55 for (
int i = 0;
i <
n; ++
i) {
58 LogDebug(
"DDAlgorithm") <<
"DDMTDLinear: " <<
child.name() <<
" number " <<
copy <<
" positioned in "
59 << mother.name() <<
" at " << tran <<
" with " <<
rotation;
References writedatasetfile::args, newFWLiteAna::base, angle_units::operators::convertRadToDeg(), filterCSVwithJSON::copy, funct::cos(), dumpMFGeometry_cfg::delta, MillePedeFileConverter_cfg::e, mps_fire::i, LogDebug, cms::makeRotation3D(), dqmiodumpmetadata::n, cms::DDNamespace::name(), PixelTestBeamValidation_cfi::Position, idealTransformation::rotation, funct::sin(), theta(), DOFs::thetaX, DOFs::thetaY, DOFs::thetaZ, and cms::DDNamespace::volume().
◆ DD4HEP_OPEN_PLUGIN()
DD4HEP_OPEN_PLUGIN |
( |
dd4hep |
, |
|
|
ddcms_det_element_DDCMS_mtd_DDMTDLinear |
|
|
) |
| |
dd4hep::Rotation3D makeRotation3D(double thetaX, double phiX, double thetaY, double phiY, double thetaZ, double phiZ)