Skip to content

Commit

Permalink
Apply suggestions from Brieuc
Browse files Browse the repository at this point in the history
Co-authored-by: Brieuc Francois <brieuc.francois@cern.ch>
  • Loading branch information
jmcarcell and BrieucF authored Aug 9, 2024
1 parent a637871 commit d87b492
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions detector/muonSystem/muonSystemMuRWELL_o1_v01.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ static dd4hep::Ref_t createmuonSystemMuRWELL_o1_v01(dd4hep::Detector& lcdd,
dd4hep::Position detectorLayerTrans(0., 0., 0.);
dd4hep::PlacedVolume detectorLayerPhys = BarrelVolume.placeVolume(BarrelDetectorLayerVolume, dd4hep::Transform3D(dd4hep::RotationZ(0.), detectorLayerTrans));
detectorLayerPhys.addPhysVolID("layer", numBarrelLayer+1);
dd4hep::DetElement BarrelDetectorLayerDE(BarrelDE, "MSBarrelDetectorLayerDE" + std::to_string(numBarrelLayer+1), numBarrelLayer+1);
dd4hep::DetElement BarrelDetectorLayerDE(BarrelDE, "MSBarrel_DetectorLayerDE_" + std::to_string(numBarrelLayer+1), numBarrelLayer+1);
BarrelDetectorLayerDE.setPlacement(detectorLayerPhys);
BarrelDetectorLayerVolume.setVisAttributes(lcdd.visAttributes("no_vis"));

Expand Down Expand Up @@ -591,7 +591,7 @@ static dd4hep::Ref_t createmuonSystemMuRWELL_o1_v01(dd4hep::Detector& lcdd,

dd4hep::Position radiatorLayerTrans(0., 0., 0.);
dd4hep::PlacedVolume radiatorLayerPhys = BarrelVolume.placeVolume(BarrelRadiatorLayerVolume, dd4hep::Transform3D(dd4hep::RotationZ(0.), radiatorLayerTrans));
dd4hep::DetElement BarrelRadiatorLayerDE(BarrelDE, "MSBarrel_RadiatorLayerDE" + std::to_string(numBarrelRadiatorLayer+1), numBarrelRadiatorLayer+1);
dd4hep::DetElement BarrelRadiatorLayerDE(BarrelDE, "MSBarrel_RadiatorLayerDE_" + std::to_string(numBarrelRadiatorLayer+1), numBarrelRadiatorLayer+1);
BarrelRadiatorLayerDE.setPlacement(radiatorLayerPhys);
BarrelRadiatorLayerVolume.setVisAttributes(lcdd.visAttributes("no_vis"));

Expand All @@ -616,7 +616,7 @@ static dd4hep::Ref_t createmuonSystemMuRWELL_o1_v01(dd4hep::Detector& lcdd,
endcapTrans = dd4hep::Position(0., 0., endcapType * endcapOffset);
endcapPhys = detectorVolume.placeVolume(endcapVolume, dd4hep::Transform3D(dd4hep::RotationZ(0.), endcapTrans));
endcapPhys.addPhysVolID("type", endcapType);
EndcapDE = dd4hep::DetElement(detElement, "MSEndcapDE" + std::to_string(endcapType) , endcapType);
EndcapDE = dd4hep::DetElement(detElement, "MSEndcapDE_" + std::to_string(endcapType) , endcapType);
EndcapDE.setPlacement(endcapPhys);
endcapVolume.setVisAttributes(lcdd.visAttributes("no_vis"));

Expand Down

0 comments on commit d87b492

Please sign in to comment.