Skip to content

Commit

Permalink
Code check
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed May 16, 2022
1 parent 617785d commit 2db246d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Geometry/HGCalCommonData/plugins/DDHGCalMixRotatedLayer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class DDHGCalMixRotatedLayer : public DDAlgorithm {
std::vector<double> layerThickTop_; // Thickness of the top sections
std::vector<int> layerTypeTop_; // Type of the Top layer
std::vector<int> copyNumberTop_; // Initial copy numbers (top section)
std::vector<int> layerOrient_; // Layer type of silicon layers
std::vector<int> layerOrient_; // Layer type of silicon layers
std::vector<int> waferIndex_; // Wafer index for the types
std::vector<int> waferProperty_; // Wafer property
std::vector<int> waferLayerStart_; // Start index of wafers in each layer
Expand Down Expand Up @@ -509,7 +509,7 @@ void DDHGCalMixRotatedLayer::positionMix(const DDLogicalPart& glog,
int layercenter = (layerOrient_[layer] == HGCalTypes::CornerCenteredLambda)
? HGCalTypes::CornerCenterYp
: ((layerOrient_[layer] == HGCalTypes::CornerCenteredY) ? HGCalTypes::CornerCenterYm
: HGCalTypes::WaferCenter);
: HGCalTypes::WaferCenter);
int layertype = (layerOrient_[layer] == HGCalTypes::WaferCenteredBack) ? 1 : 0;
int firstWafer = waferLayerStart_[layer];
int lastWafer = ((layer + 1 < static_cast<int>(waferLayerStart_.size())) ? waferLayerStart_[layer + 1]
Expand All @@ -521,8 +521,8 @@ void DDHGCalMixRotatedLayer::positionMix(const DDLogicalPart& glog,
#ifdef EDM_ML_DEBUG
int ium(0), ivm(0), kount(0);
std::vector<int> ntype(3, 0);
edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: " << glog.ddname() << " r " << delx << " R " << dely << " dy "
<< dy << " Shift " << xyoff.first << ":" << xyoff.second << " WaferSize "
edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: " << glog.ddname() << " r " << delx << " R " << dely
<< " dy " << dy << " Shift " << xyoff.first << ":" << xyoff.second << " WaferSize "
<< (waferSize_ + waferSepar_) << " index " << firstWafer << ":" << (lastWafer - 1);
#endif
for (int k = firstWafer; k < lastWafer; ++k) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ void DDHGCalSiliconRotatedModule::positionSensitive(const DDLogicalPart& glog, i
int layercenter = (layerOrient_[layer] == HGCalTypes::CornerCenteredLambda)
? HGCalTypes::CornerCenterYp
: ((layerOrient_[layer] == HGCalTypes::CornerCenteredY) ? HGCalTypes::CornerCenterYm
: HGCalTypes::WaferCenter);
: HGCalTypes::WaferCenter);
int layertype = (layerOrient_[layer] == HGCalTypes::WaferCenteredBack) ? 1 : 0;
int firstWafer = waferLayerStart_[layer];
int lastWafer = ((layer + 1 < static_cast<int>(waferLayerStart_.size())) ? waferLayerStart_[layer + 1]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ struct HGCalSiliconRotatedModule {
int layercenter = (layerOrient_[layer] == HGCalTypes::CornerCenteredLambda)
? HGCalTypes::CornerCenterYp
: ((layerOrient_[layer] == HGCalTypes::CornerCenteredY) ? HGCalTypes::CornerCenterYm
: HGCalTypes::WaferCenter);
: HGCalTypes::WaferCenter);
int layertype = (layerOrient_[layer] == HGCalTypes::WaferCenteredBack) ? 1 : 0;
int firstWafer = waferLayerStart_[layer];
int lastWafer = ((layer + 1 < static_cast<int>(waferLayerStart_.size())) ? waferLayerStart_[layer + 1]
Expand Down

0 comments on commit 2db246d

Please sign in to comment.