Definition at line 60 of file DDHCalForwardAlgo.cc.
References DDSolidFactory::box(), cellDx, cellDy, cellDz, cellMat, class-composition::child, childName, dbl_to_string(), DDBase< N, C >::ddname(), DDSplit(), plotBeamSpotDB::first, i, idNameSpace, j, relval_steps::k, LogDebug, DDName::name(), mergeVDriftHistosByStation::name, number, dbtoconf::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++) {
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.
void position(const DDLogicalPart &self, const DDLogicalPart &parent, std::string copyno, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=NULL)
DDName is used to identify DDD entities uniquely.
std::string dbl_to_string(const double &in)
Converts only the integer part of a double to a string.
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.
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.