Skip to content

Commit

Permalink
Merge pull request #1098 from JeffersonLab/DircExtrapolationFix
Browse files Browse the repository at this point in the history
put in check that DIRC geometry exists, and if it doesn't, put in a v…
  • Loading branch information
jrstevenjlab authored Apr 5, 2018
2 parents b53fd5d + 2c2d03c commit 14f5037
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/libraries/TRACKING/DTrackFitter.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ class DTrackFitter:public jana::JObject{
extrapolations[SYS_FDC].clear();
extrapolations[SYS_CDC].clear();
extrapolations[SYS_START].clear();
extrapolations[SYS_DIRC].clear();
};

// Fit parameter accessor methods
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/TRACKING/DTrackFitterKalmanSIMD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ DTrackFitterKalmanSIMD::DTrackFitterKalmanSIMD(JEventLoop *loop):DTrackFitter(lo

// Outer detector geometry parameters
geom->GetFCALZ(dFCALz);
geom->GetDIRCZ(dDIRCz);
if (geom->GetDIRCZ(dDIRCz)==false) dDIRCz=1000.;
vector<double>tof_face;
geom->Get("//section/composition/posXYZ[@volume='ForwardTOF']/@X_Y_Z",
tof_face);
Expand Down

0 comments on commit 14f5037

Please sign in to comment.