File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
PWGCF/TwoParticleCorrelations/Tasks Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -688,7 +688,7 @@ struct LongRangeDihadronCor {
688688 ampl = 0 .;
689689 if (system == SameEvent)
690690 registry.fill (HIST (" FT0Amp" ), id, ampl);
691- ampl = ampl / cstFT0RelGain[iCh ];
691+ ampl = ampl / cstFT0RelGain[id ];
692692 if (system == SameEvent) {
693693 registry.fill (HIST (" FT0AmpCorrect" ), id, ampl);
694694 histAmpCorrectPerRun[lastRunNumber]->Fill (id, ampl);
@@ -700,7 +700,7 @@ struct LongRangeDihadronCor {
700700 ampl = 0 .;
701701 if (system == SameEvent)
702702 registry.fill (HIST (" FT0Amp" ), id, ampl);
703- ampl = ampl / cstFT0RelGain[iCh ];
703+ ampl = ampl / cstFT0RelGain[id ];
704704 if (system == SameEvent) {
705705 registry.fill (HIST (" FT0AmpCorrect" ), id, ampl);
706706 histAmpCorrectPerRun[lastRunNumber]->Fill (id, ampl);
You can’t perform that action at this time.
0 commit comments