@@ -93,7 +93,11 @@ veto::veto(const char* name, Bool_t active)
9393 supportMedIn_name(" steel" ), // for vacuum option
9494 supportMedOut_name(" Aluminum" ), // for vacuum option
9595 f_RibThickness(1.5 * cm),
96- decayVolumeMed_name(" vacuums" ) // for vacuum option
96+ decayVolumeMed_name(" vacuums" ), // for vacuum option
97+ VetoStartInnerX(920 . * mm),
98+ VetoStartInnerY(2620 . * mm),
99+ VetoEndInnerX(4120 . * mm),
100+ VetoEndInnerY(6120 . * mm)
97101{
98102 fUseSupport =1 ;
99103 fPlasticVeto =0 ;
@@ -1126,7 +1130,9 @@ void veto::ConstructGeometry()
11261130 Double_t dy = slopey*(zpos - zFocusY);
11271131 // make the entrance window
11281132 // entrance lid
1129- TGeoVolume* T1Lid = MakeLidSegments (1 ,dx1,dy);
1133+ double wallThick = 20 * mm; // wall thickness
1134+ TGeoVolume* T1Lid = MakeLidSegments (1 , VetoStartInnerX / 2 . + wallThick, VetoStartInnerY / 2 . + wallThick);
1135+
11301136 tDecayVol->AddNode (T1Lid, 1 , new TGeoTranslation (0 , 0 , zpos - zStartDecayVol+f_LidThickness/2.1 ));
11311137
11321138 // without segment1, recalculate the z and (half)length of segment 2:
0 commit comments