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
auto period = metadataInfo.get("LPMProductionTag");
900
-
auto anchoredPeriod = metadataInfo.get("AnchorProduction");
901
-
bool checkAnchor = anchoredPeriod.length() > 0;
902
-
903
-
for (SystemType sT = SystemNoSystem; sT < SystemNoOfSystems; ++sT) {
904
-
const std::string& periods = periodsForSysType[static_cast<int>(sT)][0];
905
-
auto contains = [periods](autoconst& period) {
906
-
if (periods.find(period) != std::string::npos) {
907
-
returntrue;
908
-
}
909
-
returnfalse;
910
-
};
911
-
if (periods.length() > 0) {
912
-
if (contains(period) || (checkAnchor && contains(anchoredPeriod))) {
913
-
LOGF(info, "DptDptCorrelations::getSystemType(). Assigned system type %s for period %s", systemExternalNamesMap.at(static_cast<int>(sT)).data(), period.c_str());
914
-
returnsT;
899
+
if (fDataType != kOnTheFly) {
900
+
auto period = metadataInfo.get("LPMProductionTag");
901
+
auto anchoredPeriod = metadataInfo.get("AnchorProduction");
902
+
bool checkAnchor = anchoredPeriod.length() > 0;
903
+
904
+
for (SystemType sT = SystemNoSystem; sT < SystemNoOfSystems; ++sT) {
905
+
const std::string& periods = periodsForSysType[static_cast<int>(sT)][0];
906
+
auto contains = [periods](autoconst& period) {
907
+
if (periods.find(period) != std::string::npos) {
908
+
returntrue;
909
+
}
910
+
returnfalse;
911
+
};
912
+
if (periods.length() > 0) {
913
+
if (contains(period) || (checkAnchor && contains(anchoredPeriod))) {
914
+
LOGF(info, "DptDptCorrelations::getSystemType(). Assigned system type %s for period %s", systemExternalNamesMap.at(static_cast<int>(sT)).data(), period.c_str());
915
+
returnsT;
916
+
}
915
917
}
916
918
}
919
+
LOGF(fatal, "DptDptCorrelations::getSystemType(). No system type for period: %s", period.c_str());
920
+
return SystemPbPb;
921
+
} else {
922
+
return SystemNeNeRun3;
917
923
}
918
-
LOGF(fatal, "DptDptCorrelations::getSystemType(). No system type for period: %s", period.c_str());
919
-
return SystemPbPb;
920
924
}
921
925
922
926
/// \brief Type of data according to the configuration string
0 commit comments