I am quite new to ROOT. I want to add a tilt of 0.2 degrees about the y axis for a composite shape that acts as a mirror. The composite shape is of a TGeoSphere and TGeoBBox. Can I do this through TGeoRotation? If so, how would I do this since TGeoRotation is about Z, X and Z? Or is there any way I can use TGeoTranslation to perform the tilt?
TGeoRotation *rot1 = new TGeoRotation(); // in your case a dangling pointer
rot1->RotateX(0.2);
...
TGeoCombiTrans *combi = nullptr; // make sure it stays null if you don't catch the case
...