Skip to content

Commit

Permalink
Update StRoot/StETofHitMaker/StETofHitMaker.cxx
Browse files Browse the repository at this point in the history
Co-authored-by: Gene Van Buren <[email protected]>
  • Loading branch information
YannickSoehngen and genevb authored Nov 27, 2024
1 parent 8740219 commit 1b66851
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions StRoot/StETofHitMaker/StETofHitMaker.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1346,10 +1346,13 @@ StETofHitMaker::matchSides()

if(!mETofCalibMaker->calState()){
if(mETofCalibMaker->GetState(keyGet4) != 0 || mETofCalibMaker->GetState(keyGet4_comp) != 0){
if(def == 1 ) def = 3;
if(def == 2 ) def = 4;
if(def == 3 ) def = 1;
if(def == 4 ) def = 2;
switch (def) {
case 1 : def = 3; break;
case 2 : def = 4; break;
case 3 : def = 1; break;
case 4 : def = 2; break;
default : LOG_ERROR << "Unknown default state" << endm;
}
}
}

Expand Down

0 comments on commit 1b66851

Please sign in to comment.