Placing a detector with 6 degrees of freedom

An object of G4Transform3D class can be built as sequence of simple rotations and translations. Please see the topic

that contains a relevant example.