21 {
22
24
25 GeoTrf::Transform3D xfTemp = GeoTrf::Translate3D(0.,
dx, zpos);
26 const GeoShape *sCutout;
27
28
29
30
31
32
35 sCutout = &((*cutoutbox) << xfTemp);
36 }
else if (
dead1 == 0.) {
38 sCutout = &((*cutouttrd) << xfTemp);
40
42
43
45 double phi = -90. * Gaudi::Units::degree;
46
47
49
50 GeoTrf::Transform3D xRot = GeoTrf::RotateX3D(-90. * Gaudi::Units::degree) * GeoTrf::RotateY3D(-90. * Gaudi::Units::degree);
51 xfTemp = xfTemp * xRot;
52 sCutout = &((*cutoutpara) << xfTemp);
53 } else {
54 GeoIntrusivePtr<GeoTrap> cutouttrap{
57
58
59 GeoTrf::Transform3D xRot = GeoTrf::RotateX3D(-90. * Gaudi::Units::degree) * GeoTrf::RotateY3D(-90. * Gaudi::Units::degree);
60 xfTemp = xfTemp * xRot;
61 sCutout = &((*cutouttrap) << xfTemp);
62 }
63
64 return sCutout;
65 }
Scalar phi() const
phi method
Scalar theta() const
theta method