Skip to content

Commit

Permalink
Merge pull request #47 from jmgwalker/offset_fix
Browse files Browse the repository at this point in the history
Fix offset bug.
  • Loading branch information
jmgwalker authored Apr 12, 2019
2 parents e4f4c90 + d683343 commit 2fd7cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WCSimRunAction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ void WCSimRunAction::FillGeoTree(){

if(fSettingsInputTree){
fSettingsInputTree->GetEntry(0);
double z_offset = fNuPlanePos[2]/100.0 + fNuPrismRadius;
double z_offset = fNuPlanePos[2]/100.0;
WCDetCentre[2] += z_offset;
std::cout << "WCDetCentre[2] = " << WCDetCentre[2] << std::endl;
}
Expand Down

0 comments on commit 2fd7cef

Please sign in to comment.