PVreplicate name

Hi all,

I generate a 2D array by G4PVPrelica.
I use a G4PVPrelica to generate an array in x-direction.
The logicalvolume is “pixelColsLV” and the name is “PixelCols” .

Then I use G4PVPrelica (logicalcolume=pixelColsLV) to generate an array in z-direction.
The logicalvolume is “PixelarrayLV” and the name is “Pixelarray”.

Then I obtain a 2D array.
I set the “Pixelarray “as the SensitiveDetector. Then I only get the z-direction data.
E.g.:
G4ThreeVector* posDetector =physVol->GetTranslation();
postDetector.x() = 0
postDetector.y() = 0
postDetector.z() = 0.5

How could I obtain the 2D data?