Skip to content

Commit eaeee05

Browse files
amorschsawenzel
authored andcommitted
corrected positions of volumes in RB24 after recent Cave updates
1 parent d2bee7d commit eaeee05

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Detectors/FIT/FDD/base/src/Geometry.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ void Geometry::buildGeometry()
152152
if (!vCaveRB24) {
153153
LOG(fatal) << "Could not find the top volume for A-side";
154154
}
155-
const Float_t kPosFDA = 1696.67 - 1313.347; // z-center of assembly (cm)
155+
const Float_t kPosFDA = 1696.67 - 1313.347 - 75.; // z-center of assembly (cm)
156156
vCaveRB24->AddNode(vFDAarray, 1, new TGeoTranslation(0., 0., kPosFDA - kFDACelldz / 2. - 0.1));
157157
vCaveRB24->AddNode(vFDAarray, 2, new TGeoTranslation(0., 0., kPosFDA + kFDACelldz / 2. + 0.1));
158158

Detectors/Passive/src/Compensator.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ void Compensator::ConstructGeometry()
110110
void Compensator::createCompensator()
111111
{
112112
auto top = gGeoManager->GetVolume("caveRB24");
113-
top->AddNode(createMagnetYoke(), 1, new TGeoTranslation(0., 0., 1075. - 1313.347));
113+
top->AddNode(createMagnetYoke(), 1, new TGeoTranslation(0., 0., 1000. - 1313.347));
114114
}
115115

116116
TGeoVolume* Compensator::createMagnetYoke()

Detectors/ZDC/simulation/src/Detector.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2355,7 +2355,7 @@ void Detector::createDetectors()
23552355

23562356
// --- Positioning the ZEM into the ZDC - rotation for 90 degrees
23572357
// NB -> ZEM is positioned in cave volume
2358-
const float z0 = 1313.3475; // center of caveRB24 mother volume
2358+
const float z0 = 1313.3475 + 75.; // center of caveRB24 mother volume
23592359
TVirtualMC::GetMC()->Gspos("ZEM ", 1, "caveRB24", -Geometry::ZEMPOSITION[0], Geometry::ZEMPOSITION[1], Geometry::ZEMPOSITION[2] + Geometry::ZEMDIMENSION[0] - z0, irotzem1, "ONLY");
23602360

23612361
// Second EM ZDC (same side w.r.t. IP, just on the other side w.r.t. beam pipe)

0 commit comments

Comments
 (0)