You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LOGF(info, "Getting new histograms with %d run number for %d run number", mRunNumber, bc.runNumber());
869
+
auto getccdb = [callst, bc](structCalibrationInfo& estimator, const Configurable<std::string> generatorName) { // TODO: to consider the name inside the estimator structure
LOGF(info, "Parameter index %i value %.5f", ixpar, estimator.mMCScalePars[ixpar]);
879
+
}
880
+
} else {
881
+
LOGF(warning, "MC Scale information from %s for run %d not available", estimator.name.c_str(), bc.runNumber());
882
+
}
883
+
}
884
+
estimator.mCalibrationStored = true;
885
+
estimator.isSane();
886
+
} else {
887
+
LOGF(info, "Calibration information from %s for run %d not available, will fill this estimator with invalid values and continue (no crash).", estimator.name.c_str(), bc.runNumber());
888
+
}
889
+
};
890
+
891
+
for (autoconst& table : mEnabledCentralityTables) {
892
+
switch (table) {
893
+
case centrality::kFV0As:
894
+
getccdb(fv0aInfo, ccdbConfig.genName);
895
+
break;
896
+
case centrality::kFT0Ms:
897
+
getccdb(ft0mInfo, ccdbConfig.genName);
898
+
break;
899
+
case centrality::kFT0As:
900
+
getccdb(ft0aInfo, ccdbConfig.genName);
901
+
break;
902
+
case centrality::kFT0Cs:
903
+
getccdb(ft0cInfo, ccdbConfig.genName);
904
+
break;
905
+
case centrality::kFT0CVariant1s:
906
+
getccdb(ft0cVariant1Info, ccdbConfig.genName);
907
+
break;
908
+
case centrality::kFDDMs:
909
+
getccdb(fddmInfo, ccdbConfig.genName);
910
+
break;
911
+
case centrality::kNTPVs:
912
+
getccdb(ntpvInfo, ccdbConfig.genName);
913
+
break;
914
+
case centrality::kNGlobals:
915
+
getccdb(nGlobalInfo, ccdbConfig.genName);
916
+
break;
917
+
case centrality::kMFTs:
918
+
getccdb(mftInfo, ccdbConfig.genName);
919
+
break;
920
+
default:
921
+
LOGF(fatal, "Table %d not supported in Run3", table);
922
+
break;
923
+
}
924
+
}
925
+
} else {
926
+
if (!ccdbConfig.doNotCrashOnNull) { // default behaviour: crash
927
+
LOGF(fatal, "Centrality calibration is not available in CCDB for run=%d at timestamp=%llu", bc.runNumber(), bc.timestamp());
928
+
} else { // only if asked: continue filling with non-valid values (105)
929
+
LOGF(info, "Centrality calibration is not available in CCDB for run=%d at timestamp=%llu, will fill tables with dummy values", bc.runNumber(), bc.timestamp());
930
+
}
931
+
}
932
+
}
933
+
934
+
/**
935
+
* @brief Populates a table with data based on the given calibration information and multiplicity.
936
+
*
937
+
* @param table The table to populate.
938
+
* @param estimator The calibration information.
939
+
* @param multiplicity The multiplicity value.
940
+
*/
941
+
942
+
auto populateTable = [&](auto& table, structCalibrationInfo& estimator, float multiplicity) {
0 commit comments