116 edm::LogVerbatim(
"HGCalGeom") <<
"DDAHcalModuleAlgo test: \t\tInside Layers";
120 for (
unsigned int i = 0;
i <
layers.size();
i++) {
122 int laymax = laymin +
layers[
i];
125 for (
int ly = laymin; ly < laymax; ++ly) {
134 <<
"DDAHcalModuleAlgo test: Layer " << ly <<
":" << ii <<
" Front " 135 << zi <<
" Back " << zo <<
" superlayer thickness " << layerThick[
i];
148 <<
"DDAHcalModuleAlgo: " << solid.
name() <<
" Box made of " 149 << matName <<
" of dimensions " << 0.5 *
widths[0] <<
", " 159 <<
"DDAHcalModuleAlgo: " << solid.
name() <<
" Box made of " 160 << matName <<
" of dimensions " << 0.5 *
widths[1] <<
", " 171 <<
"DDAHcalModuleAlgo: " << glog.
name() <<
" number " << copy
172 <<
" positioned in " << module.
name() <<
" at " <<
r1 <<
" with " 179 if (fabs(thickTot - layerThick[
i]) < 0.00001) {
180 }
else if (thickTot > layerThick[i]) {
182 <<
"Thickness of the partition " << layerThick[
i]
183 <<
" is smaller than thickness " << thickTot
184 <<
" of all its components **** ERROR ****\n";
185 }
else if (thickTot < layerThick[i]) {
187 <<
"Thickness of the partition " << layerThick[
i]
188 <<
" does not match with " << thickTot <<
" of the components\n";
std::vector< int > layerType
std::vector< std::string > materials
std::vector< double > widths
std::vector< int > copyNumber
DDMaterial is used to define and access material information.
DDName is used to identify DDD entities uniquely.
std::vector< double > heights
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< double > thick
std::vector< std::string > names
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::vector< double > layerThick
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=0)
std::vector< int > layers
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
std::vector< int > layerSense
void positionSensitive(DDLogicalPart &glog, DDCompactView &cpv)