Definition at line 60 of file DDHCalForwardAlgo.cc.
References DDSolidFactory::box(), cellDx, cellDy, cellDz, cellMat, class-composition::child, childName, DDBase< N, C >::ddname(), DDSplit(), PVValHelper::dx, plotBeamSpotDB::first, mps_fire::i, idNameSpace, gen::k, LogDebug, DDName::name(), dataset::name, number, class-composition::parent, DDCompactView::position(), diffTwoXMLs::r1, makeMuonMisalignmentScenario::rot, edm::second(), size, and startY.
62 LogDebug(
"HCalGeom") <<
"==>> Constructing DDHCalForwardAlgo...";
68 for (
unsigned int i=0;
i<
number.size();
i++) {
71 for (
int j=0; j<
number[
i]; j++) {
73 string name = parentName.
name() + std::to_string(box);
76 LogDebug(
"HCalGeom") <<
"DDHCalForwardAlgo test: " 88 LogDebug(
"HCalGeom") <<
"DDHCalForwardAlgo test: " << solid.
ddname()
89 <<
" number " << box <<
" positioned in " 90 << parentName <<
" at " << r0 <<
" with " <<
rot;
94 double xpos = -dx +
cellDx;
98 for (
int k=0;
k<size[
i];
k++) {
102 <<
" number " <<
k+1 <<
" positioned in " 103 << solid.
ddname() <<
" at " << r1 <<
" with " 109 LogDebug(
"HCalGeom") <<
"<<== End of DDHCalForwardAlgo construction ...";
DDMaterial is used to define and access material information.
DDName is used to identify DDD entities uniquely.
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)
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
static DDSolid box(const DDName &name, double xHalf, double yHalf, double zHalf)
Creates a box with side length 2*xHalf, 2*yHalf, 2*zHalf.
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=0)
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
std::vector< std::string > childName
std::vector< int > number
const std::string & name() const
Returns the name.