File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1580,12 +1580,14 @@ struct JetChargedV2 {
15801580 } else {
15811581 integralValue += fFitModulationV2v3 ->Integral (low, high);
15821582 }
1583- if (integralValue < 0 ) {
1584- integralValue = 0 ;
1585- }
15861583
1587- // double integralValue = fFitModulationV2v3->Integral(phi - selectedJetsRadius, phi + selectedJetsRadius);
1588- double rholocal = collision.rho () / (2 * selectedJetsRadius * temppara[0 ]) * integralValue;
1584+ double rholocal = 0.0 ;
1585+ if (integralValue <= 0 ) {
1586+ rholocal = collision.rho ();
1587+ } else {
1588+ // integralValue = fFitModulationV2v3->Integral(phi - selectedJetsRadius, phi + selectedJetsRadius);
1589+ rholocal = collision.rho () / (2 * selectedJetsRadius * temppara[0 ]) * integralValue;
1590+ }
15891591
15901592 if (nmode == cfgNmodA) {
15911593 double phiMinusPsi2;
You can’t perform that action at this time.
0 commit comments