5 #include "DD4hep/DetFactoryHelper.h" 17 const auto& xpos =
args.value<std::vector<double> >(
"positionX");
18 const auto& ypos =
args.value<
double>(
"positionY");
19 const auto& zpos =
args.value<
double>(
"positionZ");
25 edm::LogVerbatim(
"ForwardGeom") <<
"DDRPDPosition: Parameters for positioning-- " << xpos.size() <<
" copies of " 26 <<
child.name() <<
" to be positioned inside " <<
parent.name() <<
" at y = " << ypos
27 <<
", z = " << zpos <<
" and at x = (";
28 std::ostringstream st1;
29 for (
const auto&
x : xpos)
34 for (
unsigned int jj = 0;
jj < xpos.size();
jj++) {
38 edm::LogVerbatim(
"ForwardGeom") <<
"DDRPDPosition: " <<
child.name() <<
" number " <<
jj + 1 <<
" positioned in " 39 <<
parent.name() <<
" at " << tran <<
" with no rotation";
Log< level::Info, true > LogVerbatim
static long algorithm(dd4hep::Detector &, cms::DDParsingContext &ctxt, xml_h e)
#define DECLARE_DDCMS_DETELEMENT(name, func)
static constexpr long s_executed
dd4hep::Volume volume(const std::string &name, bool exc=true) const
std::string prepend(const std::string &) const