@@ -90,7 +90,9 @@ struct FlowZDCtask {
9090 ConfigurableAxis axisMultTpc{" axisMultTpc" , {1000 , -0 .5f , 1999 .5f }, " TPCmultiplicity" };
9191 ConfigurableAxis axisZN{" axisZN" , {5000 , 0 , 500 }, " axisZN" };
9292 ConfigurableAxis axisZP{" axisZP" , {5000 , 0 , 500 }, " axisZP" };
93- ConfigurableAxis axisFT0CAmp{" axisFT0CAmp" , {60000 , 0 , 60000 }, " axisFT0CAmp" };
93+ ConfigurableAxis axisFT0CAmp{" axisFT0CAmp" , {5000 , 0 , 5000 }, " axisFT0CAmp" };
94+ ConfigurableAxis axisFT0AAmp{" axisFT0AAmp" , {5000 , 0 , 5000 }, " axisFT0AAmp" };
95+ ConfigurableAxis axisFT0MAmp{" axisFT0MAmp" , {10000 , 0 , 10000 }, " axisFT0MAmp" };
9496
9597 Filter collisionFilter = nabs(aod::collision::posZ) < cfgCutVertex;
9698 Filter trackFilter = (nabs(aod::track::eta) < cfgCutEta) && (aod::track::pt > cfgCutPtMin) && (aod::track::pt < cfgCutPtMax) && ((requireGlobalTrackInFilter()) || (aod::track::isGlobalTrackSDD == (uint8_t ) true )) && (aod::track::tpcChi2NCl < cfgCutChi2prTPCcls);
@@ -211,8 +213,8 @@ struct FlowZDCtask {
211213 histos.add (" ZNenergy" , " common zn (a + c sides) energy" , kTH1F , {axisEnergy});
212214 histos.add (" ZPenergy" , " common zp energy (a + c sides)" , kTH1F , {axisEnergy});
213215 histos.add (" hFT0CAmp" , " ;Amplitude;counts" , kTH1F , {axisFT0CAmp});
214- histos.add (" hFT0AAmp" , " ;Amplitude;counts" , kTH1F , {{ 100000 , 0 , 100000 } });
215- histos.add (" hFT0MAmp" , " ;Amplitude;counts" , kTH1F , {{ 100000 , 0 , 100000 } });
216+ histos.add (" hFT0AAmp" , " ;Amplitude;counts" , kTH1F , {axisFT0AAmp });
217+ histos.add (" hFT0MAmp" , " ;Amplitude;counts" , kTH1F , {axisFT0MAmp });
216218 histos.add (" hMultT0A" , " ;Amplitude;counts" , kTH1F , {{nBinsFT0Amp, 0 , 250000 }});
217219 histos.add (" hMultT0C" , " ;Amplitude;counts" , kTH1F , {{nBinsFT0Amp, 0 , 250000 }});
218220 histos.add (" hMultT0M" , " ;Amplitude;counts" , kTH1F , {{nBinsFT0Amp, 0 , 250000 }});
@@ -287,14 +289,14 @@ struct FlowZDCtask {
287289 const auto & foundBC = collision.foundBC_as <BCsRun3>();
288290 if (collision.has_foundFT0 ()) {
289291 auto ft0 = collision.foundFT0 ();
290- for (const auto & amplitude : ft0.amplitudeA ()) {
291- ft0aAmp += amplitude;
292- histos. fill ( HIST ( " hFT0AAmp " ), ft0aAmp) ;
293- }
294- for (const auto & amplitude : ft0.amplitudeC ()) {
295- ft0cAmp += amplitude;
296- histos. fill ( HIST ( " hFT0CAmp " ), ft0cAmp) ;
297- }
292+ for (const auto & amplitude : ft0.amplitudeA ()) {
293+ histos. fill ( HIST ( " hFT0AAmp " ), amplitude) ;
294+ ft0aAmp += amplitude ;
295+ }
296+ for (const auto & amplitude : ft0.amplitudeC ()) {
297+ histos. fill ( HIST ( " hFT0CAmp " ), amplitude) ;
298+ ft0cAmp += amplitude ;
299+ }
298300 }
299301 double ft0mAmp = ft0aAmp + ft0cAmp;
300302 histos.fill (HIST (" hFT0MAmp" ), ft0mAmp);
0 commit comments