@@ -789,17 +789,17 @@ struct NetchargeFluctuations {
789789 if (track.sign () == 1 ) {
790790 histogramRegistry.fill (HIST (" eff/hPt_np" ), track.pt ());
791791 histogramRegistry.fill (HIST (" eff/hPt_hEta_np" ), track.pt (), track.eta ());
792- if (cent >= centMin && cent < centMax) {
793- histogramRegistry.fill (HIST (" eff/cent/hPt_np" ), track.pt ());
794- histogramRegistry.fill (HIST (" eff/cent/hPt_hEta_np" ), track.pt (), track.eta ());
795- }
792+ if (cent >= centMin && cent < centMax) {
793+ histogramRegistry.fill (HIST (" eff/cent/hPt_np" ), track.pt ());
794+ histogramRegistry.fill (HIST (" eff/cent/hPt_hEta_np" ), track.pt (), track.eta ());
795+ }
796796 } else if (track.sign () == -1 ) {
797797 histogramRegistry.fill (HIST (" eff/hPt_nm" ), track.pt ());
798798 histogramRegistry.fill (HIST (" eff/hPt_hEta_nm" ), track.pt (), track.eta ());
799- if (cent >= centMin && cent < centMax) {
800- histogramRegistry.fill (HIST (" eff/cent/hPt_nm" ), track.pt ());
801- histogramRegistry.fill (HIST (" eff/cent/hPt_hEta_nm" ), track.pt (), track.eta ());
802- }
799+ if (cent >= centMin && cent < centMax) {
800+ histogramRegistry.fill (HIST (" eff/cent/hPt_nm" ), track.pt ());
801+ histogramRegistry.fill (HIST (" eff/cent/hPt_hEta_nm" ), track.pt (), track.eta ());
802+ }
803803 }
804804
805805 histogramRegistry.fill (HIST (" QA/cent_hEta" ), cent, track.eta ());
@@ -878,18 +878,19 @@ struct NetchargeFluctuations {
878878 if (sign == 1 ) {
879879 histogramRegistry.fill (HIST (" eff/hPt_np_gen" ), mcpart.pt ());
880880 histogramRegistry.fill (HIST (" eff/hPt_hEta_np_gen" ), mcpart.pt (), mcpart.eta ());
881- if (cent >= centMin && cent < centMax) {
882- histogramRegistry.fill (HIST (" eff/cent/hPt_np_gen" ), mcpart.pt ());
883- histogramRegistry.fill (HIST (" eff/cent/hPt_hEta_np_gen" ), mcpart.pt (), mcpart.eta ());
884- }
881+ if (cent >= centMin && cent < centMax) {
882+ histogramRegistry.fill (HIST (" eff/cent/hPt_np_gen" ), mcpart.pt ());
883+ histogramRegistry.fill (HIST (" eff/cent/hPt_hEta_np_gen" ), mcpart.pt (), mcpart.eta ());
884+ }
885885
886886 } else if (sign == -1 ) {
887887 histogramRegistry.fill (HIST (" eff/hPt_nm_gen" ), mcpart.pt ());
888888 histogramRegistry.fill (HIST (" eff/hPt_hEta_nm_gen" ), mcpart.pt (), mcpart.eta ());
889- if (cent >= centMin && cent < centMax) {
890- histogramRegistry.fill (HIST (" eff/cent/hPt_nm_gen" ), mcpart.pt ());
891- histogramRegistry.fill (HIST (" eff/cent/hPt_hEta_nm_gen" ), mcpart.pt (), mcpart.eta ());
892- }
889+ if (cent >= centMin && cent < centMax) {
890+ histogramRegistry.fill (HIST (" eff/cent/hPt_nm_gen" ), mcpart.pt ());
891+ histogramRegistry.fill (HIST (" eff/cent/hPt_hEta_nm_gen" ), mcpart.pt (), mcpart.eta ());
892+ }
893+
893894 }
894895 histogramRegistry.fill (HIST (" gen/hPt" ), mcpart.pt ());
895896 histogramRegistry.fill (HIST (" gen/cent_hPt" ), cent, mcpart.pt ());
0 commit comments