Skip to content

Commit 7a72dc5

Browse files
committed
corrected positions of volumes in RB24 after recent Cave updates
1 parent 21d965e commit 7a72dc5

File tree

3 files changed

+66
-66
lines changed

3 files changed

+66
-66
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,21 @@ void Geometry::buildGeometry()
4040

4141
LOG(info) << "Geometry::buildGeometry()::Volume name = FDD";
4242

43-
//Rotations used
44-
//TGeoRotation* Rx90m = new TGeoRotation("Rx90m", 0., -90., 0.);
45-
//TGeoRotation* Rx90 = new TGeoRotation("Rx90", 0., 90., 0.);
43+
// Rotations used
44+
// TGeoRotation* Rx90m = new TGeoRotation("Rx90m", 0., -90., 0.);
45+
// TGeoRotation* Rx90 = new TGeoRotation("Rx90", 0., 90., 0.);
4646
TGeoRotation* Rx180 = new TGeoRotation("Rx180", 0., 180., 0.); // 4 | 1
4747
TGeoRotation* Rz180 = new TGeoRotation("Rz180", 180., 0., 0.); // ---------------> x
4848
TGeoRotation* Ry180 = new TGeoRotation("Ry180", 180., 180., 0.); // 3 | 2
49-
//TGeoRotation* Ry90m = new TGeoRotation("Ry90m", 90., -90., -90.);
50-
//TGeoRotation* Ry90 = new TGeoRotation("Ry90", 90., 90., -90.);
51-
//TGeoRotation* Rz90 = new TGeoRotation("Rz90", 90., 0., 0.);
49+
// TGeoRotation* Ry90m = new TGeoRotation("Ry90m", 90., -90., -90.);
50+
// TGeoRotation* Ry90 = new TGeoRotation("Ry90", 90., 90., -90.);
51+
// TGeoRotation* Rz90 = new TGeoRotation("Rz90", 90., 0., 0.);
5252

5353
const Double_t kZbegFrontBar = 1949.1; // Begining of Front Bar
5454

55-
//Medium for FDA
55+
// Medium for FDA
5656
TGeoMedium* medFDASci = gGeoManager->GetMedium("FDD_BC420");
57-
//Medium for FDC
57+
// Medium for FDC
5858
TGeoMedium* medFDCSci = gGeoManager->GetMedium("FDD_BC420");
5959

6060
// FDA Scintillator Pad
@@ -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()

0 commit comments

Comments
 (0)