File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
PWGCF/TwoParticleCorrelations/Tasks Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 5454#include " TRandom3.h"
5555#include < TPDGCode.h>
5656
57+ #include < map>
58+ #include < memory>
5759#include < string>
60+ #include < utility>
5861#include < vector>
5962
6063using namespace o2 ;
@@ -685,7 +688,7 @@ struct LongRangeDihadronCor {
685688 ampl = 0 .;
686689 if (system == SameEvent)
687690 registry.fill (HIST (" FT0Amp" ), id, ampl);
688- ampl = ampl / cstFT0RelGain[iCh ];
691+ ampl = ampl / cstFT0RelGain[id ];
689692 if (system == SameEvent) {
690693 registry.fill (HIST (" FT0AmpCorrect" ), id, ampl);
691694 histAmpCorrectPerRun[lastRunNumber]->Fill (id, ampl);
@@ -697,7 +700,7 @@ struct LongRangeDihadronCor {
697700 ampl = 0 .;
698701 if (system == SameEvent)
699702 registry.fill (HIST (" FT0Amp" ), id, ampl);
700- ampl = ampl / cstFT0RelGain[iCh ];
703+ ampl = ampl / cstFT0RelGain[id ];
701704 if (system == SameEvent) {
702705 registry.fill (HIST (" FT0AmpCorrect" ), id, ampl);
703706 histAmpCorrectPerRun[lastRunNumber]->Fill (id, ampl);
You can’t perform that action at this time.
0 commit comments