File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,6 @@ struct DeDxCorrection {
127127 occupancy = 0 ;
128128 }
129129
130- float signedP = trk.sign () * trk.tpcInnerParam ();
131130 float fTPCSignal = trk.tpcSignal ();
132131 float fNormMultTPC = multTPC / 11000 .;
133132
Original file line number Diff line number Diff line change @@ -94,8 +94,8 @@ typedef struct Str_dEdx_correction {
9494 for (int i = 0 ; i < fMatrix .GetNrows (); i++) {
9595 for (int j = 0 ; j < fMatrix .GetNcols (); j++) {
9696 double param = fMatrix (i, j);
97- double value1 = i > vec1.size () ? 0 : vec1[i];
98- double value2 = j > vec2.size () ? 0 : vec2[j];
97+ double value1 = i > static_cast < int >( vec1.size () ) ? 0 : vec1[i];
98+ double value2 = j > static_cast < int >( vec2.size () ) ? 0 : vec2[j];
9999 result += param * value1 * value2;
100100 }
101101 }
You can’t perform that action at this time.
0 commit comments