Skip to content

Commit efa727a

Browse files
fairlyonsolantwin
authored andcommitted
Vessel: Update upstream lid dimensions
1 parent 0650a9e commit efa727a

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

veto/veto.cxx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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:

veto/veto.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,11 @@ class veto: public FairDetector
148148
Float_t zFocusX,zFocusY; // focus points for conical design
149149
Float_t floorHeightA,floorHeightB; // height of floor
150150

151+
Float_t VetoStartInnerX;
152+
Float_t VetoStartInnerY;
153+
Float_t VetoEndInnerX;
154+
Float_t VetoEndInnerY;
155+
151156
Int_t fUseSupport;
152157
Int_t fPlasticVeto;
153158
Int_t fLiquidVeto;

0 commit comments

Comments
 (0)