225 for (
unsigned int i = 0;
i <
layers_.size();
i++) {
231 for (
int ly = laymin; ly < laymax; ++ly) {
241 edm::LogVerbatim(
"HGCalGeom") <<
"DDHGCalEEFileAlgo: Layer " << ly <<
":" <<
ii <<
" Front " << zi <<
", " 242 << routF <<
" Back " << zo <<
", " << rinB <<
" superlayer thickness " 249 std::vector<double> pgonZ, pgonRin, pgonRout;
263 for (
unsigned int isec = 0; isec < pgonZ.size(); ++isec) {
266 pgonRout[isec] = rmax;
277 <<
" sections and filled with " << matName;
278 for (
unsigned int k = 0;
k < pgonZ.size(); ++
k)
279 edm::LogVerbatim(
"HGCalGeom") <<
"[" <<
k <<
"] z " << pgonZ[
k] <<
" R " << pgonRin[
k] <<
":" << pgonRout[
k];
289 edm::LogVerbatim(
"HGCalGeom") <<
"DDHGCalEEFileAlgo: " << solid.
name() <<
" Tubs made of " << matName
290 <<
" of dimensions " << rinB <<
":" << rins <<
", " << routF <<
":" << routs
291 <<
", " << hthick <<
", 0.0, 360.0 and position " << glog.
name() <<
" number " 302 <<
module.name() <<
" at " <<
r1 <<
" with no rotation";
312 <<
": thickness of all its components **** ERROR ****";
315 << thickTot <<
" of the components";
Log< level::Info, true > LogVerbatim
std::vector< int > layerSense_
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.
constexpr NumType convertRadToDeg(NumType radians)
std::vector< double > zFrontT_
DDName is used to identify DDD entities uniquely.
std::string to_string(const V &value)
Log< level::Error, false > LogError
std::vector< std::string > materials_
std::vector< int > copyNumber_
A DDSolid represents the shape of a part.
std::vector< double > zFrontB_
Represents a uniquely identifyable rotation matrix.
U second(std::pair< T, U > const &p)
static constexpr double tol2_
Abs< T >::type abs(const T &t)
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
std::vector< double > slopeT_
static DDSolid tubs(const DDName &name, double zhalf, double rIn, double rOut, double startPhi, double deltaPhi)
std::vector< std::string > names_
std::vector< int > layerCenter_
std::vector< double > thick_
std::vector< double > slopeB_
std::vector< double > rMaxFront_
std::vector< double > rMinFront_
void positionSensitive(const DDLogicalPart &glog, double rin, double rout, double zpos, int layertype, int layer, DDCompactView &cpv)
static constexpr double tol1_
std::vector< int > layerType_
Log< level::Warning, false > LogWarning
std::vector< double > layerThick_
std::vector< int > layers_
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
static DDSolid polyhedra(const DDName &name, int sides, double startPhi, double deltaPhi, const std::vector< double > &z, const std::vector< double > &rmin, const std::vector< double > &rmax)
Creates a polyhedra (refere to Geant3 or Geant4 documentation)