Skip to content

Commit

Permalink
fix unit test for square geom
Browse files Browse the repository at this point in the history
  • Loading branch information
lgray committed Jan 23, 2016
1 parent 2295abc commit 77089dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Geometry/HGCalCommonData/src/HGCalDDDConstants.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ HGCalDDDConstants::HGCalDDDConstants(const HGCalParameters* hp,
mode_ = HGCalGeometryMode( hgpar_->mode_ );
if (mode_ == HGCalGeometryMode::Square) {
rmax_ = 0;

for( int simreco = 0; simreco < 2; ++simreco ) {
tot_layers_[simreco] = layersInit((bool)simreco);
}

edm::LogInfo("HGCalGeom") << "HGCalDDDConstants initialized for " << name
<< " with " << layers(false) << ":" <<layers(true)
<< " layers, " << sectors() << " sectors and "
Expand Down

0 comments on commit 77089dd

Please sign in to comment.