Skip to content

Commit

Permalink
Correct the value of half length in the detector
Browse files Browse the repository at this point in the history
  • Loading branch information
SwathiSasikumar committed Feb 6, 2024
1 parent 26f53d1 commit 71222e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ static dd4hep::detail::Ref_t createECalBarrelInclined(dd4hep::Detector& aLcdd,
caloData->extent[0] = Rmin;
caloData->extent[1] = Rmax; // or r_max ?
caloData->extent[2] = 0.; // NN: for barrel detectors this is 0
caloData->extent[3] = caloDim.dz()/2;
caloData->extent[3] = caloDim.dz();

// Set type flags
dd4hep::xml::setDetectorTypeFlag(xmlDetElem, caloDetElem);
Expand Down

0 comments on commit 71222e9

Please sign in to comment.