34 cellMat = sArgs[
"CellMaterial"];
51 <<
" Cell positioning done for " 52 <<
number.size() <<
" times";
53 for (
unsigned int i = 0;
i <
number.size();
i++)
56 <<
" first child index " <<
type[
i];
61 <<
parent().name() <<
" NameSpace " 75 for (
unsigned int i=0;
i<
number.size();
i++) {
78 for (
int j=0; j<
number[
i]; j++) {
86 <<
" Box made of " <<
cellMat <<
" of Size " 98 <<
" number " << box <<
" positioned in " 99 << parentName <<
" at " << r0 <<
" with " 104 double xpos = -dx +
cellDx;
108 for (
int k=0;
k<size[
i];
k++) {
113 <<
" number " <<
k+1 <<
" positioned in " 114 << solid.
ddname() <<
" at " << r1
122 edm::LogVerbatim(
"HCalGeom") <<
"<<== End of DDHCalForwardAlgo construction";
DDMaterial is used to define and access material information.
DDName is used to identify DDD entities uniquely.
static std::string & ns()
Compact representation of the geometrical detector hierarchy.
~DDHCalForwardAlgo() override
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)
std::vector< int > dbl_to_int(const std::vector< double > &vecdbl)
Converts a std::vector of doubles to a std::vector of int.
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
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
void execute(DDCompactView &cpv) override
std::vector< int > number
const std::string & name() const
Returns the name.