Skip to content

Commit 81bc442

Browse files
author
Sunanda
committed
Change the positioning of absorber part
1 parent 36fd6a4 commit 81bc442

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Geometry/HGCalCommonData/plugins/DDHGCalSiliconRotatedCassette.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,8 @@ void DDHGCalSiliconRotatedCassette::constructLayers(const DDLogicalPart& module,
400400
} else if (passiveMode_ > 0) {
401401
unsigned int num = (-layerSense_[ly] <= waferTypes_) ? passiveAbsorb_.size() : passiveCool_.size();
402402
if (num > 0)
403-
positionPassiveNew(glog, (copy - firstLayer_), -layerSense_[ly], cpv);
403+
positionPassiveNew(glog, i, -layerSense_[ly], cpv);
404+
// positionPassiveNew(glog, (copy - firstLayer_), -layerSense_[ly], cpv);
404405
} else {
405406
positionPassive(glog, (copy - firstLayer_), -layerSense_[ly], cpv);
406407
}

0 commit comments

Comments
 (0)