How to construct assembly or replices
You can refer to Geant4 Book for Application Developers User Guide
There are discriptions in the chapter4 Geometry/Assembly、Navigator、TouchableHandles.
How to distinguish different detector array components
Using the ‘step’ to retrieve geometrical information
During the tracking run, geometrical information can be retrieved through the touchable handle associated to the current step. For example, to identify the exact copy-number of a specific physical volume in the mass geometry, one should do the following:
1 | // Given the pointer to the step object ... |
Attention
the motherCopyNo start from 2 to motherNoCopy+1, copyNo start from 0 to NoCopy-1;