@@ -119,8 +119,6 @@ struct flowZdcEnergy {
119119 registry.add (" hEnergyWithCent_ZNA_SumSectors" , " " , {HistType::kTH2D , {axisEnergy, axisCent}});
120120 registry.add (" hEnergyWithCent_ZNC_SumSectors" , " " , {HistType::kTH2D , {axisEnergy, axisCent}});
121121 registry.add (" hEnergyWithCent_RescaledSumDiff" , " " , {HistType::kTH2D , {axisRescaledDiff, axisCent}});
122-
123-
124122 }
125123
126124 void process (ZDCCollisions::iterator const & collision, BCsRun3 const & /* bcs*/ , aod::Zdcs const & /* zdcs*/ )
@@ -143,7 +141,7 @@ struct flowZdcEnergy {
143141 double SumEnergyZNC = zdcCol.energySectorZNC ()[0 ] + zdcCol.energySectorZNC ()[1 ] + zdcCol.energySectorZNC ()[2 ] + zdcCol.energySectorZNC ()[3 ];
144142 double commonDen = zdcCol.energyCommonZNA () + zdcCol.energyCommonZNC ();
145143 double sumDen = SumEnergyZNA + SumEnergyZNC;
146-
144+
147145 if (commonDen > 1e-3 ) {
148146 registry.fill (HIST (" hEnergyWithCent_RescaledDiff" ),
149147 (zdcCol.energyCommonZNA () - zdcCol.energyCommonZNC ()) / commonDen,
@@ -166,8 +164,6 @@ struct flowZdcEnergy {
166164 registry.fill (HIST (" hEnergyWithCent_ZNC_4" ), zdcCol.energySectorZNC ()[3 ], centrality);
167165 registry.fill (HIST (" hEnergyWithCent_ZNA_SumSectors" ), SumEnergyZNA, centrality);
168166 registry.fill (HIST (" hEnergyWithCent_ZNC_SumSectors" ), SumEnergyZNC, centrality);
169-
170-
171167 }
172168};
173169
0 commit comments