Skip to content

Commit

Permalink
Vessel: Update upstream lid dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
fairlyons authored and olantwin committed Jun 26, 2023
1 parent 0650a9e commit efa727a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 8 additions & 2 deletions veto/veto.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ veto::veto(const char* name, Bool_t active)
supportMedIn_name("steel"), // for vacuum option
supportMedOut_name("Aluminum"), // for vacuum option
f_RibThickness(1.5 * cm),
decayVolumeMed_name("vacuums") // for vacuum option
decayVolumeMed_name("vacuums"), // for vacuum option
VetoStartInnerX(920. * mm),
VetoStartInnerY(2620. * mm),
VetoEndInnerX(4120. * mm),
VetoEndInnerY(6120. * mm)
{
fUseSupport=1;
fPlasticVeto=0;
Expand Down Expand Up @@ -1126,7 +1130,9 @@ void veto::ConstructGeometry()
Double_t dy = slopey*(zpos - zFocusY);
// make the entrance window
//entrance lid
TGeoVolume* T1Lid = MakeLidSegments(1,dx1,dy);
double wallThick = 20 * mm; // wall thickness
TGeoVolume* T1Lid = MakeLidSegments(1, VetoStartInnerX / 2. + wallThick, VetoStartInnerY / 2. + wallThick);

tDecayVol->AddNode(T1Lid, 1, new TGeoTranslation(0, 0, zpos - zStartDecayVol+f_LidThickness/2.1));

//without segment1, recalculate the z and (half)length of segment 2:
Expand Down
5 changes: 5 additions & 0 deletions veto/veto.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ class veto: public FairDetector
Float_t zFocusX,zFocusY; // focus points for conical design
Float_t floorHeightA,floorHeightB; // height of floor

Float_t VetoStartInnerX;
Float_t VetoStartInnerY;
Float_t VetoEndInnerX;
Float_t VetoEndInnerY;

Int_t fUseSupport;
Int_t fPlasticVeto;
Int_t fLiquidVeto;
Expand Down

0 comments on commit efa727a

Please sign in to comment.