diff --git a/DATA/production/qc-async/tpc.json b/DATA/production/qc-async/tpc.json index af807e718..10351d4ed 100644 --- a/DATA/production/qc-async/tpc.json +++ b/DATA/production/qc-async/tpc.json @@ -84,8 +84,8 @@ "resetAfterCycles": "1", "maxNumberCycles": "-1", "dataSource": { - "type": "direct", - "query" : "inputTracks:TPC/TRACKS/0" + "type": "dataSamplingPolicy", + "name": "tpc-tracks" }, "taskParameters": { "cutAbsEta": "1.", @@ -120,6 +120,20 @@ } ], "blocking": "false" + }, + { + "id": "tpc-tracks", + "active": "true", + "machines": [], + "query" : "inputTracks:TPC/TRACKS/0", + "samplingConditions": [ + { + "condition": "random", + "fraction": "0.1", + "seed": "1234" + } + ], + "blocking": "false" } ] } diff --git a/DATA/production/qc-sync/tpc.json b/DATA/production/qc-sync/tpc.json index c97687b4c..d11c1581a 100644 --- a/DATA/production/qc-sync/tpc.json +++ b/DATA/production/qc-sync/tpc.json @@ -108,8 +108,8 @@ "resetAfterCycles": "10", "maxNumberCycles": "-1", "dataSource": { - "type": "direct", - "query": "inputTracks:TPC/TRACKS/0" + "type": "dataSamplingPolicy", + "name": "tpc-tracks" }, "taskParameters": { "cutAbsEta": "1.", @@ -147,6 +147,20 @@ } ], "blocking": "false" + }, + { + "id": "tpc-tracks", + "active": "true", + "machines": [], + "query" : "inputTracks:TPC/TRACKS/0", + "samplingConditions": [ + { + "condition": "random", + "fraction": "0.01", + "seed": "1234" + } + ], + "blocking": "false" } ] }