Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECal endcap turbine version 3 #426

Open
wants to merge 59 commits into
base: main
Choose a base branch
from

Conversation

varnes
Copy link
Contributor

@varnes varnes commented Jan 29, 2025

BEGINRELEASENOTES

This PR is to support v3 of the ECal endcap turbine geometry. In this version there is flexibility to set parameters separately for the three wheels, to calibrate the response in both dimensions along the surface of a blade, and the segment the readout in both directions as well. The readout unit cells are allowed to be smaller than the calibration cells.

(Note that the above changes were implemented in two steps, with the flexibility to set parameters separately introduced in "v2" of the geometry, and the remaining changes in v3. v2 was never included in a pull request.)

ENDRELEASENOTES

Copy link
Contributor

@giovannimarchiori giovannimarchiori left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @varnes
please get rid of all the unnecessary changes and of the commented code. Apart from that, the changes look good to me

FCCee/ALLEGRO/compact/README.md Show resolved Hide resolved
FCCee/CLD/compact/CLD_o2_v07/LumiCal_o3_v02_05.xml Outdated Show resolved Hide resolved
detector/calorimeter/HCalThreePartsEndcap_o1_v02_geo.cpp Outdated Show resolved Hide resolved
detector/calorimeter/ECalEndcap_Turbine_o1_v02_geo.cpp Outdated Show resolved Hide resolved
double bathThicknessFront = aLcdd.constant<float>("BathThicknessFront");
double bathThicknessBack = aLcdd.constant<float>("BathThicknessBack");

// double cryoThicknessInner = aLcdd.constant<float>("CryoEMECThicknessInner");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove commented code

dd4hep::Tube bathOuterShape(bathRmin, bathRmax, bathDelZ); // make it 4 volumes + 5th for detector envelope
dd4hep::Tube bathAndServicesOuterShape(cryoDim.rmin2(), cryoDim.rmax1(), caloDim.dz()); // make it 4 volumes + 5th for detector envelope
// dd4hep::Tube bathAndServicesOuterShape(cryoDim.rmin2(), cryoDim.rmax1(), caloDim.dz()); // make it 4 volumes + 5th for detector envelope
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove commented code

@@ -647,17 +707,17 @@ namespace det {
dd4hep::PlacedVolume envelopePositivePhysVol = endcapsAssembly.placeVolume(envelopeVol, envelopePositiveVolume_tr);
envelopePositivePhysVol.addPhysVolID("side", 1);

dd4hep::DetElement caloPositiveDetElem(caloDetElem, "positive", 0);
caloPositiveDetElem.setPlacement(envelopePositivePhysVol);
// dd4hep::DetElement caloPositiveDetElem(caloDetElem, "positive", 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove commented code


// make another placement for the negative z endcap
dd4hep::Transform3D envelopeNegativeVolume_tr(dd4hep::RotationZYX( 0 ,0,180*dd4hep::deg), dd4hep::Translation3D(0, 0, -dim.z_offset()));
dd4hep::PlacedVolume envelopeNegativePhysVol =
endcapsAssembly.placeVolume(envelopeVol, envelopeNegativeVolume_tr);
envelopeNegativePhysVol.addPhysVolID("side", -1);

dd4hep::DetElement caloNegativeDetElem(caloDetElem, "negative", 0);
caloNegativeDetElem.setPlacement(envelopeNegativePhysVol);
// dd4hep::DetElement caloNegativeDetElem(caloDetElem, "negative", 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove commented code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants