Skip to content

Commit

Permalink
Merge pull request cms-sw#28378 from vargasa/FixBladesNumbering
Browse files Browse the repository at this point in the history
DD4hep: Tracker Fix PixelFwdBlades Numbering
  • Loading branch information
cmsbuild authored Nov 12, 2019
2 parents c60e9e4 + 260f76b commit e626860
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static long algorithm(dd4hep::Detector& /* description */,
dd4hep::Volume mother = ns.volume(args.parentName());
dd4hep::PlacedVolume pv;

startCopyNo = args.find("startCopyNo") ? args.value<int>("StartCopyNo") : 1;
startCopyNo = args.find("StartCopyNo") ? args.value<int>("StartCopyNo") : 0;
nBlades = args.value<int>("NumberOfBlades");
bladeAngle = args.value<double>("BladeAngle");
bladeTilt = args.value<double>("BladeTilt");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static long algorithm(dd4hep::Detector& /* description */,
dd4hep::Volume mother = ns.volume(args.parentName());
dd4hep::PlacedVolume pv;

startCopyNo = args.find("startCopyNo") ? args.value<int>("StartCopyNo") : 0;
startCopyNo = args.find("StartCopyNo") ? args.value<int>("StartCopyNo") : 0;
nBlades = args.value<int>("NumberOfBlades");
bladeAngle = args.value<double>("BladeAngle");
bladeTilt = -1. * args.value<double>("BladeTilt");
Expand Down

0 comments on commit e626860

Please sign in to comment.