45 LOG(info) <<
"Field in CAVE: " << isxfld;
48 Float_t aAir[4] = {12.0107, 14.0067, 15.9994, 39.948};
49 Float_t zAir[4] = {6., 7., 8., 18.};
50 Float_t wAir[4] = {0.000124, 0.755267, 0.231781, 0.012827};
51 Float_t dAir = 1.20479E-3 * 960. / 1014.;
54 matmgr.Mixture(
"CAVE", 2,
"Air", aAir, zAir, dAir, 4, wAir);
55 matmgr.Mixture(
"CAVE", 3,
"Air_NF", aAir, zAir, dAir, 4, wAir);
57 matmgr.Medium(
"CAVE", 2,
"Air", 2, 0, isxfld, sxmgmx, 10, -1, -0.1, 0.1, -10);
58 matmgr.Medium(
"CAVE", 3,
"Air_NF", 3, 0, 0, sxmgmx, 10, -1, -0.1, 0.1, -10);
65 auto kMedAir = gGeoManager->GetMedium(
"CAVE_Air");
70 LOG(info) <<
"Setting up CAVE to host ZDC";
76 LOG(info) <<
"Setting up CAVE without ZDC";
81 auto cavevol = gGeoManager->MakeBox(
"cave", kMedAir, dALIC[0], dALIC[1], dALIC[2]);
82 gGeoManager->SetTopVolume(cavevol);
84 TGeoPgon* shCaveTR1 =
new TGeoPgon(
"shCaveTR1", 22.5, 360., 8., 2);
85 shCaveTR1->DefineSection(0, -706. - 8.6, 0., 790.5);
86 shCaveTR1->DefineSection(1, 707. + 7.6, 0., 790.5);
87 TGeoTube* shCaveTR2 =
new TGeoTube(
"shCaveTR2", 0., 150., 110.);
89 TGeoTranslation* transCaveTR2 =
new TGeoTranslation(
"transTR2", 0, 30., -505. - 110.);
90 transCaveTR2->RegisterYourself();
91 TGeoCompositeShape* shCaveTR =
new TGeoCompositeShape(
"shCaveTR",
"shCaveTR1-shCaveTR2:transTR2");
92 TGeoVolume* voBarrel =
new TGeoVolume(
"barrel", shCaveTR, kMedAir);
93 cavevol->AddNode(voBarrel, 1,
new TGeoTranslation(0., -30., 0.));
96 const Float_t kRB24CL = 2. * 597.9;
97 auto shCaveRB24 =
new TGeoPcon(0., 360., 6);
98 Float_t z0 = kRB24CL / 2 + 714.6;
99 shCaveRB24->DefineSection(0, -kRB24CL / 2., 0., 105.);
100 shCaveRB24->DefineSection(1, -z0 + 1705., 0., 105.);
101 shCaveRB24->DefineSection(2, -z0 + 1705., 0., 14.5);
102 shCaveRB24->DefineSection(3, -z0 + 1880., 0., 14.5);
103 shCaveRB24->DefineSection(4, -z0 + 1880., 0., 40.0);
104 shCaveRB24->DefineSection(5, kRB24CL / 2, 0., 40.0);
106 TGeoVolume* caveRB24 =
new TGeoVolume(
"caveRB24", shCaveRB24, kMedAir);
107 caveRB24->SetVisibility(0);
108 cavevol->AddNode(caveRB24, 1,
new TGeoTranslation(0., 0., z0));
110 LOGP(info,
"Setting up CAVE without RB24");