141 edm::LogVerbatim(
"HGCalGeom") <<
"DDAHcalModuleAlgo test: \t\tInside Layers";
145 for (
unsigned int i = 0;
i <
layers_.size();
i++) {
150 for (
int ly = laymin; ly < laymax; ++ly) {
158 edm::LogVerbatim(
"HGCalGeom") <<
"DDAHcalModuleAlgo test: Layer " << ly <<
":" << ii <<
" Front " << zi
159 <<
" Back " << zo <<
" superlayer thickness " << layerThick_[
i];
169 edm::LogVerbatim(
"HGCalGeom") <<
"DDAHcalModuleAlgo: " << solid.
name() <<
" Box made of " << matName
170 <<
" of dimensions " << 0.5 *
widths_[0] <<
", " << 0.5 *
heights_[0] <<
", "
178 edm::LogVerbatim(
"HGCalGeom") <<
"DDAHcalModuleAlgo: " << solid.
name() <<
" Box made of " << matName
179 <<
" of dimensions " << 0.5 *
widths_[1] <<
", " << 0.5 *
heights_[1] <<
", "
189 edm::LogVerbatim(
"HGCalGeom") <<
"DDAHcalModuleAlgo: " << glog.
name() <<
" number " << copy <<
" positioned in "
190 << module.
name() <<
" at " <<
r1 <<
" with " <<
rot;
196 if (fabs(thickTot - layerThick_[
i]) >
tol_) {
197 if (thickTot > layerThick_[i]) {
198 edm::LogError(
"HGCalGeom") <<
"Thickness of the partition " << layerThick_[
i] <<
" is smaller than thickness "
199 << thickTot <<
" of all its components **** ERROR ****\n";
201 edm::LogWarning(
"HGCalGeom") <<
"Thickness of the partition " << layerThick_[
i] <<
" does not match with "
202 << thickTot <<
" of the components\n";
std::vector< double > heights_
Log< level::Info, true > LogVerbatim
static constexpr double tol_
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=nullptr)
DDMaterial is used to define and access material information.
std::vector< double > layerThick_
std::vector< int > layers_
DDName is used to identify DDD entities uniquely.
std::vector< std::string > materials_
Log< level::Error, false > LogError
A DDSolid represents the shape of a part.
Represents a uniquely identifyable rotation matrix.
U second(std::pair< T, U > const &p)
std::vector< int > layerType_
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 > widths_
std::vector< int > copyNumber_
std::vector< int > layerSense_
std::vector< std::string > names_
Log< level::Warning, false > LogWarning
std::vector< double > thick_
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
void positionSensitive(DDLogicalPart &glog, DDCompactView &cpv)