Skip to content
Snippets Groups Projects
Commit 8895fef3 authored by Li Zhihao's avatar Li Zhihao
Browse files

fix: rename CaloDetectorEndcap to EcalEndcaps so it can display in G4 geom

parent f66320df
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@
</regions>
<detectors>
<detector id="DetID_ECAL_ENDCAP" name="CaloDetectorEndcap" type="LongCrystalBarEndcapCalorimeter_v01" readout="EcalEndcapsCollection" vis="Invisible" sensitive="true" region="EcalendcapRegion">
<detector id="DetID_ECAL_ENDCAP" name="EcalEndcaps" type="LongCrystalBarEndcapCalorimeter_v01" readout="EcalEndcapsCollection" vis="Invisible" sensitive="true" region="EcalendcapRegion">
<!-- Use cm as unit if you want to use Pandora for reconstruction -->
</detector>
</detectors>
......
......@@ -90,7 +90,7 @@ static dd4hep::Ref_t create_detector(dd4hep::Detector& theDetector,
// dd4hep::Volume envelopeVolZminus("envelopeVolZminus", boolean, vacuum);
dd4hep::Volume envelopeVol("envelopeVol", unionean, vacuum);
dd4hep::Volume envelopeVol(det_name, unionean, vacuum);
dd4hep::Transform3D transform(dd4hep::RotationZ(90*degree), dd4hep::Position(0.0, 0.0, -z_min-z_depth/2));
dd4hep::PlacedVolume envelopePlv = motherVol.placeVolume(envelopeVol, transform);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment