Skip to content

Commit

Permalink
Remove unnecessary hack for the testbeam setup
Browse files Browse the repository at this point in the history
Only possible since the code is reading the geofile parameters.
  • Loading branch information
siilieva authored and siilieva committed Mar 18, 2024
1 parent 519cae6 commit 80dd643
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions shipLHC/MuFilter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -323,12 +323,7 @@ void MuFilter::ConstructGeometry()
Double_t dz = 0;
//Upstream Detector planes definition
Double_t fUpstreamDetZ = conf_floats["MuFilter/UpstreamDetZ"];

/* For the testbeam 2023, there is no Veto detector. However, to have the correct mapping of US and DS bars,
one needs to have the standatd NvetoPlanes=2
It is safe to go back to 2 'fictional' Veto planes now, after the Veto construction part. */
if (fNVetoPlanes != 2) fNVetoPlanes = 2;


// local position of bottom horizontal bar to survey edge
TVector3 LocBarUS = TVector3(
-conf_floats["MuFilter/DSHLocX"],
Expand Down

0 comments on commit 80dd643

Please sign in to comment.