Skip to content

Commit

Permalink
Code check
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed Apr 29, 2020
1 parent 3ef1948 commit 75dda43
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions Geometry/HGCalCommonData/plugins/DDHGCalEEAlgo.cc
Expand Up @@ -277,9 +277,11 @@ void DDHGCalEEAlgo::constructLayers(const DDLogicalPart& module, DDCompactView&
pgonRin,
pgonRout);
#ifdef EDM_ML_DEBUG
edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: z " << (zz - hthick) << ":" << (zz + hthick) << " with " << pgonZ.size() << " palnes";
for (unsigned int isec = 0; isec < pgonZ.size(); ++isec)
edm::LogVerbatim("HGCalGeom") << "[" << isec << "] z " << pgonZ[isec] << " R " << pgonRin[isec] << ":" << pgonRout[isec];
edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: z " << (zz - hthick) << ":" << (zz + hthick) << " with "
<< pgonZ.size() << " palnes";
for (unsigned int isec = 0; isec < pgonZ.size(); ++isec)
edm::LogVerbatim("HGCalGeom")
<< "[" << isec << "] z " << pgonZ[isec] << " R " << pgonRin[isec] << ":" << pgonRout[isec];
#endif
for (unsigned int isec = 0; isec < pgonZ.size(); ++isec) {
pgonZ[isec] -= zz;
Expand Down
8 changes: 5 additions & 3 deletions Geometry/HGCalCommonData/plugins/dd4hep/DDHGCalEEAlgo.cc
Expand Up @@ -252,9 +252,11 @@ struct HGCalEEAlgo {
pgonRin,
pgonRout);
#ifdef EDM_ML_DEBUG
edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: z " << (zz - hthick) << ":" << (zz + hthick) << " with " << pgonZ.size() << " palnes";
for (unsigned int isec = 0; isec < pgonZ.size(); ++isec)
edm::LogVerbatim("HGCalGeom") << "[" << isec << "] z " << pgonZ[isec] << " R " << pgonRin[isec] << ":" << pgonRout[isec];
edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: z " << (zz - hthick) << ":" << (zz + hthick) << " with "
<< pgonZ.size() << " palnes";
for (unsigned int isec = 0; isec < pgonZ.size(); ++isec)
edm::LogVerbatim("HGCalGeom")
<< "[" << isec << "] z " << pgonZ[isec] << " R " << pgonRin[isec] << ":" << pgonRout[isec];
#endif
for (unsigned int isec = 0; isec < pgonZ.size(); ++isec) {
pgonZ[isec] -= zz;
Expand Down

0 comments on commit 75dda43

Please sign in to comment.