File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
PWGLF/TableProducer/Strangeness Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -850,7 +850,7 @@ struct strangenesstofpid {
850850 if (doQA) {
851851 // length factor due to eta (to offset e-loss)
852852 float positiveCosine = 1 .0f /sqrt (1 .0f + posTrack.getTgl () * posTrack.getTgl ());
853- float negativeCosine = 1 .0f /sqrt (1 .0f + posTrack .getTgl () * posTrack .getTgl ());
853+ float negativeCosine = 1 .0f /sqrt (1 .0f + negTrack .getTgl () * negTrack .getTgl ());
854854 if (correctELossInclination.value ==false ){
855855 negativeCosine = positiveCosine = 1 .0f ;
856856 }
@@ -1140,7 +1140,7 @@ struct strangenesstofpid {
11401140 if (doQA) {
11411141 // length factor due to eta (to offset e-loss)
11421142 float positiveCosine = 1 .0f /sqrt (1 .0f + posTrack.getTgl () * posTrack.getTgl ());
1143- float negativeCosine = 1 .0f /sqrt (1 .0f + posTrack .getTgl () * posTrack .getTgl ());
1143+ float negativeCosine = 1 .0f /sqrt (1 .0f + negTrack .getTgl () * negTrack .getTgl ());
11441144 float bachelorCosine = 1 .0f /sqrt (1 .0f + bachTrack.getTgl () * bachTrack.getTgl ());
11451145 if (correctELossInclination.value ==false ){
11461146 negativeCosine = positiveCosine = bachelorCosine = 1 .0f ;
You can’t perform that action at this time.
0 commit comments