[Moller_pion_bg] [EXTERNAL] Using hit.det and hit.id for detector copy numbers
Wouter Deconinck
wouter.deconinck at umanitoba.ca
Wed Mar 8 19:28:51 EST 2023
Hi everyone,
In remoll we often place identical detectors multiple times. We want to be
able to refer to this in a scalable way. Remoll was developed with this in
mind: we store the detector number in hit.det, and we store the copy of
that detector in hit.id. So, the first pion detector PMT would have hit.det
== 8000 and hit.id == 0, and so on through hit.id == 27 for the last pion
detector PMT.
Not all sensitive volumes (such as the PMT) are direct copies, though. In
the case of theepion detector we don't copy the PMT itself 28 times.
Instead, we copy the pion detector assembly 28 times. So, the copying
happens a certain number of levels up from the actual sensitive volume. In
this case we have to specify how many levels up we need to look for the
copy number. In the case of the pion detector PMT that is 4 (where 0 would
be if the PMT volume itself is copied).
The relevant PR to fix this behavior is at
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_remoll_pull_585&d=DwIFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=RGbHxpmdLzMkGaoGWP7cF25UhhAARxwPz_29XLSZfi4&m=GSPJIGBuX4sLAz_awolZpD0nBWFySyCKdBFhJipUT_rrRBQ3F85sSHBaIqMy6Kgh&s=WfGj66cWyU_KrFQHxDi_nTw8Na8v0e5BCgG2KcQ48_Y&e= . I didn't have the patience
to run a simulation that generated hits in the pion detector, so consider
this untested.
How do you determine the depth below the copying? The macro
macros/runexample.mac prints the geometry structure like this:
logicMother_PV[1] logicMother 2 G4_AIR 943017 kg
donutPionDetectorSector_physical_-1[36] donutPionDetectorSector_logical
1 G4_AIR 534.277 g
donutPionDetector_physical[442] pionDetectorLucite_logical 9 Air
532.119 g
pionDetectorLucitePlane_physical[443]
pionDetectorLucitePlane_logical 0 Lucite 482.549 g [8001]
pionDetectorLucitePlaneGlue_physical[444]
pionDetectorLucitePlaneGlue_logical 0 Glue 1.41935 g
pionDetectorLuciteAirX_physical[445] pionDetectorLuciteAirX_logical
0 Air 0.232757 mg
pionDetectorLuciteAirY_physical[446] pionDetectorLuciteAirY_logical
0 Air 1.04187 mg
pionDetectorLuciteAirZ_physical[447] pionDetectorLuciteAirZ_logical
0 Air 0.383284 mg
pionDetectorLuciteMylarX_physical[448]
pionDetectorLuciteMylarX_logical 0 G4_MYLAR 243.545 mg [8030]
pionDetectorLuciteMylarY_physical[449]
pionDetectorLuciteMylarY_logical 0 G4_MYLAR 1.14098 g [8030]
pionDetectorLuciteMylarZ_physical[450]
pionDetectorLuciteMylarZ_logical 0 G4_MYLAR 391.61 mg [8030]
pionDetectorLucitePMTHousing_physical[451]
pionDetectorLucitePMTHousing_logical 2 G4_Al 46.2735 g
pionDetectorLucitePMTHousingTube_physical[452]
pionDetectorLucitePMTHousingTube_logical 1 G4_Al 16.2638 g
pionDetectorLucitePMTHousingTubeInside_physical[453]
pionDetectorLucitePMTHousingTubeInside_logical 0 G4_Galactic 3.09638e-21 mg
[8020]
pionDetectorLucitePMTWindow_physical[454]
pionDetectorLucitePMTWindow_logical 1 G4_Al 2.73084 g
pionDetectorLucitePMTWindowDisk_physical[455]
pionDetectorLucitePMTWindowDisk_logical 0 CsPhotocathode 2.15026 g [8000]
The indentation indicates the depth between [8000]
and pionDetectorLucite_logical which is copied. But you may need to play
around a bit with different values.
Cheers,
Wouter
--
Wouter Deconinck (he/him) 🕪 <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.name-2Dcoach.com_wouter-2Ddeconinck&d=DwIFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=RGbHxpmdLzMkGaoGWP7cF25UhhAARxwPz_29XLSZfi4&m=GSPJIGBuX4sLAz_awolZpD0nBWFySyCKdBFhJipUT_rrRBQ3F85sSHBaIqMy6Kgh&s=dg8VQkdTu4Z3O3WI74NjMrgOS2SsSe0s42bay4o90GY&e= >
Associate Professor, University of Manitoba
Office: 204 Allen, Phone: (204) 474-6206
Science makerspace consultation? Intake form
<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.sci.umanitoba.ca_physics-2Dastronomy_resources_faculty-2Dof-2Dscience-2Dmaker-2Dspace_maker-2Dspace-2Dfabrication-2Dconsultation-2Drequest_&d=DwIFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=RGbHxpmdLzMkGaoGWP7cF25UhhAARxwPz_29XLSZfi4&m=GSPJIGBuX4sLAz_awolZpD0nBWFySyCKdBFhJipUT_rrRBQ3F85sSHBaIqMy6Kgh&s=ptD3Kss0CiWEeBVxtsAUNXtDaaKOxtV6lCC0IO5d9-c&e= >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/moller_pion_bg/attachments/20230308/41da0570/attachment.html>
More information about the Moller_pion_bg
mailing list