91 <<
"rotation " << rotstr <<
"\t" << 90
92 <<
"," << phideg <<
"," << 90 <<
"," 93 << (phideg+90) <<
", 0, 0";
96 90._deg, (90._deg+
phi), 0, 0);
98 rotation.emplace_back(rot);
102 std::vector<DDLogicalPart> logs;
110 r0-dEnd, r0+dEnd, -0.5*dPhi, dPhi);
113 << name <<
" a cons with dZ " <<
deltaZ 114 <<
" rStart " <<
rStart[
i]-dStart <<
":" 115 <<
rStart[
i]+dStart <<
" rEnd " << r0-dEnd
116 <<
":" << r0+dEnd <<
" Phi " 121 logs.emplace_back(
log);
127 for (
unsigned int i=0;
i<
bundle.size();
i++) {
129 int ir = (
int)(
i)/nY;
130 if (ir >= numberPhi) ir = numberPhi-1;
133 if (ib>=0 && ib<(
int)(logs.size())) {
134 cpv.
position(logs[ib], mother, copy, tran, rotation[ir]);
137 <<
" number " << copy <<
" positioned in " 138 << mother <<
" at " << tran <<
" with "
DDMaterial is used to define and access material information.
static DDSolid cons(const DDName &name, double zhalf, double rInMinusZ, double rOutMinusZ, double rInPlusZ, double rOutPlusZ, double phiFrom, double deltaPhi)
DDName is used to identify DDD entities uniquely.
constexpr NumType convertRadToDeg(NumType radians)
A DDSolid represents the shape of a part.
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Represents a uniquely identifyable rotation matrix.
U second(std::pair< T, U > const &p)
Cos< T >::type cos(const T &t)
std::vector< double > areaSection
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=0)
std::vector< double > rEnd
std::vector< double > rStart
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
std::vector< int > bundle