Skip to content

[ALICE3] Open, partially open modes for VD - #16163

Open
plariono wants to merge 2 commits into
AliceO2Group:devfrom
plariono:open-iris
Open

plariono wants to merge 2 commits into
AliceO2Group:devfrom
plariono:open-iris

Conversation

@plariono

Copy link
Copy Markdown
Contributor

ALICE3 TRK: open IRIS (injection) configuration for the petal layouts

Adds an open configuration of the IRIS vertex detector for the petal layouts kIRIS4, kIRIS5 and kIRIS4a.

How it opens

  • As in the real IRIS, each petal slides, without rotating, perpendicular to its bisector (counter-clockwise seen from +z). Neighbouring petals slide along their shared edge, so they never collide, and the petal edges form a square (4 petals) or triangle (3 petals) around the beam.
  • The slide is computed so the beam aperture reaches irisOpenAperture. It stops earlier if the petals come within irisOpenVesselMargin of the beam pipe (r = 56 mm).
  • The vacuum cut-out (IRIS_CUTOUTsh) uses the same placement matrices as the petals, so it follows them. Sensor paths are unchanged (PETAL_n), so GeometryTGeo picks up the open positions automatically.

New TRKBase parameters

Parameter Default Meaning
irisOpen false build the petals in the open position
irisOpenAperture 1.5 cm target beam aperture
irisOpenVesselMargin 0.05 cm minimum clearance to the beam pipe
irisOpenFraction 1 partial opening: fraction of the full slide (e.g. 0.25, 0.5, 0.75)

Examples:

  • fully open: --configKeyValues "TRKBase.layoutVD=kIRIS4;TRKBase.irisOpen=true"
  • half open: --configKeyValues "TRKBase.layoutVD=kIRIS4;TRKBase.irisOpen=true;TRKBase.irisOpenFraction=0.5"

Partial openings (kIRIS4 / kIRIS5)

irisOpenFraction Slide Aperture r Envelope r
0.25 5.34 mm 3.87 mm 42.24 mm
0.5 10.68 mm 7.45 mm 46.47 mm
0.75 16.02 mm 11.23 mm 50.90 mm
1 21.35 mm 15.00 mm 55.49 mm

Geometry changes (also in the closed state)

  • To fit the opening inside the beam pipe, the petal outer wall is reduced from 48 mm to 38.1 mm for kIRIS4/kIRIS5 and to 27.0 mm for kIRIS4a. The full-cylinder layouts keep 48 mm.
  • For kIRIS4a, the IRIS service sectors (|z| > 36 cm) move inwards from r = 32–33.3 mm to 25.9–27.2 mm so they stay inside the petal outline.

Fully open results

Layout Slide Aperture r Clearance to beam pipe
kIRIS4, kIRIS5 21.35 mm 15.00 mm 0.51 mm
kIRIS4a 30.20 mm 15.00 mm 0.55 mm

Other

  • The slide, aperture, envelope and clearance are logged at geometry creation. The build stops with LOG(fatal) if the petals do not fit, or if irisOpen is used with kIRISFullCyl / kIRISFullCyl3InclinedWalls.
  • At partial openings (e.g. 25%) the aperture can be smaller than with the IRIS closed, because the petal corners pass the beam axis; a warning is logged.
  • Files: VDGeometryBuilder.cxx, TRKBaseParam.h, Detector.cxx, README.md.

To check: geometry overlaps (gGeoManager->CheckOverlaps(1e-4)) for each petal layout, closed and open.

iris4a_open_o2 iris4_open_o2 iris5_open_o2

🤖 Generated with Claude Code

@njacazio
njacazio enabled auto-merge (squash) November 21, 2026 06:01
float otEosCardCuThickness = constants::OT::eosCard::copperThickness; // cm, copper per plane in the OT end-of-stave card; drives the card x/X0
float mlEosCardCuThickness = constants::ML::eosCard::copperThickness; // cm, copper per plane in the ML end-of-stave card; drives the card x/X0
bool irisOpen = false;
bool irisOpen = false; // IRIS at injection: petals in the open position (petal layouts kIRIS4, kIRIS5, kIRIS4a only)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Ciao Pavel! Why not a single parameter to define how much open or closed is the iris? Then one does not need this bool

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants