# Multidimension array detector

**URL:** <https://geant4-forum.web.cern.ch/t/multidimension-array-detector/7678>\
**Category:** Geometry, Fields and Transportation\
**Created:** [April 17, 2022, 2:20am UTC](https://geant4-forum.web.cern.ch/t/multidimension-array-detector/7678 "2022-04-17T02:20:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![olowoeyo1](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/o/77aa72/32.png) [@olowoeyo1](https://geant4-forum.web.cern.ch/u/olowoeyo1)\
**Post date:** [April 17, 2022, 2:20am UTC](https://geant4-forum.web.cern.ch/t/multidimension-array-detector/7678/1 "2022-04-17T02:20:15Z")

</div>

Dear all.

Please I need understanding on how to construct the following. I tried to loop but all the inserts fell into a single space.

Kind regards

 ![Screenshot_20220417-031633](https://geant4-forum.web.cern.ch/uploads/default/original/2X/4/426480f5464e41e2c0cbe4a347c741dc0c3df5f5.png)

---

<div class="post-metadata">

**Author:** ![loydms](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/loydms/32/4385_2.png) [@loydms](https://geant4-forum.web.cern.ch/u/loydms)\
**Post date:** [April 21, 2022, 3:08pm UTC](https://geant4-forum.web.cern.ch/t/multidimension-array-detector/7678/2 "2022-04-21T15:08:30Z")

</div>

[https://geant4-userdoc.web.cern.ch/UsersGuides/ForApplicationDeveloper/html/Detector/Geometry/geomPhysical.html#repeated-volumes](https://geant4-userdoc.web.cern.ch/UsersGuides/ForApplicationDeveloper/html/Detector/Geometry/geomPhysical.html#repeated-volumes)

Read the section on parameterized volumes. You should be able to produce the number of cylinders as a single logic volume then create a boolean object with the entire box

---

<div class="post-metadata">

**Author:** ![olowoeyo1](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/o/77aa72/32.png) [@olowoeyo1](https://geant4-forum.web.cern.ch/u/olowoeyo1)\
**Post date:** [April 29, 2022, 4:11pm UTC](https://geant4-forum.web.cern.ch/t/multidimension-array-detector/7678/3 "2022-04-29T16:11:46Z")

</div>

Hi @loydms.

Thank you for your comment. I have only been able to get replica for 3 wells (along 1D) but court not get the whole well matrix.  
I tried to use looping but they wells centered at a single point.

I will keep trying.
