@@ -802,8 +802,8 @@ struct multiplicityPercentile {
802802 } break ;
803803 }
804804 }
805-
806- if (mEnabledCentralityTables .size () == 0 ){ // If no centrality table is required skip the rest
805+
806+ if (mEnabledCentralityTables .size () == 0 ) { // If no centrality table is required skip the rest
807807 continue ;
808808 }
809809
@@ -825,12 +825,13 @@ struct multiplicityPercentile {
825825 std::map<std::string, std::string> metadata;
826826 if (ccdbConfig.reconstructionPass .value == " " ) {
827827 LOG (info) << " No pass required" ;
828- } else { if (ccdbConfig.reconstructionPass .value == " metadata" ) {
829- LOGF (info, " Loading CCDB for reconstruction pass (from metadata): %s" , metadataInfo.get (" RecoPassName" ));
830- ccdbConfig.reconstructionPass .value = metadataInfo.get (" RecoPassName" );
828+ } else {
829+ if (ccdbConfig.reconstructionPass .value == " metadata" ) {
830+ LOGF (info, " Loading CCDB for reconstruction pass (from metadata): %s" , metadataInfo.get (" RecoPassName" ));
831+ ccdbConfig.reconstructionPass .value = metadataInfo.get (" RecoPassName" );
832+ }
833+ metadata[" RecoPassName" ] = ccdbConfig.reconstructionPass .value ;
831834 }
832- metadata[" RecoPassName" ] = ccdbConfig.reconstructionPass .value ;
833- }
834835 calibrationList = ccdb->getSpecificForRun <TList>(ccdbConfig.ccdbPath , bc.runNumber (), metadata);
835836 }
836837
@@ -912,9 +913,9 @@ struct multiplicityPercentile {
912913 * @param multiplicity The multiplicity value.
913914 */
914915
915- auto populateCentralityTable = [&](auto & table,
916- struct CentralityCalibration & estimator,
917- float multiplicity) {
916+ auto populateCentralityTable = [&](auto & table,
917+ struct CentralityCalibration & estimator,
918+ float multiplicity) {
918919 const bool assignOutOfRange = embedINELgtZEROselection && !collision.isInelGt0 ();
919920 auto scaleMC = [](float x, float pars[6 ]) {
920921 return std::pow (((pars[0 ] + pars[1 ] * std::pow (x, pars[2 ])) - pars[3 ]) / pars[4 ], 1 .0f / pars[5 ]);
@@ -973,4 +974,3 @@ struct multiplicityPercentile {
973974 }
974975 }
975976}
976-
0 commit comments