Skip to content
Snippets Groups Projects
Commit 818d4b5f authored by Jihee Kim's avatar Jihee Kim
Browse files

Fixed typo

parent e40f7b89
No related branches found
No related tags found
1 merge request!36Resolve "Implement cb_VTX"
Pipeline #8206 failed
......@@ -147,7 +147,7 @@ static Ref_t createDetector(Detector& desc, xml_h e, SensitiveDetector sens)
NUMF = 18;
fVTX_END_EDY = 14.0 * cm;
Fdeltaphi = 20.0 * deg;
Ftheta = -44.0 * deg;
Ftheta = -45.0 * deg;
RxF[lay] = 1.0 * cm;
RyF[lay] = RxF[lay];
RzF[lay] = -Rzshift + 1.0 * cm;
......@@ -174,8 +174,8 @@ static Ref_t createDetector(Detector& desc, xml_h e, SensitiveDetector sens)
Volume ladderENDEVol(logicladderENDEName,Trap(fVTX_END_EDZ,fVTX_END_EDY + lay * 2.0, fVTX_END_EDX1, fVTX_END_EDX2), slice_mat);
for (int ia = 0; ia < NUMF; ia++) {
phi = ia * Fdeltaphi;
x = -RxF[lay] * cos(phi) * cm;
y = -RyF[lay] * sin(phi) * cm;
x = -RxF[lay] * cos(phi);
y = -RyF[lay] * sin(phi);
z = RzF[lay];
RotationZYX ladder_ENDE_rot = RotationZYX(-90.0 + (Fdeltaphi * (ia + 1)), 0.0, Ftheta);
......@@ -191,8 +191,8 @@ static Ref_t createDetector(Detector& desc, xml_h e, SensitiveDetector sens)
Volume ladderENDHVol(logicladderENDHName,Trap(fVTX_END_EDZ, fVTX_END_EDY, fVTX_END_EDX1, fVTX_END_EDX2), slice_mat);
for (int ia = 0; ia < NUMF; ia++) {
phi = ia * Fdeltaphi;
x = -RxF2[lay] * cos(phi) * cm;
y = -RyF2[lay] * sin(phi) * cm;
x = -RxF2[lay] * cos(phi);
y = -RyF2[lay] * sin(phi);
z = RzF2[lay];
RotationZYX ladder_ENDH_rot = RotationZYX(-90.0 + (Fdeltaphi * (ia + 1)), 0.0, -Ftheta);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment