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
Copy file name to clipboardExpand all lines: PWGLF/TableProducer/Strangeness/strangenessbuilder.cxx
+73-1Lines changed: 73 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -301,6 +301,9 @@ struct StrangenessBuilder {
301
301
302
302
Configurable<int> mc_findableMode{"mc_findableMode", 0, "0: disabled; 1: add findable-but-not-found to existing V0s from AO2D; 2: reset V0s and generate only findable-but-not-found"};
303
303
304
+
// Autoconfigure process functions
305
+
Configurable<bool> autoConfigureProcess{"autoConfigureProcess", false, "if true, will configure process function switches based on metadata"};
if ((!hasRunInfo || !hasDataTypeInfo) && autoConfigureProcessConfig) {
2707
+
throwstd::runtime_error("Autoconfigure requested but no metadata information found! Please check if --aod-file <file> was used in the last workflow added in the execution and if the AO2D in question has metadata saved in it.");
2708
+
}
2709
+
2710
+
// positions of switches are known. Next: flip if asked for
0 commit comments