File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
PWGCF/TwoParticleCorrelations/Tasks Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -691,7 +691,8 @@ struct LongRangeDihadronCor {
691691 ampl = ampl / cstFT0RelGain[id];
692692 if (system == SameEvent) {
693693 registry.fill (HIST (" FT0AmpCorrect" ), id, ampl);
694- histAmpCorrectPerRun[lastRunNumber]->Fill (id, ampl);
694+ if (cfgFwdConfig.cfgRunbyRunAmplitudeFT0 )
695+ histAmpCorrectPerRun[lastRunNumber]->Fill (id, ampl);
695696 }
696697 } else if (fitType == kFT0A ) {
697698 id = ft0.channelA ()[iCh];
@@ -703,7 +704,8 @@ struct LongRangeDihadronCor {
703704 ampl = ampl / cstFT0RelGain[id];
704705 if (system == SameEvent) {
705706 registry.fill (HIST (" FT0AmpCorrect" ), id, ampl);
706- histAmpCorrectPerRun[lastRunNumber]->Fill (id, ampl);
707+ if (cfgFwdConfig.cfgRunbyRunAmplitudeFT0 )
708+ histAmpCorrectPerRun[lastRunNumber]->Fill (id, ampl);
707709 }
708710 } else {
709711 LOGF (fatal, " Cor Index %d out of range" , fitType);
You can’t perform that action at this time.
0 commit comments