Skip to content

Commit

Permalink
Code check
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed Jul 5, 2021
1 parent 164ba11 commit 742c8e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Geometry/HGCalCommonData/interface/HGCalTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ class HGCalTypes {
WaferCenterR = 6
};

enum WaferType {
enum WaferType {
WaferTypeUndefined = -1,
WaferFineThin = 0,
WaferCoarseThin = 1,
WaferCoarseThick = 2,
WaferFineThin = 0,
WaferCoarseThin = 1,
WaferCoarseThick = 2,
WaferFineThick = 3
};

Expand Down
3 changes: 2 additions & 1 deletion Geometry/HGCalCommonData/src/HGCalGeomParameters.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1479,7 +1479,8 @@ void HGCalGeomParameters::loadSpecParsHexagon8(HGCalParameters& php,
double sth = (php.layerType_[k] == HGCalTypes::WaferCenterR) ? sin(php.layerRotation_) : 0.0;
php.layerRotV_.emplace_back(std::make_pair(cth, sth));
#ifdef EDM_ML_DEBUG
edm::LogVerbatim("HGCalGeom") << "Layer[" << k << "] Type " << php.layerType_[k] << " cos|sin(Theta) " << php.layerRotV_[k].first << ":" << php.layerRotV_[k].second;
edm::LogVerbatim("HGCalGeom") << "Layer[" << k << "] Type " << php.layerType_[k] << " cos|sin(Theta) "
<< php.layerRotV_[k].first << ":" << php.layerRotV_[k].second;
#endif
}
for (unsigned int k = 0; k < waferIndex.size(); ++k) {
Expand Down

0 comments on commit 742c8e9

Please sign in to comment.