Skip to content

Commit f18974c

Browse files
Add files via upload
1 parent ea6d304 commit f18974c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGCF/TwoParticleCorrelations/Tasks/longRangeDihadronCor.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)