Skip to content

Commit

Permalink
ALLEGRO: EcalBarrel CaloData: caloDim.dZ is already the half length
Browse files Browse the repository at this point in the history
  • Loading branch information
andresailer committed Feb 9, 2024
1 parent 42c73b0 commit f6c1762
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 f6c1762

Please sign in to comment.