You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constdouble staveSizeY = mOuterRadius - mInnerRadius; // cm
160
-
constdouble staveSizeZ = mZLength; // cm
161
-
constdouble rMargin = 0.2; // cm, a small margin to avoid layer extrusion by sub-volumes
162
-
constdouble deltaForTilt = rMargin + 0.5 * (std::sin(TMath::DegToRad() * mTiltAngle) * staveSizeX + std::cos(TMath::DegToRad() * mTiltAngle) * staveSizeY); // we increase the size of the layer to account for the tilt of the staves
158
+
constdouble staveSizeX = mStaves.second; // cm
159
+
constdouble staveSizeY = mOuterRadius - mInnerRadius; // cm
160
+
constdouble staveSizeZ = mZLength; // cm
161
+
constdouble deltaForTilt = 0.5 * (std::sin(TMath::DegToRad() * mTiltAngle) * staveSizeX + std::cos(TMath::DegToRad() * mTiltAngle) * staveSizeY); // we increase the size of the layer to account for the tilt of the staves
constdouble staveSizeY = mOuterRadius - mInnerRadius; // cm
292
+
constdouble staveSizeZ = mZLength; // cm
293
+
constdouble deltaForTilt = 0.5 * (std::sin(TMath::DegToRad() * mTiltAngle) * staveSizeX + std::cos(TMath::DegToRad() * mTiltAngle) * staveSizeY); // we increase the size of the layer to account for the tilt of the staves
0 commit comments